For an analysis of several multilayer raster files I want to perform some kind of image segmentation (multi-resolution, ...) to extract polygon object of similar raster properties. I know that Trimble's eCognition is quite useful fot this kind of tasks. However I am trying to find a script based solution, since there are multiple (some 20s) of rasters the image segmentation schould be performed on.
I personally prefer the script languages R or Python.