white in the black [closed]
- by gcc
how can i detect white image surrounded by black image
000 000 000 000 000
255 255 255 000 000
255 255 255 000 000
255 255 255 000 000
000 000 000 000 000
and
how can calculate length and widht of the square