Ask Your Question

How to get FeretDiameter?

asked 2013-05-25 10:28:37 -0600

wuling gravatar image

Hi all, is there any easy way using opencv to get Fere Xfmax & Fere Xfmin? where Fere Xfmax & Fere Xfmin you can ref:

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-05-26 09:19:11 -0600

Adi gravatar image

updated 2013-05-26 09:24:02 -0600

Seems like you can find them by looking at the convex hull of your shape and making your evaluations only on the hull points.
If you want axis aligned "calipers" you may use cv::boundingRect().
If you want the smallest bounding rect, minAreaRect() might be helpful.

edit flag offensive delete link more


Thanks your help

wuling gravatar imagewuling ( 2013-05-27 09:54:32 -0600 )edit

Question Tools


Asked: 2013-05-25 10:28:37 -0600

Seen: 600 times

Last updated: May 26 '13