I have an image of an eye. I wanted to detect and crop the conjunctival region. How should I go about this?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen

0 Kommentare
Antworten (1)
Image Analyst
am 27 Aug. 2016
Try imfreehand(). Demo attached.
2 Kommentare
Image Analyst
am 28 Aug. 2016
The first is just a warning that says it's shrinking your image to fit it onto the screen. You can ignore that warning.
The second one is where it tried to do regionprops to compute the area or something. It was expecting to have a gray scale image and you probably passed it the full color image. You can either do that on the 3 color channels one at a time, or you can somehow create a gray scale image, or simply just don't use regionprops. I'm not really sure what you want after you hand-draw the region. Do you want a smaller image where it has just the bounding box of the small region you traced? Or do you want to mask out (blacken) the area of your image outside the region you traced?
Siehe auch
Kategorien
Mehr zu Eye Tracking finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!