47#define INTMAXNORMMIN ((intg32) 0)
48#define INTMAXNORMMAX ((intg32) 32768)
120 const intg32 rangeThresh);
123 const intg32 rangeThresh);
126 const intg32 rangeThresh);
void env_lowpass_9_x(const struct env_image *src, const struct env_math *imath, struct env_image *result)
void env_dec_x(const struct env_image *src, struct env_image *result)
Decimate in X (take one every 'factor' pixels).
void env_pyr_build_lowpass_5_cpu(const struct env_image *image, env_size_t firstlevel, const struct env_math *imath, struct env_pyr *result)
_cpu version implemented here, see CUDA/env_cuda.h for GPU version
void env_get_rgby(const struct env_rgb_pixel *const src, const env_size_t sz, struct env_image *rg, struct env_image *by, const intg32 thresh, const env_size_t inputbits)
Compute R-G and B-Y opponent color maps.
void env_shift_clean(const struct env_image *srcImg, const env_ssize_t dx, const env_ssize_t dy, struct env_image *result)
Shift an image by (dx, dy), without wraparound.
void env_lowpass_9_y(const struct env_image *src, const struct env_math *imath, struct env_image *result)
void env_rescale(const struct env_image *src, struct env_image *result)
void env_rescale_range_inplace(struct env_image *src, const intg32 mi, const intg32 ma)
rescale the src image to a [0..255] result
void env_merge_range(const struct env_image *src, intg32 *mi, intg32 *ma)
Update the range [mi,ma] to include the range of values in src.
void env_max_normalize_none_inplace(struct env_image *src, intg32 min, intg32 max, const intg32 rangeThresh)
void env_pyr_build_steerable_from_hipass_9(const struct env_pyr *hipass, const intg32 kxnumer, const intg32 kynumer, const env_size_t kdenombits, const struct env_math *imath, struct env_pyr *result)
void env_grid_average(const struct env_image *src, unsigned char *dest, unsigned int bitshift, env_size_t nx, env_size_t ny)
Compute average values in each tile of a grid.
void env_attenuate_borders_inplace(struct env_image *a, env_size_t size)
void env_lowpass_5_y_dec_y(const struct env_image *src, const struct env_math *imath, struct env_image *result)
void env_lowpass_9(const struct env_image *src, const struct env_math *imath, struct env_image *result)
void env_pyr_build_hipass_9(const struct env_image *image, env_size_t firstlevel, const struct env_math *imath, struct env_pyr *result)
void env_steerable_filter(const struct env_image *src, const intg32 kxnumer, const intg32 kynumer, const env_size_t kdenombits, const struct env_math *imath, struct env_image *result)
void env_lowpass_5_x_dec_x(const struct env_image *src, const struct env_math *imath, struct env_image *result)
void env_quad_energy(const struct env_image *img1, const struct env_image *img2, struct env_image *result)
void env_center_surround(const struct env_image *center, const struct env_image *surround, const int absol, struct env_image *result)
void env_downsize_9_inplace(struct env_image *src, const env_size_t depth, const struct env_math *imath)
void env_pyr_build_lowpass_5(const struct env_image *image, env_size_t firstlevel, const struct env_math *imath, struct env_pyr *result)
Wrapper for _cpu or _cuda version.
void env_max_normalize_std_inplace(struct env_image *src, intg32 min, intg32 max, const intg32 rangeThresh)
void env_max_normalize_inplace(struct env_image *src, intg32 min, intg32 max, enum env_maxnorm_type typ, const intg32 rangeThresh)
void env_dec_xy(const struct env_image *src, struct env_image *result)
Decimate in X and Y (take one every 'factor' pixels).
void env_dec_y(const struct env_image *src, struct env_image *result)
Decimate in Y (take one every 'factor' pixels).
void env_shift_image(const struct env_image *srcImg, const env_ssize_t dxnumer, const env_ssize_t dynumer, const env_size_t denombits, struct env_image *result)
ENV_INTG32_TYPE intg32
32-bit signed integer
env_maxnorm_type
Types of normalization.
This class implements a set of images, often used as a dyadic pyramid.