PCL
|
Supported color spaces. More...
Functions | |
String | ChannelId (int colorSpace, int channel) |
String | Name (int colorSpace) |
int | NumberOfNominalChannels (int colorSpace) |
Current versions of the PixInsight platform support the following color spaces for images:
ColorSpace::Unknown | Corresponds to an unknown or unsupported color space |
ColorSpace::Gray | Grayscale monochrome space |
ColorSpace::RGB | RGB color space |
ColorSpace::CIEXYZ | CIE XYZ color space |
ColorSpace::CIELab | CIE L*a*b* color space |
ColorSpace::CIELch | CIE L*c*h* color space |
ColorSpace::HSV | HSV color space: Hue, Saturation, Value |
ColorSpace::HSI | HSI color space: Hue, Saturation, Intensity |
String pcl::ColorSpace::ChannelId | ( | int | colorSpace, |
int | channel | ||
) |
Returns the identifier of a nominal channel in a specified color space.
colorSpace | A supported color space, identified by its corresponding symbolic constant. |
channel | The index >= 0 of a nominal channel or component. |
Referenced by pcl::ImageColor::ChannelId().
String pcl::ColorSpace::Name | ( | int | colorSpace | ) |
Returns a string representing the name of a color space.
colorSpace | A supported color space, identified by its corresponding symbolic constant. |
Referenced by pcl::KernelFilter::operator==(), and pcl::SeparableFilter::operator==().
|
inline |
Returns the number of nominal channels in the specified color space.
Definition at line 102 of file ColorSpace.h.
Referenced by pcl::GenericImage< P >::DeleteAlphaChannel(), pcl::GenericImage< P >::DeleteAlphaChannels(), pcl::GenericImage< P >::ForgetAlphaChannels(), pcl::AbstractImage::HasAlphaChannels(), pcl::GenericImage< P >::NominalSize(), pcl::ImageVariant::NominalSize(), pcl::AbstractImage::NumberOfAlphaChannels(), pcl::AbstractImage::NumberOfNominalChannels(), pcl::AbstractImage::NumberOfNominalSamples(), pcl::AbstractImage::SelectAlphaChannels(), and pcl::AbstractImage::SelectNominalChannels().