Stefan, Well that seems to have solved it...thank you very much....atleast I have a new error ..... resizing rgb and nir images RGB image name \Users\jeremydunn\Desktop\GroundSure\Algorithm\Wales_Drew\Tadas\Area2\Imagery\gm0F6F0.jpg Traceback (most recent call last): File "C:\Users\jeremydunn\Desktop\GroundSure\Algorithm\Wales_Drew\Tadas\Algorithm\run3.py", line 79, in <module> training_1 = TrainImage(trainingrgb, trainingnir, object_size, size_to_filter, jappos = trainingpos, japneg = trainingneg) File "C:\Users\jeremydunn\Desktop\GroundSure\Algorithm\Wales_Drew\Tadas\Algorithm\algorithm.py", line 51, in __init__ self.pixres,self.gt,self.prj) = og.initialize(filename,nirfile,jappos,japneg) File "C:\Users\jeremydunn\Desktop\GroundSure\Algorithm\Wales_Drew\Tadas\Algorithm\ogr_gdal.py", line 171, in initialize proc = subprocess.Popen(['gdal_translate','-of','JPEG','-projwin',str(extents[0]),str(extents[1]),str(extents[2]),str(extents[3]),filename,'tmp_rgb.jpg']) File "C:\Python27\ArcGIS10.2\lib\subprocess.py", line 679, in __init__ errread, errwrite) File "C:\Python27\ArcGIS10.2\lib\subprocess.py", line 896, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified Thank you for the help, Cheers. Jeremy. On Monday, 18 November 2013 16:28:40 UTC, Stefan van der Walt wrote:
On Mon, Nov 18, 2013 at 6:15 PM, Stéfan van der Walt <ste...@sun.ac.za<javascript:>> wrote:
from skimage.morphology import slic
Sorry, where is my mind:
from skimage.segmentation import slic
Stéfan
participants (2)
-
Jeremy Dunne
-
Stéfan van der Walt