I am doing image segmentation using region growing algorithm.
I have created Region and Pixel class where each region has list of pixels.
public class Region {
private List<Pixel> pixelList;
}
Pixel class has fields like r,g,b, hue,saturation, brightness of individual pixel in image.
The result of segmentation is list of regions.
List<Region> segment(){..}
I want to find one region object or sublist of region objects which is "Region of interest".
Please advice me about finding this. Is there any algorithm for this? Please help.