GitHub (https://github.com/mribrahim/Blob-Detection) to download the codes and contribute the project
A Blob means a group of connected pixels in an image that share near intensity values. In the image below, the goal is to detect the blobs and identify some properties belong to that blobs, as if regionprobs in Python (http://scikit-image.org/docs/dev/api/skimage.measure.html#skimage.measure.regionprops).
Measure Properties of Regions
center: point2f -> Center coordinates of region
area: float -> Number of pixels of region.
perimeter: float -> Perimeter of region.
eccentricity: float -> Between 1 and 0. (1 for circle)
solidity: float -> Between 1 and 0. ( Area / ConvexHullArea )
compactness: float -> Between 1 and 0. ( Area / BoundingRect Area ) -- measure of how close to a rectangle
mean_intensity: Vec3b -> mean intensity values of three channel(blue,green,red) of the region
bounding_box: Rect -> Bounding box of the region