Can I measure distance with imdistline in an image shown in an UIAxes?

1 次查看(过去 30 天)
Hello,
When an image is shown in a Figure, imdistline is called with a handle to the CurrentAxes (gca).
figure;
ax = gca;
imshow(image_name,'Parent',ax,'InitialMagnification','fit')
imdistline(ax)
But I would like to measure a distance in an image, shown in a UIFigure (UIAxses). Is it possible with imdistline?

回答(0 个)

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by