DFT 带阻滤波器
This commit is contained in:
@@ -113,6 +113,13 @@ func (r *Registrator) SetSceneBoundary(scene *Scene) (topLeft, bottomRight orb.P
|
||||
xResolution := W0 / float64(scene.Width)
|
||||
yResolution := H0 / float64(scene.Height)
|
||||
scene.Meta.Gsd = math.Min(xResolution, yResolution)
|
||||
|
||||
// FIXME: 临时设置分辨率
|
||||
if scene.Meta.Gsd < 2 {
|
||||
scene.Meta.Gsd = 1.3
|
||||
} else {
|
||||
scene.Meta.Gsd = 5.2
|
||||
}
|
||||
log.Debug("resolution x: ", xResolution)
|
||||
log.Debug("resolution y: ", yResolution)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user