Crop a specific area for the sem image
Ältere Kommentare anzeigen
I have many images containing SEMs and annotations. I want to crop out just the SEM content, the black square regions, using Matlab. This requires Matlab to locate the black borders of the SEMs and record those coordinates, then use imcrop to crop the specific areas. I don't want the white content within the SEMs to affect the determination.
thanks!

2 Kommentare
KSSV
am 27 Okt. 2023
Why don't you show us what areas you want from the image. You may highlite the regions using paint.
luo jingcheng
am 27 Okt. 2023
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 27 Okt. 2023
0 Stimmen
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. Note how each of the coins in the demo image is cropped out to its own image. Just replace the image with yours. And you can use bwareafilt to get rid of small blobs, like the letters or other annotations in the image.

Kategorien
Mehr zu Image Data Acquisition finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
