1. A method for image processing, said method comprising: computing, by an image-processing device, a plurality of boundary-connectedness values associated with a plurality of regions in a plurality of Boolean maps, wherein said plurality of Boolean maps corresponds to a plurality of color channels of an image; comparing, by said image-processing device, said plurality of boundary-connectedness values associated with said plurality of regions with a pre-specified threshold value; and identifying, by said image-processing device, at least a first set of regions of said plurality of regions in said plurality of Boolean maps as a set of foreground regions based on said comparison; and generating, by said image-processing device, said plurality of Boolean maps for each color channel of said plurality of color channels of said image and each threshold value of a set of threshold values, based on a set of binary values, wherein said set of binary values are determined based on a comparison of pixel intensity with said threshold value at each pixel location of said image.