Inheritance diagram for canny_Filter:
This filter uses the canny method to detect the edges of an image.
The process includes the following steps:
An edge from this filter is a 0 value and a non-edge is 255.
The Gaussian mask can be turned on or off using canny_Filter::enableGaussian() or canny_Filter::disableGaussian().
The Sobel approximation can also be turned off, but this turns of the canny computation as well. Toggling the Sobel/Canny code is done with canny_Filter::enableSobelApprox() and canny_Filter::disableSobelApprox().
Supports the following formats:
The canny_Filter is a custom filter for Phission that outputs thicker lines than the OpenCV canny filter does.
Gaussian Ref: http://www.cee.hw.ac.uk/hipr/html/gsmooth.html
Sobel Ref: www.cee.hw.ac.uk/hipr/html/sobel.html
Make timing part of the phFilter class ???
verify all the algorithms in the canny_Filter
Output thin lines? or ar ethe thick ones good ?
When > 8bit channels are supported, make sure that the edge/non-edge values are appropriate minimum/maximum values
add example application code that shows how the processed images were output
Definition at line 93 of file canny_Filter.h.
Public Member Functions
|canny_Filter (uint32_t lowThreshold=40, uint32_t highThreshold=120)|
|int||set (uint32_t lowThreshold=40, uint32_t highThreshold=120)|
|void||enableGaussian (int enable=1)|
|void||disableGaussian (int disable=1)|
|void||enableSobelApprox (int enable=1)|
|void||disableSobelApprox (int disable=1)|
|phFilter *||cloneFilter ()|
Protected Member Functions
|Copyright (C) 2002 - 2007||
Philip D.S. Thoren ( email@example.com )
University Of Massachusetts at Lowell