How can I make matlab identify a specific feature in an image?

1 view (last 30 days)
I have two images I want matlab to process them; first one: a white sheet with few black dots (like domino cards), I want Matlab to detect these dots and count them.
Second image: an interferogram with gray vertical fringes on a black background, I want it to count the number of fringes.
  1 Comment
Walter Roberson
Walter Roberson on 10 Sep 2019
For the first one: threshold the image. imcomplement so that the dots become true and the white background becomes false . Then bwconncomp() or bwlabel() or regionprops() and look at how many regions were returned.

Sign in to comment.

Answers (0)

Products


Release

R2014a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!