image - compare two triangles that vary in size and rotation -


i developing application in system accept 2 images of triangles. both tringle similiar rotated. want prove images same. what's logic in matlab?

try using corner detector 3 verticies of triangle. here can find length of 3 sides

(this random internet image, not matlab result) enter image description here

if have coordinates of a,b,c can find lengths ab bc ca. using trig can find angles @ verticies. compare these properties between 2 triangles. have try combinations, example ab of triangle 1 might match ab,bc,or ca of triangle two.

if want find similar triangles (angles only) ignore length , use angles found only. if want exact matches use length , angles.

using properties of triangles seems easier other image processing method can think of. luck


Comments