Problem with roipoly cursor size

조회 수: 8 (최근 30일)
Chuan Zhang
Chuan Zhang 2020년 4월 12일
댓글: Image Analyst 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