积分级数

This commit is contained in:
nuknal
2024-09-29 14:15:01 +08:00
parent ae23831a7f
commit 5fd9b06dca
3 changed files with 8 additions and 1 deletions

View File

@@ -134,6 +134,13 @@ func (r *Registrator) ComputeMetaAndRPC(scene *Scene) (topLeft, bottomRight orb.
scene.Meta.Pitch = aux0.Eular2 * 180 / math.Pi
scene.Meta.Roll = aux0.Eular1 * 180 / math.Pi
ebox0 := r.auxBoxes[r.sceneOffsetInAuxIndex(scene, 0)]
if scene.Type == "PAN" {
scene.Meta.IntegratedLevel = int(ebox0.PIntegrationLevel)
} else {
scene.Meta.IntegratedLevel = int(ebox0.B1IntegrationLevel)
}
_, centerT, _ := r.SceneImageTime(scene)
scene.Meta.SunAzimuth = SunAzimuth(centerT,
scene.Meta.CentreLocation.Longitude,

View File

@@ -8,7 +8,6 @@ import (
)
// Destriping multisensor imagery with moment matching [Gadallah, 2000]
// 基于探元直方图匹配的CBERS01星CCD数据相对辐射校正方法 [潘志强, 2005]
func DoMomentMatching(originalImg gocv.Mat) {
probes := originalImg.Cols()
log.Printf("do moment matching for %d probes, %d rows", probes, originalImg.Rows())

View File

@@ -49,6 +49,7 @@ func (rrc *RRC) Statistical(dsPAN, dsMSS string) error {
func (rrc *RRC) Close() {}
// 基于探元直方图匹配的CBERS01星CCD数据相对辐射校正方法 [潘志强, 2005]
// 统计探元灰度的累积概率密度
func (rrc *RRC) StatisticalPAN(dsfile string) error {
utils.PrintMemStats()