Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
Functions | |
template<class D > | |
Image< Color > | Merge (Vector< Image< D > > &img_vector) |
Static constructor of a color image, from an vector of monochromatic images. More... | |
template<class D > | |
Vector< Image< D > > | Split (const Image< Color > &img) |
Create a vector of (N-1)-D images from an N-D image. More... | |
template<class D > | |
Image< D > | Channel (const Image< Color > &img, size_t channel) |
Returns the the chosen channel from input image as a gray image. More... | |
template<class D > | |
Image< D > | Channel (const Image< RealColor > &img, size_t channel) |
RealColor | ARGBtoAHSI (const Color &pxl) |
Converts a RGB format pixel to HSI format. More... | |
Color | AHSItoARGB (const RealColor &pxl) |
Converts a HSI format pixel to RGB format. More... | |
Image< RealColor > | ARGBtoAHSI (const Image< Color > &img) |
Converts a RGB format image to HSI format. More... | |
Image< Color > | AHSItoARGB (const Image< RealColor > &img) |
Converts a HSI format image to RGB format. More... | |
Image< RealColor > | ARGBtoXYZ (const Image< Color > &img) |
Converts a RGB image to XYZ colorspace. More... | |
Image< Color > | XYZtoARGB (const Image< RealColor > &img) |
Converts a XYZ image to RGB colorspace. More... | |
Image< RealColor > | ARGBtoCIELab (const Image< Color > &img) |
Converts a RGB image to CIELab colorspace. More... | |
Image< Color > | CIELabtoARGB (const Image< RealColor > &img) |
Converts a CIELab image to RGB colorspace. More... | |
Image< RealColor > | XYZtoCIELab (const Image< RealColor > &img) |
Converts a XYZ image to CIE-Lab colorspace. More... | |
Image< RealColor > | CIELabtoXYZ (const Image< RealColor > &img) |
Converts a CIE-Lab image to XYZ colorspace. More... | |
double | ARGB_XYZ (double color) |
Auxiliar function to convert between RGB and XYZ color representations. More... | |
double | XYZ_ARGB (double color) |
Auxiliar function to convert between XYZ and RGB color representations. More... | |
double | XYZ_CIELab (double color) |
Auxiliar function to convert between XYZ and CIELab color representations. More... | |
double | CIELab_XYZ (double color) |
Auxiliar function to convert between CIELab and XYZ color representations. More... | |
template<class D > | |
Image< Color > | GraytoARGB (const Image< D > &img) |
Converts gray image to ARGB format. Color channels receive the intensity. More... | |
template<class D > | |
Image< D > | ARGBtoGraybyLuminosity (const Image< Color > &img) |
Converts ARGB image to gray scale using luminosity. gray=( 0.21*red + 0.72*green + 0.07*blue )/2. More... | |
template<class D > | |
Image< D > | ARGBtoGraybyLightness (const Image< Color > &img) |
Converts ARGB image to gray scale using lightness. gray=(max(red,green,blue)+min(red,green,blue))/2. More... | |
template<class D > | |
Image< D > | ARGBtoGraybyBrightness (const Image< Color > &img) |
Converts ARGB image to gray scale using brightness. gray=(red+green+blue)/2. More... | |
Variables | |
constexpr double | XwRef = 95.047 |
CIE X White Reference ( Obs.= 2°, Illuminant= D65 ) More... | |
constexpr double | YwRef = 100.000 |
CIE Y White Reference ( Obs.= 2°, Illuminant= D65 ) More... | |
constexpr double | ZwRef = 108.883 |
CIE Z White Reference ( Obs.= 2°, Illuminant= D65 ) More... | |
constexpr double | Epsilon = 0.008856 |
Const. used in conversions between CIELAB and XYZ. More... | |
Converts a HSI format pixel to RGB format.
pxl | HSI format pixel |
Converts a HSI format image to RGB format.
img | HSI format image |
double Bial::ColorSpace::ARGB_XYZ | ( | double | color | ) |
Auxiliar function to convert between RGB and XYZ color representations.
color | A color value. |
Converts a RGB format pixel to HSI format.
pxl | RGB format pixel |
Converts a RGB format image to HSI format.
img | RGB format image |
Converts a RGB image to CIELab colorspace.
img | RGB color Image |
Image< D > Bial::ColorSpace::ARGBtoGraybyBrightness | ( | const Image< Color > & | img | ) |
Converts ARGB image to gray scale using brightness. gray=(red+green+blue)/2.
img | The input image. |
Converts ARGB image to gray scale using lightness. gray=(max(red,green,blue)+min(red,green,blue))/2.
img | The input image. |
Image< D > Bial::ColorSpace::ARGBtoGraybyLuminosity | ( | const Image< Color > & | img | ) |
Converts ARGB image to gray scale using luminosity. gray=( 0.21*red + 0.72*green + 0.07*blue )/2.
img | The input image. |
Converts a RGB image to XYZ colorspace.
img | RGB color Image |
Image< D > Bial::ColorSpace::Channel | ( | const Image< Color > & | img, |
size_t | channel | ||
) |
Returns the the chosen channel from input image as a gray image.
img | A 3D or 4D image. |
channel | A channel. |
Image< D > Bial::ColorSpace::Channel | ( | const Image< RealColor > & | img, |
size_t | channel | ||
) |
double Bial::ColorSpace::CIELab_XYZ | ( | double | color | ) |
Auxiliar function to convert between CIELab and XYZ color representations.
color | A color value. |
Converts a CIELab image to RGB colorspace.
img | XYZ color Image |
Converts gray image to ARGB format. Color channels receive the intensity.
img | The input image. |
Static constructor of a color image, from an vector of monochromatic images.
img_vector | vector of images. |
Create a vector of (N-1)-D images from an N-D image.
img | A 3D or 4D image. |
double Bial::ColorSpace::XYZ_ARGB | ( | double | color | ) |
Auxiliar function to convert between XYZ and RGB color representations.
color | A color value. |
double Bial::ColorSpace::XYZ_CIELab | ( | double | color | ) |
Auxiliar function to convert between XYZ and CIELab color representations.
color | A color value. |
constexpr double Bial::ColorSpace::Epsilon = 0.008856 |
Const. used in conversions between CIELAB and XYZ.
Definition at line 39 of file ColorLab.hpp.
constexpr double Bial::ColorSpace::XwRef = 95.047 |
CIE X White Reference ( Obs.= 2°, Illuminant= D65 )
Definition at line 27 of file ColorLab.hpp.
constexpr double Bial::ColorSpace::YwRef = 100.000 |
CIE Y White Reference ( Obs.= 2°, Illuminant= D65 )
Definition at line 31 of file ColorLab.hpp.
constexpr double Bial::ColorSpace::ZwRef = 108.883 |
CIE Z White Reference ( Obs.= 2°, Illuminant= D65 )
Definition at line 35 of file ColorLab.hpp.