does not compile region growing segmentation on groovy
does not compile on groovy