Optimization

This commit is contained in:
nuknal
2024-07-12 15:59:21 +08:00
parent b8ac9cf4d4
commit 783b83b30d
8 changed files with 34 additions and 24 deletions

View File

@@ -14,6 +14,7 @@ import (
"gonum.org/v1/gonum/interp"
"gonum.org/v1/gonum/spatial/r3"
"starwiz.cn/sjy01/image-proc/pkg/auxilary"
"starwiz.cn/sjy01/image-proc/pkg/payload"
)
type Registrate interface{}
@@ -21,8 +22,8 @@ type Registrate interface{}
const (
MssBands = 4
PixelBytes = 2
PanWidth = 9344 // 像素宽度
MssWidth = 2336
PanWidth = payload.PAN_PIXEL_WIDTH // 像素宽度
MssWidth = payload.MSS_PIXEL_WIDTH
BlockNH = 4
BlockNW = 8
OverlappedBlockLines = 3000 // 重叠块的行数