public int getPixel ( int x , int y ) { int pixel = - 1 ; if ( pixels == null ) { readPixels ( ) ; } if ( pixels != null ) { pixel = pixels [ y ] [ x ] ; } else { throw new GeoPackageException ( "Could not retrieve pixel value" ) ; } return pixel ; }
Get the pixel at the coordinate