Digital Image Processing (using Java)
Digital Image Processing (using Java)
Digital Image Processing (using Java)
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
int x, int y, int n) {in.setSample(x, y, 0, 0);out.setSample(x, y, 0, n);int j, k;for (int i = 0; i < connectivity; ++i) {j = x + delta[i].x;k = y + delta[i].y;if (in<strong>Image</strong>(j, k) && in.getSample(j, k, 0) > 0)label(in, out, j, k, n);}}}private final boolean in<strong>Image</strong>(int x, int y) {}return x >= 0 && x < width && y >= 0 && y < height;(p.263)- 66 -