Shape alignement and differences computation

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.

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 close merge delete

Are you operating on 2d or 3d data?

( 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

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

Sort by ยป oldest newest most voted

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.

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!

( 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.

( 2017-07-13 11:12:36 -0500 )edit