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

@@ -10,6 +10,7 @@ import (
log "github.com/sirupsen/logrus"
"gocv.io/x/gocv"
"starwiz.cn/sjy01/image-proc/pkg/payload"
"starwiz.cn/sjy01/image-proc/pkg/utils"
)
@@ -17,9 +18,9 @@ import (
// 采用在轨统计定标方法。利用卫星在轨后获取的常规影像数据,统计每个探元出现的灰度频次。
const (
PANCameraProbeNum = 9344 // 全色探元数
MSSCameraProbeNum = 2336 // 多光谱探元数
MaxGrayLevel = 65536 // 16bit像素值
PANCameraProbeNum = payload.PAN_PIXEL_WIDTH // 全色探元数
MSSCameraProbeNum = payload.MSS_PIXEL_WIDTH // 多光谱探元数
MaxGrayLevel = 65536 // 16bit像素值
)
type RRC struct {