Go to the documentation of this file.
24 #ifndef AVFILTER_EDGE_COMMON_H
25 #define AVFILTER_EDGE_COMMON_H
52 uint16_t *dst,
int dst_linesize,
53 int8_t *dir,
int dir_linesize,
54 const uint8_t *
src,
int src_linesize);
71 uint8_t *dst,
int dst_linesize,
72 const int8_t *dir,
int dir_linesize,
73 const uint16_t *
src,
int src_linesize);
89 uint8_t *dst,
int dst_linesize,
90 const uint8_t *
src,
int src_linesize);
104 uint8_t *dst,
int dst_linesize,
105 const uint8_t *
src,
int src_linesize);
AVRoundedDirection
Rounded directions used in av_image_sobel()
void ff_double_threshold(int low, int high, int w, int h, uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize)
Filters all pixels in src to keep all pixels > high, and keep all pixels > low where all surrounding ...
void ff_gaussian_blur(int w, int h, uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize)
Applies gaussian blur.
void ff_non_maximum_suppression(int w, int h, uint8_t *dst, int dst_linesize, const int8_t *dir, int dir_linesize, const uint16_t *src, int src_linesize)
Filters rounded gradients to drop all non-maxima pixels in the magnitude image Expects gradients gene...
void ff_sobel(int w, int h, uint16_t *dst, int dst_linesize, int8_t *dir, int dir_linesize, const uint8_t *src, int src_linesize)
Simple sobel operator to get rounded gradients.