ecc align testing

This commit is contained in:
nuknal
2024-10-30 17:56:17 +08:00
parent 0e920ce9f0
commit e51d07901d
4 changed files with 66 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ type Block struct {
coord image.Point // top-left corner of the block in the original image
}
func (r *ImgProc) calculateBlockPhaseShift(panBlock, mssBlock gocv.Mat) (gocv.Point2f, float64) {
func CV_PhaseCorrelate(panBlock, mssBlock gocv.Mat) (gocv.Point2f, float64) {
pan := gocv.NewMat()
mss := gocv.NewMat()