eLynx lab Mode menu, the conversion place |
![]() |
This command allows color images to be converted to grey.
![]() |
Compute the luminance from the red, green and blue components:
|
Code sources: include/elx/image/inl/Conversion/Grey.inl, include/elx/image/inl/Conversion/Color.inl
Convert a RGB color image to Bayer image choosing the Bayer matrix pattern.
This is used to test the demosaicing algorithms from synthetized images.
![]() |
Code source: src/Image/Bayer/CreateBayer.hpp
Convert a gray or gray with alpha image to a RGB or RGBA image copying L plane in each planes.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() but blend it into other channels |
![]() |
Change the color space of a color image.
Note that CIE Lab and HSL color spaces are stored in 32-bit float formats. So for RGB images from lower resolutions (8- and 16-bit) a resolution conversion is done first.
From an image with a Bayer matrix, you have to choose the demosaicing algorithm for the conversion to the RGB color space.
Code sources: src/Image/ColorSpace.cpp, Image/ColorSpace/RGB.hpp, Image/ColorSpace/HLS.hpp, Image/ColorSpace/CIE.hpp, src/Image/Bayer/
Change channel resolution to 8 bits unsigned integer.
This is available only for grey and RGB images with or without alpha channel.
Change channel resolution to 16 bits unsigned integer.
This is available only for grey and RGB images with or without alpha channel.
Change channel resolution to 32 bits floating point.
This is available only for grey and RGB images with or without alpha channel.
A RGB image is splitted in red, green and blue planes:
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() Apply alpha blending into other channels |
![]() Unmodify other channels |