coordinate frames transformation

This commit is contained in:
nuknal
2024-08-15 14:01:05 +08:00
parent 7c1240f2db
commit c2480a828b
12 changed files with 19640 additions and 16 deletions

12
cmd/eopp_5_line.txt Normal file
View File

@@ -0,0 +1,12 @@
60116.00 .141781 .000000 .069287 .102814 .017651 .001945365.25
435.00 .355810 .000000 -.014438 .004464 .082289 .077284365.25435.00
60309.00 .023848 .000093 .000000 .000000 -.022000 .006000
.000000 .000000 .012000 -.007000 500.0000 500.0000 365.2500 182.6250
37 4226 60535 60534 00000 .092937
60535 .18632757 .46806991 .03671475
60536 .18814225 .46718764 .03789417
60537 .18992531 .46631192 .03920366
60538 .19169447 .46542788 .04057785
60539 .19347468 .46450799 .04191240
60540 .19529435 .46351585 .04307934
60541 .19717570 .46241930 .04396107

19270
cmd/finals2000A.all Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,15 @@
package main
import (
_ "embed"
)
//go:embed finals2000A.all
var eopData []byte
//go:embed eopp_5_line.txt
var eopp5Line []byte
func main() {
rootCmd.Execute()
}

View File

@@ -9,6 +9,7 @@ import (
"github.com/airbusgeo/godal"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"starwiz.cn/sjy01/image-proc/pkg/calculator"
"starwiz.cn/sjy01/image-proc/pkg/config"
producer "starwiz.cn/sjy01/image-proc/pkg/producer"
)
@@ -34,6 +35,9 @@ var procCmd = &cobra.Command{
logrus.SetLevel(config.GCONFIG.Log.LogLevel)
calculator.EOP = calculator.NewEOPTable()
calculator.EOP.Load(eopData, eopp5Line)
reg := producer.NewRegistrator(producer.DownSampled)
reg.Params = initParams()