I have an image with some figure in some color.
Not I want to find out the coordinates of rectangular region encompassing that figure.
What is the best algorithm to calculate regions inside an image?
I just want to process the image , calculates all regions and save their coordinates.
Is this functionality available in android API's?

