Problem with roipoly cursor size

2 vues (au cours des 30 derniers jours)
Chuan Zhang
Chuan Zhang le 12 Avr 2020
Commenté : Image Analyst le 12 Avr 2020
Hi,
I am using roipoly to do image segmentation.
The cursor size automatically generated by roipoly is a little too big.
I was wondering if there is anyway to shrink the size of the cursor when selecting ROI? I am doing medical image segmentation so may need a little bit more precision.
Thanks.

Réponses (1)

Image Analyst
Image Analyst le 12 Avr 2020
See if you can edit roipoly.m and save it out as a new function. First:
>> edit roipoly.m
Then do your changes to change the cursor size. Then do a "Save Copy As..." and call it roipolySmallCursor.m or whatever you want, then in your code call roipolySmallCursor() instead of roipoly().
  2 commentaires
Chuan Zhang
Chuan Zhang le 12 Avr 2020
Hi Sir,
Thank you. I did this step, however I am not sure which part I can change to change cursor size....can u help me with that?
Thanks.
Image Analyst
Image Analyst le 12 Avr 2020
I don't know exactly. You have to keep drilling down by typing control-D over the functions, like through createWaitModePolygon(), then into roiPolygon, etc. until you find some function that deals with the cursor size.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by