Main Page | Class Hierarchy | Class List | File List | Class Members

LIBCP::Edges Class Reference

edge detection functions More...

#include <edges.h>

List of all members.

Static Public Member Functions

int laplacianOfGaussian (Image *dst, Image *src)
int onePixelEdge (Image *dst, Image *src, int window)
int morphologicalEdge (Image *dst, Image *src)
int lineExtract (Image *dst, Image *src)
int cannyEdge (Image *dst, Image *src, const int sigma)
int hysteresisThreshold (Image *dst, Image *src)
int localThreshold (Image *dst, Image *src)
int houghTransformLines (Image *dst, Image *src)
int houghTransformLinesFromGradient (Image *dst, Image *src, Image *gradient)
int inverseHoughTransformLines (Image *dst, Image *src)
int houghTransformCircles (Image *dst, Image *src, const int radius)
int houghTransformCircles (Image *dst_image, Image *dst_accu, Image *src, const int minRadius, const int maxRadius, const int xOffset, const int yOffset, int &originX, int &originY, double &radius)
int inverseHoughTransformCircles (Image *dst, Image *src, const int threshold, const int radius)


Detailed Description

edge detection functions


Member Function Documentation

int LIBCP::Edges::cannyEdge Image dst,
Image src,
const int  sigma
[static]
 

The Canny edge detector delivers the magitude and the gradient of the edge image. Thresholding has to be done by an appropriate operator. The deviation value sigma is used for both, smoothing and derivation

Parameters:
dst destination image of type BaseImage::GRAY
src source image of type BaseImage::GRAY
sigma deviation value

int LIBCP::Edges::houghTransformCircles Image dst_image,
Image dst_accu,
Image src,
const int  minRadius,
const int  maxRadius,
const int  xOffset,
const int  yOffset,
int &  originX,
int &  originY,
double &  rad
[static]
 

Hough Transform for circular lines
The Hough transform searches the best fitting accumulator for circles in the range of a given minimum and maximus radius.

Parameters:
dst_image destination image of type BaseImage::GRAY
dst_accu hough accumulator accu image of type BaseImage::GRAY
src source image source image of type BaseImage::BINARY;
minRadius minimal radius
maxRadius maximal radius
xOffset x offset for the destination accu
yOffset y offset for the destination accu
originX x origin of the resulting circle
originY y origin of the resulting circle
rad radius of the resulting circle

TODO: remove this if clause

int LIBCP::Edges::houghTransformCircles Image dst,
Image src,
const int  radius
[static]
 

Hough transform for circular lines

Parameters:
dst destination image of type BaseImage::GRAY
src source image of type BaseImage::GRAY
radius hough circle radius

int LIBCP::Edges::inverseHoughTransformCircles Image dst,
Image src,
const int  threshold,
const int  radius
[static]
 

Inverse hough transform for circular lines

Parameters:
dst destination image of type BaseImage::BINARY
src source image of type BaseImage::GRAY
threshold 
radius 

int LIBCP::Edges::onePixelEdge Image dst,
Image src,
int  window
[static]
 

Local one pixel edge operator

Parameters:
dst destination image of type BaseImage::GRAY
src source image of type BaseImage::GRAY
window size of the local window area


The documentation for this class was generated from the following files:
Generated on Wed May 26 16:43:53 2004 for libcp by doxygen 1.3.7