Catalano.Imaging.Filters
Class ExtractNormalizedRGBChannel
- java.lang.Object
-
- Catalano.Imaging.Filters.ExtractNormalizedRGBChannel
-
- All Implemented Interfaces:
- IExtract
public class ExtractNormalizedRGBChannel extends java.lang.Object implements IExtract
Extract normalized RGB channel from color image. Extracts specified normalized RGB channel of color image and returns it as grayscale image. Note: Normalized RGB color space is defined as: r = R / (R + G + B ), g = G / (R + G + B ), b = B / (R + G + B ).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classExtractNormalizedRGBChannel.ChannelRGB Channel.
-
Constructor Summary
Constructors Constructor and Description ExtractNormalizedRGBChannel(ExtractNormalizedRGBChannel.Channel rgb)Initialize a new instance of the ExtractNormalizedRGBChannel class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FastBitmapExtract(FastBitmap fastBitmap)Extracts specified channel of color image and returns it as grayscale image.ExtractNormalizedRGBChannel.ChannelgetRGB()Get RGB Channel.voidsetRGB(ExtractNormalizedRGBChannel.Channel rgb)Set RGB Channel.
-
-
-
Constructor Detail
-
ExtractNormalizedRGBChannel
public ExtractNormalizedRGBChannel(ExtractNormalizedRGBChannel.Channel rgb)
Initialize a new instance of the ExtractNormalizedRGBChannel class.- Parameters:
rgb- RGB Channel.
-
-
Method Detail
-
getRGB
public ExtractNormalizedRGBChannel.Channel getRGB()
Get RGB Channel.- Returns:
- RGB Channel.
-
setRGB
public void setRGB(ExtractNormalizedRGBChannel.Channel rgb)
Set RGB Channel.- Parameters:
rgb- RGB Channel.
-
Extract
public FastBitmap Extract(FastBitmap fastBitmap)
Description copied from interface:IExtractExtracts specified channel of color image and returns it as grayscale image.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG