c++ - How to find largest figure in 2d array -
i have image example of matrix marked cells in makes figures.
the thing is, have count , find largest figure in matrix.
as can see there 3 figures each 3, 19 , 2 black fields.
ok understund how if cell black or white, how can tell figure counted , 1 biggest.
this task connected component labeling algorithm
Comments
Post a Comment