Ways of calculating the area of colored regions in a map
Finding the size of colored regions might be better framed as a convex hull  problem since the borders are distinct. After each convex hull is defined, the region can be defined in pixels.