interface IImageRegions { public L> regions(); // for each pixel: region index (starting at 1) int[] regionMatrix(); }