in the code below can we make freehand drawing of the line instead of straight line?

1 view (last 30 days)
if true figure, imshow(I); h = imdistline(gca); api = iptgetapi(h); width = api.getDistance(); end

Accepted Answer

Image Analyst
Image Analyst on 17 Jun 2015
See my attached demos of imfreehand().

More Answers (0)

Community Treasure Hunt

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

Start Hunting!