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 19, 2010 11:22 AM


Hi,
thanks for your help, that really helps a lot.
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <c2d7c1c31b1a435abe0f22ae62032d09@u41g2000yqe.googlegroups.com>... > 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.



