I match the two binary imgs as follow, the feature points matched by COTR is red in img1 and green in img2, then i get the homography matrix from img1 to img2.
The contour and feature points of img1 is projected as the red mask and points , the green points is the source feature points in img2, they don't seem to match well from results, COTR doesn't extract the feature points on the boundary of contours.
I match the two binary imgs as follow, the feature points matched by COTR is red in img1 and green in img2, then i get the homography matrix from img1 to img2.
The contour and feature points of img1 is projected as the red mask and points , the green points is the source feature points in img2, they don't seem to match well from results, COTR doesn't extract the feature points on the boundary of contours.