public int getUnsignedPixelValue ( short [ ] pixelValues , int width , int x , int y ) { short pixelValue = getPixelValue ( pixelValues , width , x , y ) ; int unsignedPixelValue = getUnsignedPixelValue ( pixelValue ) ; return unsignedPixelValue ; }
Get the pixel value as a 16 bit unsigned value as an integer