This commit is contained in:
nuknal
2024-10-29 16:30:02 +08:00
parent bd93e9f543
commit 9c2d93dff4
2013 changed files with 117 additions and 690917 deletions

View File

@@ -35,6 +35,7 @@ var procCmd = &cobra.Command{
config.GCONFIG.Log.LogLevel)
logrus.SetLevel(config.GCONFIG.Log.LogLevel)
logrus.Info("image-proc version:", Version)
godal.RegisterAll()
@@ -61,6 +62,12 @@ var procCmd = &cobra.Command{
logrus.Fatal(err)
}
// for i, img := range reg.MssImages {
// edge := producer.CV_Sobel(img)
// utils.SavePanToGDALGTiff(edge, 0, 0, "data/temp/out_"+strconv.Itoa(i)+".tif", 1.3)
// }
// return
os.MkdirAll(params.OutputDir, 0755)
if doLUTRRC {