Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: topological filter
Posted:
Jan 5, 2010 8:18 AM


Joseph : Yes. You can look at the Euler Number of the object. This is returned from regionprops() in the image processing toolbox. Basically the process is this (for almost all image processing applications: 1. threshold image to binarize it 2. connected components labeling, using bwlabel() or bwconncomp() 3. regionprops(), to make the measurements
Here is the definition of Euler Number: 'EulerNumber' ? Scalar that specifies the number of objects in the region minus the number of holes in those objects. This property is supported only for 2D input label matrices. regionprops uses 8 connectivity to compute the EulerNumber measurement.
My demo at http://www.mathworks.com/matlabcentral/fileexchange/25157 will help you to do the measurement.



