# 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!!!!

Are you operating on 2d or 3d data?

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