c++ - How to find largest figure in 2d array -


i have image example of matrix marked cells in makes figures.

enter image description here

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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -