MantisBT - VTK
View Issue Details
0010018VTK(No Category)public2009-12-09 09:542016-08-12 09:55
Juha-Ville Juntunen 
Kitware Robot 
normalmajoralways
closedmoved 
 
 
0010018: vtkProcrustesAlignmentFilter fails to align shapes in similarity mode
The attached program demonstrates a problem where the vtkProcrustesAlignmentFilter fails to align shapes correctly (the scaling and
translation works but rotation fails) when using the similarity transformation mode. The problem can seen when running the attached program without passing any arguments.

The problematic shapes are triangles where one end is "cut", i.e. the end vertex replaced by two vertices on the sides close to the end.

The program also demonstrates how the problem disappears if the shapes are ordinary triangles (run the program with argument 't')

The problem seems to also disappear if the triangle vertex arrays are re-ordered so that the "cut end" is at the same array indexes for all shapes.
This can be seen when the program is run by passing any argument != 't'.

br.
Juha-Ville Juntunen
- VTK-5.4.2
- gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5)
- Linux 2.6.29-gentoo-r5 #1 SMP i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
No tags attached.
gz procrustesProblem.tar.gz (2,271) 2009-12-09 09:54
https://www.vtk.org/Bug/file/7710/procrustesProblem.tar.gz
Issue History
2009-12-09 09:54Juha-Ville JuntunenNew Issue
2009-12-09 09:54Juha-Ville JuntunenFile Added: procrustesProblem.tar.gz
2009-12-09 11:55Juha-Ville JuntunenNote Added: 0018741
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037126
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0018741)
Juha-Ville Juntunen   
2009-12-09 11:55   
Just found out the Procrustes requires one-to-one landmark correspondence in shapes, therefore the behaviour demonstrated by the program seems to be correct.

Please remove this problem as no-problem.
(0037126)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.