Introduction - If you have any usage issues, please Google them yourself
Convert image to binary image using threshold operation, find the number of objects, pseudo color image tag in matrix of each object is mapped for related tone of different colors