Commit dc554eb3 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

FIX: removed get_region.

No related merge requests found
Showing with 1 addition and 9 deletions
+1 -9
......@@ -205,14 +205,6 @@ def to_otb_pipeline(obj):
sys.exit("Impossible to convert object ot OTB pipeline")
return ppl
def get_region(startx, starty, sizex, sizey):
r = otb.itkRegion()
r['index'][0] = startx
r['index'][1] = starty
r['size'][0] = sizex
r['size'][1] = sizey
return r
def do_something(fn):
# Create a smoothing application
app = otb.Registry.CreateApplication("ExtractROI")
......
......@@ -2,7 +2,7 @@ import sys
import numpy as np
from Common.otb_numpy_proc import to_otb_pipeline, get_region
from Common.otb_numpy_proc import to_otb_pipeline
import os.path
import otbApplication as otb
import multiprocessing as mp
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment