Ho to find the area of some patterns in an image

4 views (last 30 days)
We would like to find the area covered by the patterns in the attached images "pattern.fig", this image was generated by applying the edge function with the 'Robert' method on the original image in "imgMat.mat". Any ideas?

Answers (1)

Image Analyst
Image Analyst on 16 Jan 2024
Make it easy for us to help you : attach your image or screenshot as a standard PNG format image so that we can see it right here in the browser without the multistep process of saving your files then switching to MATLAB and writing a script to read the data in and display it.
It's a generic, general purpose demo of how to threshold an image to find blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!