cvr::splitImageTorgI Class Reference
[Color Analysis]
Split
image in its chromaticity channels.
More...
#include <cvrSplitImageTorgI.h>
List of all members.
|
Public Member Functions |
| splitImageTorgI () |
| splitImageTorgI (const splitImageTorgI &other) |
virtual | ~splitImageTorgI () |
splitImageTorgI & | copy (const splitImageTorgI &other) |
splitImageTorgI & | operator= (const splitImageTorgI &other) |
virtual const std::string & | name () const |
virtual splitImageTorgI * | clone () const |
virtual splitImageTorgI * | newInstance () const |
virtual bool | apply (const matrix< image::value_type > &img, matrix< channel::value_type > &r, matrix< channel::value_type > &g, matrix< channel::value_type > &I) const |
virtual bool | apply (const matrix< image::value_type > &img, matrix< channel8::value_type > &r, matrix< channel8::value_type > &g, matrix< channel8::value_type > &I) const |
virtual bool | apply (const rgbaPixel &pixel, float &r, float &g, float &I) const |
virtual bool | apply (const rgbaPixel &pixel, ubyte &r, ubyte &g, ubyte &I) const |
bool | getR (const matrix< image::value_type > &img, matrix< channel::value_type > &r) const |
bool | getR (const matrix< image::value_type > &img, matrix< channel8::value_type > &r) const |
bool | getG (const matrix< image::value_type > &img, matrix< channel::value_type > &g) const |
bool | getG (const matrix< image::value_type > &img, matrix< channel8::value_type > &g) const |
bool | getIntensity (const matrix< image::value_type > &img, matrix< channel::value_type > &I) const |
bool | getIntensity (const matrix< image::value_type > &img, matrix< channel8::value_type > &I) const |
virtual bool | getFirst (const matrix< image::value_type > &img, matrix< channel::value_type > &c1) const |
virtual bool | getFirst (const matrix< image::value_type > &img, matrix< channel8::value_type > &c1) const |
virtual bool | getSecond (const matrix< image::value_type > &img, matrix< channel::value_type > &c2) const |
virtual bool | getSecond (const matrix< image::value_type > &img, matrix< channel8::value_type > &c2) const |
virtual bool | getThird (const matrix< image::value_type > &img, matrix< channel::value_type > &c3) const |
virtual bool | getThird (const matrix< image::value_type > &img, matrix< channel8::value_type > &c3) const |
Detailed Description
Split
image in its chromaticity channels.
The chromaticity channels are defined as follows:
- intensity channel
- chromacity red
- chromacity green
You can get all channels at the same time using apply() or just get one using the shortcut methods getR(), getG() or getIntensity().
Constructor & Destructor Documentation
cvr::splitImageTorgI::splitImageTorgI |
( |
|
) |
|
virtual cvr::splitImageTorgI::~splitImageTorgI |
( |
|
) |
[virtual] |
Member Function Documentation
Split the pixel in chromacity values r and g and intensity value.
The values of each pixel will be between 0 and 255
- Parameters:
-
| pixel | the pixel to be splitted |
| r | the chromacity value |
| g | the chromacity value |
| I | the intensity value |
Implements cvr::splitImage.
virtual bool cvr::splitImageTorgI::apply |
( |
const rgbaPixel & |
pixel, |
|
|
float & |
r, |
|
|
float & |
g, |
|
|
float & |
I | |
|
) |
| | const [virtual] |
Split the pixel in chromacity values r and g and intensity value.
The values of each pixel will be between 0.0f and 1.0f
- Parameters:
-
| pixel | the pixel to be splitted |
| r | the chromacity value |
| g | the chromacity value |
| I | the intensity value |
Implements cvr::splitImage.
Split the image in chromacity channels r and g and intensity channel.
The values of each pixel will be between 0 and 255
- Parameters:
-
Implements cvr::splitImage.
Split the image in chromacity channels r and g and intensity channel.
The values of each pixel will be between 0.0f and 1.0f
- Parameters:
-
Implements cvr::splitImage.
Returns the first of the three channels into which the image is split.
If you need only one channel, this might be faster than calling apply().
- Parameters:
-
Returns the first of the three channels into which the image is split.
If you need only one channel, this might be faster than calling apply().
- Parameters:
-
Shortcut to get the green channel only.
The values of each pixel will be between 0 and 255
- Parameters:
-
Shortcut to get the red channel only.
The values of each pixel will be between 0.0f and 1.0f
- Parameters:
-
Shortcut to get the red channel only.
The values of each pixel will be between 0 and 255
- Parameters:
-
Shortcut to get the red channel only.
The values of each pixel will be between 0.0f and 1.0f
- Parameters:
-
Shortcut to get the red channel only.
The values of each pixel will be between 0 and 255
- Parameters:
-
Shortcut to get the red channel only.
The values of each pixel will be between 0.0f and 1.0f
- Parameters:
-
Returns the second of the three channels into which the image is split.
If you need only one channel, this might be faster than calling apply().
- Parameters:
-
Returns the second of the three channels into which the image is split.
If you need only one channel, this might be faster than calling apply().
- Parameters:
-
Returns the third of the three channels into which the image is split.
If you need only one channel, this might be faster than calling apply().
- Parameters:
-
Returns the third of the three channels into which the image is split.
If you need only one channel, this might be faster than calling apply().
- Parameters:
-
virtual const std::string& cvr::splitImageTorgI::name |
( |
|
) |
const [virtual] |
virtual splitImageTorgI* cvr::splitImageTorgI::newInstance |
( |
|
) |
const [virtual] |
Alias for copy member.
- Parameters:
-
- Returns:
- a reference to this functor object
The documentation for this class was generated from the following file: