refactor
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user