Fast Connected Component Labeling (Cconnected Component Analysis) based on Lifeng He et.al. paper. http://www.sciencedirect.com/science/article/pii/S0031320308004573. I also adding some features for gray-scale image labeling