code: public static boolean getT(GrayU8 image, int x, int y) {
  		if (image.isInBounds(x, y)) {
  			return image.get(x, y) != 0;
  		} else {
  			return true;
  		}
  	}
docs: If a point is inside the image true is returned if its value is not zero, otherwise true is returned.