A class storing information about a channel of an image.
More...
#include <omImageChannelInfo.h>
A class storing information about a channel of an image.
om::images::base::ChannelInfo::ChannelInfo |
( |
| ) |
|
|
inline |
Create a channel info object with an UNDEFINED channel type and primitive type.
om::images::base::ChannelInfo::ChannelInfo |
( |
const ChannelType & |
newType, |
|
|
const ScalarType & |
newScalarType |
|
) |
| |
|
inline |
Create a channel info object with the specified semantic type and storage primitive type.
const ChannelType& om::images::base::ChannelInfo::getType |
( |
| ) |
const |
|
inline |
Return the semantic type of this image channel.
void om::images::base::ChannelInfo::setType |
( |
const ChannelType & |
newType | ) |
|
|
inline |
Set the semantic type of this image channel.
const ScalarType& om::images::base::ChannelInfo::getStorageType |
( |
| ) |
const |
|
inline |
Return the primitive type that this image channel is stored in.
void om::images::base::ChannelInfo::setStorageType |
( |
const ScalarType & |
newScalarType | ) |
|
|
inline |
Set the primitive type that this image channel is stored in.
Size om::images::base::ChannelInfo::getSizeInBytes |
( |
| ) |
const |
|
inline |
Return the number of bytes that the channel for each pixel.
Bool om::images::base::ChannelInfo::operator== |
( |
const ChannelInfo & |
other | ) |
const |
|
inline |
Return whether or not this image channel info object is the same as another.
Bool om::images::base::ChannelInfo::operator!= |
( |
const ChannelInfo & |
other | ) |
const |
|
inline |
Return whether or not this image channel info object is not the same as another.
String om::images::base::ChannelInfo::toString |
( |
| ) |
const |
Return a string representation of the channel type..
om::images::base::ChannelInfo::operator String |
( |
| ) |
const |
|
inline |
Convert this channel type into a string representation.
The documentation for this class was generated from the following file: