拟合GPS位置
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"image"
|
||||
"math"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
"gocv.io/x/gocv"
|
||||
"starwiz.cn/sjy01/image-proc/pkg/config"
|
||||
)
|
||||
@@ -12,7 +11,6 @@ import (
|
||||
// filter high frequence noise
|
||||
func HFNoiseFilter(img gocv.Mat, radius float64) gocv.Mat {
|
||||
minGrayVal, maxGrayVal, _, _ := gocv.MinMaxLoc(img)
|
||||
log.Println("minGrayVal:", minGrayVal, "maxGrayVal:", maxGrayVal)
|
||||
|
||||
// 将图像转换为32位浮点型
|
||||
img32f := gocv.NewMat()
|
||||
|
||||
Reference in New Issue
Block a user