First time here? Check out the FAQ!

Ask Your Question
0

How to get FeretDiameter?

asked May 25 '13

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: http://www.sympatec.com/EN/Science/Characterisation/05_ParticleShape.html

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered May 26 '13

Adi gravatar image

updated May 26 '13

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.

Preview: (hide)

Comments

Thanks your help

wuling gravatar imagewuling (May 27 '13)edit

Question Tools

Stats

Asked: May 25 '13

Seen: 820 times

Last updated: May 26 '13