How can I make matlab identify a specific feature in an image?
1 view (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!