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