brainrat-private
5.1.2
|
#include <brainrat/utility/channelextractor.h>
Public Member Functions | |
ChannelExtractor () | |
virtual | ~ChannelExtractor () |
void | getChannelR (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelG (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelB (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelA (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelRGBNorm (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelYl (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelCb (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelCr (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelH (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelS (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelV (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelX (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelY (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelZ (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelL (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannela (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
void | getChannelb (carto::VolumeRef< AimsRGBA >, carto::VolumeRef< C >) |
carto::VolumeRef< C > | getChannelR (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelG (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelB (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelA (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelRGBNorm (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelYl (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelCb (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelCr (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelH (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelS (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelV (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelX (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelY (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelZ (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelL (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannela (carto::VolumeRef< AimsRGBA > in) |
carto::VolumeRef< C > | getChannelb (carto::VolumeRef< AimsRGBA > in) |
![]() | |
Rescaler () | |
virtual | ~Rescaler () |
template<typename T , typename C > | |
C | rescale (T val) |
void | setRescale (bool val=true) |
void | setInputMin (double val) |
void | setInputMax (double val) |
void | setOutputMin (double val) |
void | setOutputMax (double val) |
void | resetInputMin () |
void | resetInputMax () |
void | resetOutputMin () |
void | resetOutputMax () |
void | setInputDynMinMax (bool val=true) |
template<typename T > | |
void | setInputDynMinMax (carto::VolumeRef< T > in) |
void | reset () |
Protected Member Functions | |
carto::VolumeRef< C > | allocateVolume (carto::VolumeRef< AimsRGBA > in) |
![]() | |
template<typename T > | |
void | computeInputDynMin (carto::VolumeRef< T > in, int ch=0) |
template<typename T > | |
void | computeInputDynMax (carto::VolumeRef< T > in, int ch=0) |
template<typename T > | |
void | computeInputTypeMin () |
template<typename T > | |
void | computeInputTypeMax () |
template<typename C > | |
void | computeOutputMin () |
template<typename C > | |
void | computeOutputMax () |
void | AB () |
template<typename T , typename C > | |
void | computeRuntimeMinMax (carto::VolumeRef< T > in, int ch=0) |
template<> | |
void | computeInputDynMin (carto::VolumeRef< AimsRGB > in, int ch) |
template<> | |
void | computeInputDynMax (carto::VolumeRef< AimsRGB > in, int ch) |
template<> | |
void | computeInputTypeMin () |
template<> | |
void | computeInputTypeMax () |
template<> | |
void | computeInputDynMin (carto::VolumeRef< AimsRGBA > in, int ch) |
template<> | |
void | computeInputDynMax (carto::VolumeRef< AimsRGBA > in, int ch) |
template<> | |
void | computeInputTypeMin () |
template<> | |
void | computeInputTypeMax () |
template<> | |
void | computeInputDynMin (carto::VolumeRef< AimsHSV > in, int ch) |
template<> | |
void | computeInputDynMax (carto::VolumeRef< AimsHSV > in, int ch) |
template<> | |
void | computeInputTypeMin () |
template<> | |
void | computeInputTypeMax () |
Additional Inherited Members | |
![]() | |
bool | _rescale |
double | _imin |
double | _imax |
double | _omin |
double | _omax |
bool | _iminset |
bool | _imaxset |
bool | _ominset |
bool | _omaxset |
bool | _dynlimits |
double | _a |
double | _b |
bool | _abset |
Definition at line 1073 of file channelextractor.h.
|
inline |
Definition at line 1076 of file channelextractor.h.
|
inlinevirtual |
Definition at line 1079 of file channelextractor.h.
|
inlineprotected |
Definition at line 1206 of file channelextractor.h.
|
inline |
Definition at line 1119 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume().
|
inline |
Definition at line 1191 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannela().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelA | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1264 of file channelextractor.h.
void bio::ChannelExtractor< AimsRGBA, C >::getChannela | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1607 of file channelextractor.h.
|
inline |
Definition at line 1113 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelB().
|
inline |
Definition at line 1197 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelb().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelB | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1248 of file channelextractor.h.
void bio::ChannelExtractor< AimsRGBA, C >::getChannelb | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1653 of file channelextractor.h.
|
inline |
Definition at line 1137 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelCb().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelCb | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1340 of file channelextractor.h.
|
inline |
Definition at line 1143 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelCr().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelCr | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1363 of file channelextractor.h.
|
inline |
Definition at line 1107 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelG().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelG | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1232 of file channelextractor.h.
|
inline |
Definition at line 1149 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelH().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelH | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1386 of file channelextractor.h.
|
inline |
Definition at line 1185 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelL().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelL | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1567 of file channelextractor.h.
|
inline |
Definition at line 1101 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelR().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelR | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1216 of file channelextractor.h.
|
inline |
Definition at line 1125 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelRGBNorm().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelRGBNorm | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1280 of file channelextractor.h.
|
inline |
Definition at line 1155 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelS().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelS | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1413 of file channelextractor.h.
|
inline |
Definition at line 1161 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelV().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelV | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1444 of file channelextractor.h.
References max().
|
inline |
Definition at line 1167 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelX().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelX | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1468 of file channelextractor.h.
|
inline |
Definition at line 1173 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelY().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelY | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1501 of file channelextractor.h.
|
inline |
Definition at line 1131 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelYl().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelYl | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1318 of file channelextractor.h.
|
inline |
Definition at line 1179 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelZ().
void bio::ChannelExtractor< AimsRGBA, C >::getChannelZ | ( | carto::VolumeRef< AimsRGBA > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1534 of file channelextractor.h.