diff --git a/Common/otb_numpy_proc.py b/Common/otb_numpy_proc.py
index 431451f82b6154a79c66dd7495ce7924c5426311..1465d0402ee9d60f825e514df165cb2a64908099 100644
--- a/Common/otb_numpy_proc.py
+++ b/Common/otb_numpy_proc.py
@@ -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")
diff --git a/VHR/segmentation.py b/VHR/segmentation.py
index 4bfca274aa7b6306588322c690f79649b492a310..00389b7d505e2692743770a255b3bf29ce1698fe 100644
--- a/VHR/segmentation.py
+++ b/VHR/segmentation.py
@@ -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