积分级数
This commit is contained in:
@@ -134,6 +134,13 @@ func (r *Registrator) ComputeMetaAndRPC(scene *Scene) (topLeft, bottomRight orb.
|
|||||||
scene.Meta.Pitch = aux0.Eular2 * 180 / math.Pi
|
scene.Meta.Pitch = aux0.Eular2 * 180 / math.Pi
|
||||||
scene.Meta.Roll = aux0.Eular1 * 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)
|
_, centerT, _ := r.SceneImageTime(scene)
|
||||||
scene.Meta.SunAzimuth = SunAzimuth(centerT,
|
scene.Meta.SunAzimuth = SunAzimuth(centerT,
|
||||||
scene.Meta.CentreLocation.Longitude,
|
scene.Meta.CentreLocation.Longitude,
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Destriping multisensor imagery with moment matching [Gadallah, 2000]
|
// Destriping multisensor imagery with moment matching [Gadallah, 2000]
|
||||||
// 基于探元直方图匹配的CBERS01星CCD数据相对辐射校正方法 [潘志强, 2005]
|
|
||||||
func DoMomentMatching(originalImg gocv.Mat) {
|
func DoMomentMatching(originalImg gocv.Mat) {
|
||||||
probes := originalImg.Cols()
|
probes := originalImg.Cols()
|
||||||
log.Printf("do moment matching for %d probes, %d rows", probes, originalImg.Rows())
|
log.Printf("do moment matching for %d probes, %d rows", probes, originalImg.Rows())
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ func (rrc *RRC) Statistical(dsPAN, dsMSS string) error {
|
|||||||
|
|
||||||
func (rrc *RRC) Close() {}
|
func (rrc *RRC) Close() {}
|
||||||
|
|
||||||
|
// 基于探元直方图匹配的CBERS01星CCD数据相对辐射校正方法 [潘志强, 2005]
|
||||||
// 统计探元灰度的累积概率密度
|
// 统计探元灰度的累积概率密度
|
||||||
func (rrc *RRC) StatisticalPAN(dsfile string) error {
|
func (rrc *RRC) StatisticalPAN(dsfile string) error {
|
||||||
utils.PrintMemStats()
|
utils.PrintMemStats()
|
||||||
|
|||||||
Reference in New Issue
Block a user