Monday, May 3, 2010

Canny Edge Detection

This process is the Digital image processing in OpenCV libary to find an edge image by using Canny algorithm.

using function.

void cvCanny( const CvArr* image, CvArr* edges, double threshold1,
double threshold2, int aperture_size=3 );

Example for use OpenCV libary.

IplImage *pCanny=cvCreateImage(cvGetSize(pimage),IPL_DEPTH_8U,1);
cvCanny (pGray,pCanny, 200,250, 3 );
cvNamedWindow("Canny",CV_WINDOW_AUTOSIZE);
cvShowImage("Canny", pCanny);

result.


digital image process

0 comments:

Post a Comment

 
Copyright 2009 About of Image Processing