Skip to main content
added 145 characters in body
Source Link
FelixIP
  • 23.3k
  • 3
  • 31
  • 62

I've tried to use affine transformation to match shapes and used, area of symmetric difference between target and match shapes (D) to calculate

P = 1 - D/AreaOfShapeToMatch:

enter image description here

Result looks like this:

enter image description here

To find transformation coefficients using least squares technique shouldn't be a challenge if you know how to match points.

You cannot use this technique to compare triangles, because any 2 will match. The same with rectangular shapes. Rectangle will match square.

I've tried to use affine transformation to match shapes and used, area of symmetric difference between target and match shapes (D) to calculate

P = 1 - D/AreaOfShapeToMatch:

enter image description here

Result looks like this:

enter image description here

To find transformation coefficients using least squares technique shouldn't be a challenge if you know how to match points.

I've tried to use affine transformation to match shapes and used, area of symmetric difference between target and match shapes (D) to calculate

P = 1 - D/AreaOfShapeToMatch:

enter image description here

Result looks like this:

enter image description here

To find transformation coefficients using least squares technique shouldn't be a challenge if you know how to match points.

You cannot use this technique to compare triangles, because any 2 will match. The same with rectangular shapes. Rectangle will match square.

Source Link
FelixIP
  • 23.3k
  • 3
  • 31
  • 62

I've tried to use affine transformation to match shapes and used, area of symmetric difference between target and match shapes (D) to calculate

P = 1 - D/AreaOfShapeToMatch:

enter image description here

Result looks like this:

enter image description here

To find transformation coefficients using least squares technique shouldn't be a challenge if you know how to match points.