Problem with roipoly cursor size

8 次查看(过去 30 天)
Chuan Zhang
Chuan Zhang 2020-4-12
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.

回答(1 个)

Image Analyst
Image Analyst 2020-4-12
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 个评论
Chuan Zhang
Chuan Zhang 2020-4-12
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 2020-4-12
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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by