default channel order of OpenCV is BGR
This commit is contained in:
@@ -201,7 +201,7 @@ func (r *Registrator) calcPhaseCorrelation(panImage gocv.Mat,
|
||||
y1 += OverlappedBlockLines // Y偏移量过大,需要将重叠块的行数加上,以避免边界影响
|
||||
|
||||
if x1 > width || y1 > height {
|
||||
log.Warnf("Block out of range. x0=%d, y0=%d, x1=%d, y1=%d", x0, y0, x1, y1)
|
||||
log.Debugf("Block out of range. x0=%d, y0=%d, x1=%d, y1=%d", x0, y0, x1, y1)
|
||||
}
|
||||
|
||||
if y1 > height {
|
||||
|
||||
Reference in New Issue
Block a user