Transforms a RgbImage into a Gray8Image by selecting one of the three bands. The pixel value chosen is adjusted from the range 0→255 to the range -128→127.
Usage:
RgbImage imageRgb = ...;
RgbSelectGray rgb = new RgbSelectGray(RgbSelectGray.RED);
rgb.push(imageRgb);
|
|
|
|