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

4 views (last 30 days)
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?

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!