w*****r 发帖数: 165 | 1 【 以下文字转载自 Graphics 讨论区 】
发信人: webuser (webuser), 信区: Graphics
标 题: 请教如何计算椭圆的对称轴
发信站: BBS 未名空间站 (Thu Mar 22 14:46:38 2007)
现有一类似椭圆状物体,已算出了质心,请问如何算出此物体过这一质心的长轴和短轴.
不知用何computational geometry 算法可以计算对称轴.谢谢. | e***e 发帖数: 3872 | 2 实物?可能得放到水里去看怎么浮起来了,沿水平面画线,翻一下再画,
交点连线是长轴。
要是浮不起来就难了。
【在 w*****r 的大作中提到】 : 【 以下文字转载自 Graphics 讨论区 】 : 发信人: webuser (webuser), 信区: Graphics : 标 题: 请教如何计算椭圆的对称轴 : 发信站: BBS 未名空间站 (Thu Mar 22 14:46:38 2007) : 现有一类似椭圆状物体,已算出了质心,请问如何算出此物体过这一质心的长轴和短轴. : 不知用何computational geometry 算法可以计算对称轴.谢谢.
| S******g 发帖数: 365 | 3 这个方法好
【在 e***e 的大作中提到】 : 实物?可能得放到水里去看怎么浮起来了,沿水平面画线,翻一下再画, : 交点连线是长轴。 : 要是浮不起来就难了。
| w*****r 发帖数: 165 | 4 Thanks for the answer. I appreciate your input. Unfortunately, this is an
image, not an 实物. The shape was detected after edge detection and
interpolation. Somebody metioned an algorithm using covariance matrix and
eigenvalues of an inertia matrix. I don't know much about this, but it looks
like a good approach. I wonder if somebody here could provide a little more
information. Thanks.
7
【在 e***e 的大作中提到】 : 实物?可能得放到水里去看怎么浮起来了,沿水平面画线,翻一下再画, : 交点连线是长轴。 : 要是浮不起来就难了。
|
|