How to: Loop algorithm over different segmentation levels
Hi,
In my processing tree I use the same algorithm multiple times for different segmentation levels. Right now I have to copy the algorithm to the number of segmentation levels and choose the correct segmentation level. I would like to know if it is possible to loop 1 algorithm over the different segmentation levels. For example: I export multiple segmentation levels into 1 geodatabase. Right now I have to copy the 'export vector layer' algorithm for each segmentation level.
Thanks
Was this article helpful?
1 comment
Hi,
You can use an array for looping. As far as I understand, you could create an array holding all your Image Object Levels and then use a parent process (set domain to array) and loop through the array.
Matthias