Extracting Objects From image - Connected Component Labeling Algorithm