Main Page | Alphabetical List | Class List | File List | Class Members | File Members

y:/PUC/Realidade Virtual/trabalhos/raclib/src/racfilter.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define BYTE   unsigned char

Functions

void racMean (int width, int height, int range, BYTE *imgSrc, BYTE *imgDest, int numCh=3)
 Mean filter.

void racMedian (int width, int height, int range, BYTE *imgSrc, BYTE *imgDest, int numCh=3)
 Median filter.

void racConservative (int width, int height, int range, BYTE *imgSrc, BYTE *imgDest, int numCh=3)
 Conservative filter.

void racGaussian (int width, int height, int nPasses, BYTE *imgSrc, BYTE *imgDest, int numCh=3)
 Gaussian filter with 1d matrix.

void racLoG (int width, int height, int threshold, BYTE *imgSrc, BYTE *imgDest, int numCh=3)
 Laplacian of Gaussian filter (LoG).

void racSobel (int width, int height, int threshold, BYTE *imgSrc, BYTE *imgDest, int numCh=3)
 Sobel filter.

void racThreshold (int width, int height, int k, BYTE *imgSrc, BYTE *imgDest, int numCh=3)
 Threshold filter.

void racThreshold (int width, int height, int k, int *imgSrc, BYTE *imgDest, int numCh=3)
void racNorm (int width, int height, BYTE *imgSrc, BYTE *imgDest, int numCh=3, BYTE min=0, BYTE max=255)
 Normalize an image.

void racNorm (int width, int height, int *imgSrc, BYTE *imgDest, int numCh=3, BYTE min=0, BYTE max=255)
void racNorm (int width, int height, float *imgSrc, BYTE *imgDest, int numCh=3, BYTE min=0, BYTE max=255)
void racInvert (int width, int height, BYTE *imgSrc, BYTE *imgDest, int numCh=3)
 Invert an image.

void racDifference (int width, int height, BYTE *imgSrc1, BYTE *imgSrc2, BYTE *imgDest, int numCh=3)
 Difference between 2 images (imgSrc1 - imgSrc2).


Define Documentation

#define BYTE   unsigned char
 

Definition at line 5 of file racfilter.h.


Function Documentation

void racConservative int  width,
int  height,
int  range,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

Conservative filter.

Parameters:
width image width
height image height
range range of pixels neighbours
imgSrc source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB

void racDifference int  width,
int  height,
BYTE *  imgSrc1,
BYTE *  imgSrc2,
BYTE *  imgDest,
int  numCh = 3
 

Difference between 2 images (imgSrc1 - imgSrc2).

Parameters:
width image width
height image height
imgSrc1 first source image
imgSrc2 second source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB
numCh 

void racGaussian int  width,
int  height,
int  nPasses,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

Gaussian filter with 1d matrix.

Parameters:
width image width
height image height
nPasses number of times to apply gaussian filter
imgSrc source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB

void racInvert int  width,
int  height,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

Invert an image.

Parameters:
width image width
height image height
imgSrc source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB

void racLoG int  width,
int  height,
int  threshold,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

Laplacian of Gaussian filter (LoG).

Parameters:
width image width
height image height
threshold threshold value
imgSrc source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB

void racMean int  width,
int  height,
int  range,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

Mean filter.

Parameters:
width image width
height image height
range range of pixels neighbours
imgSrc source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB

void racMedian int  width,
int  height,
int  range,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

Median filter.

Parameters:
width image width
height image height
range range of pixels neighbours
imgSrc source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB

void racNorm int  width,
int  height,
float *  imgSrc,
BYTE *  imgDest,
int  numCh = 3,
BYTE  min = 0,
BYTE  max = 255
 

void racNorm int  width,
int  height,
int *  imgSrc,
BYTE *  imgDest,
int  numCh = 3,
BYTE  min = 0,
BYTE  max = 255
 

void racNorm int  width,
int  height,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3,
BYTE  min = 0,
BYTE  max = 255
 

Normalize an image.

Parameters:
width image width
height image height
imgSrc source image
imgDest result image
min valor normalization minimum
max valor normalization maximum
numCh image bands number, 1 for luminance, 3 for RGB

void racSobel int  width,
int  height,
int  threshold,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

Sobel filter.

Parameters:
width image width
height image height
threshold threshold value
imgSrc source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB

void racThreshold int  width,
int  height,
int  k,
int *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

void racThreshold int  width,
int  height,
int  k,
BYTE *  imgSrc,
BYTE *  imgDest,
int  numCh = 3
 

Threshold filter.

Values over the threashold become 255, others become 0.

Parameters:
width image width
height image height
imgSrc source image
imgDest result image
numCh image bands number, 1 for luminance, 3 for RGB


Generated on Fri Dec 12 10:47:29 2003 for RacLib by doxygen 1.3.4