The Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: topological filter
Replies: 5   Last Post: Jan 20, 2010 6:06 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
ImageAnalyst

Posts: 13,022
Registered: 12/26/06
Re: topological filter
Posted: Jan 5, 2010 8:18 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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 2-D 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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.