How to do masking automatically for irregular shape?
Afficher commentaires plus anciens
I have images like rice, fish and spinach. I've attached some images. I'm planning to do masking to the images automatically but I only know how to do masking using imfreehand as they got irregular shapes. I want to use masking because i want to get the ROI only. Background will be removed and set to black colour.
For example, i want to do masking to the rice image, and my ROI is the white part of the rice only. Can someone help how to make the images masked automatically?
Thank you.
1 commentaire
KALYAN ACHARJYA
le 21 Oct 2019
Yes, do apply color thresholding or appropriate segmentation methods, it can be done
Réponses (0)
Catégories
En savoir plus sur Region and Image Properties dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!