docs: public static boolean isInside( int width , int height, 
  									double tl_x , double tl_y , 
  									double regionSize  , double sampleSize )
  	{
  		int w = (int)(sampleSize+0.5);
  		int r = w/2 + w%2; // be conservative  and round up
  
  		// the extra minus one is because integral images are being used
  		int x0 = (int)(tl_x+0.5) - r - 1;
  		int y0 = (int)(tl_y+0.5) - r - 1;
  
  		if( x0 < 0 || y0 < 0)
  			return false;
  
  		int x1 = (int)(tl_x+regionSize+0.5) + r;
  		int y1 = (int)(tl_y+regionSize+0.5) + r;
  
  		if( x1 >= width || y1 >= height )
  			return false;
  
  		return true;
  	}