This commit is contained in:
nuknal
2024-10-29 16:45:28 +08:00
parent 9c2d93dff4
commit 0e920ce9f0
10 changed files with 57 additions and 57 deletions

View File

@@ -9,7 +9,7 @@ import (
"starwiz.cn/sjy01/image-proc/pkg/rrc"
)
func (r *Registrator) DoRRCbyLUT(lutDir string) error {
func (r *ImgProc) DoRRCbyLUT(lutDir string) error {
logrus.Printf("try to do RRC [%s]...", lutDir)
lutPAN, err := rrc.LoadLUT(filepath.Join(lutDir, "B0.LUT"), 9344)
if err != nil {
@@ -42,7 +42,7 @@ func (r *Registrator) DoRRCbyLUT(lutDir string) error {
return nil
}
func (r *Registrator) DoMomentMatching() error {
func (r *ImgProc) DoMomentMatching() error {
rrc.DoMomentMatching(r.PanImage)
for i := 0; i < 4; i++ {
rrc.DoMomentMatching(r.MssImages[i])