public boolean isFullyOutside ( float x , float y ) { if ( x < outsideLeft || x > outsideRight ) return true ; if ( y < outsideTop || y > outsideBottom ) return true ; return false ; }
Returns true if the features is entirely outside of the image . A region is entirely outside if not an entire pixel is contained inside the image . So if only 0 . 999 of a pixel is inside then the whole region is considered to be outside . Can t interpolate nothing ...