/* (non-Javadoc) * @see org.ejs.gui.images.IPaletteMapper#getPixelForGreyscaleMode(int) */ @Override public int getPixelForGreyscaleMode(int pixel) { byte[] rgb = {0, 0, 0}; ColorMapUtils.pixelToRGB(pixel, rgb); rgb = getRgbToGreyForGreyscaleMode(rgb); return ColorMapUtils.rgb8ToPixel(rgb); }