int dimension = image.length;\r
BitMatrix bits = new BitMatrix(dimension);\r
for (int i = 0; i < dimension; i++) {\r
for (int j = 0; j < dimension; j++) {\r
if (image[i][j]) {\r
int dimension = image.length;\r
BitMatrix bits = new BitMatrix(dimension);\r
for (int i = 0; i < dimension; i++) {\r
for (int j = 0; j < dimension; j++) {\r
if (image[i][j]) {\r