Ask Your Question

Shape alignement and differences computation

asked 2017-07-12 07:08:56 -0500

Kailegh gravatar image

Hi! I intend to scan certain shapes, beam kind, and try to align them to a "ground truth" shape. One this is done I want to compute some differences, for example, compute the verticality of the B line compared to the original and measure the area difference in part A.

image description

To sum up and put things in order:

1.- I should align the scanned shape to the original

2.- Compute the "angle deviation" between the B line scanned and the original. I know it is not really a straight line but I think it can be approximated to one.

3.- The head part A, due to the wear has lost its shape and therefore lost part of the area, I should project it over the original shape and compute the area difference. This is the point that I really do not know how to face.

Do you have any ideas about how to approach this problem? I am not asking you to provide the code, just guide me in what things I can try to solve this

Thanks a lot for your help!!!!

edit retag flag offensive close merge delete


Are you operating on 2d or 3d data?

KjMag gravatar imageKjMag ( 2017-07-12 08:26:02 -0500 )edit

with 2D images, the ones above are a possible example of what I would get. The possibility of working with 3D pointclouds is open, but for now I want to keep it in 2D

Kailegh gravatar imageKailegh ( 2017-07-13 02:28:15 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-13 02:41:36 -0500

KjMag gravatar image

updated 2017-07-13 02:42:00 -0500

The ICP algorithm might be of use to you:

Try fitting your scanning results to the template.

There is also a 3D version of this algorithm.

edit flag offensive delete link more


I have worked with the 3D version a lot, I did not know it also had a 2D version, I will give it a try Regarding points 2 and 3, especially point 3, do you have any idea? thanks a lot!

Kailegh gravatar imageKailegh ( 2017-07-13 04:48:16 -0500 )edit

You can also use it for point 1 - just align it with respect to the ideal shape, such as the one you show on the left.

KjMag gravatar imageKjMag ( 2017-07-13 11:12:36 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-07-12 07:08:56 -0500

Seen: 59 times

Last updated: Jul 13 '17