LLIPS  rev33
Light Library for Image ProcesS
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
llips_contrastdetect.c File Reference

About contrast and edge detection on image. More...

#include "llips_includes.h"

Go to the source code of this file.

Functions

CPU_CHAR search_contrast (CPU_CHAR tolerance, t_img *img_in1, t_img *img_out, CPU_INT32U RGB, CPU_INT32U color, CPU_CHAR direction)
 Search constrast between two adjacent pixel. More...
 

Detailed Description

About contrast and edge detection on image.

Author
MPE

Definition in file llips_contrastdetect.c.

Function Documentation

CPU_CHAR search_contrast ( CPU_CHAR  tolerance,
t_img img_in1,
t_img img_out,
CPU_INT32U  RGB,
CPU_INT32U  color,
CPU_CHAR  direction 
)

Search constrast between two adjacent pixel.

Parameters
toleranceCPU_CHAR - tolerance in % between two pixel
img_in1t_img* - input image
img_outt_img* - output image
RGBCPU_INT32U - replacement color for detected pixel
colorCPU_INT32U - range of color to work on
directionCPU_CHAR - HOR,VER or DIAG to indicate direction of detection
Returns
CPU_CHAR - status of search

Search constrast between two adjacent pixel on a given direction, according to a color

Definition at line 34 of file llips_contrastdetect.c.