brainrat-private
5.1.2
|
#include <brainrat/utility/channelextractor.h>
Public Member Functions | |
ChannelExtractor () | |
virtual | ~ChannelExtractor () |
void | getChannelR (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelG (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelB (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelRGBNorm (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelYl (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelCb (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelCr (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelH (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelS (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelV (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelX (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelY (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelZ (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelL (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannela (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
void | getChannelb (carto::VolumeRef< AimsRGB >, carto::VolumeRef< C >) |
carto::VolumeRef< C > | getChannelR (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelG (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelB (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelRGBNorm (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelYl (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelCb (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelCr (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelH (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelS (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelV (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelX (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelY (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelZ (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelL (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannela (carto::VolumeRef< AimsRGB > in) |
carto::VolumeRef< C > | getChannelb (carto::VolumeRef< AimsRGB > 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< AimsRGB > 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 484 of file channelextractor.h.
|
inline |
Definition at line 487 of file channelextractor.h.
|
inlinevirtual |
Definition at line 490 of file channelextractor.h.
|
inlineprotected |
Definition at line 610 of file channelextractor.h.
|
inline |
Definition at line 595 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannela().
void bio::ChannelExtractor< AimsRGB, C >::getChannela | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 980 of file channelextractor.h.
|
inline |
Definition at line 523 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelB().
|
inline |
Definition at line 601 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelb().
void bio::ChannelExtractor< AimsRGB, C >::getChannelB | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 652 of file channelextractor.h.
void bio::ChannelExtractor< AimsRGB, C >::getChannelb | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 1026 of file channelextractor.h.
|
inline |
Definition at line 541 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelCb().
void bio::ChannelExtractor< AimsRGB, C >::getChannelCb | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 713 of file channelextractor.h.
|
inline |
Definition at line 547 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelCr().
void bio::ChannelExtractor< AimsRGB, C >::getChannelCr | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 736 of file channelextractor.h.
|
inline |
Definition at line 517 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelG().
void bio::ChannelExtractor< AimsRGB, C >::getChannelG | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 636 of file channelextractor.h.
|
inline |
Definition at line 553 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelH().
void bio::ChannelExtractor< AimsRGB, C >::getChannelH | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 759 of file channelextractor.h.
|
inline |
Definition at line 589 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelL().
void bio::ChannelExtractor< AimsRGB, C >::getChannelL | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 940 of file channelextractor.h.
|
inline |
Definition at line 511 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelR().
void bio::ChannelExtractor< AimsRGB, C >::getChannelR | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 620 of file channelextractor.h.
|
inline |
Definition at line 529 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelRGBNorm().
void bio::ChannelExtractor< AimsRGB, C >::getChannelRGBNorm | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 668 of file channelextractor.h.
|
inline |
Definition at line 559 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelS().
void bio::ChannelExtractor< AimsRGB, C >::getChannelS | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 786 of file channelextractor.h.
|
inline |
Definition at line 565 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelV().
void bio::ChannelExtractor< AimsRGB, C >::getChannelV | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 817 of file channelextractor.h.
References max().
|
inline |
Definition at line 571 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelX().
void bio::ChannelExtractor< AimsRGB, C >::getChannelX | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 841 of file channelextractor.h.
|
inline |
Definition at line 577 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelY().
void bio::ChannelExtractor< AimsRGB, C >::getChannelY | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 874 of file channelextractor.h.
|
inline |
Definition at line 535 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelYl().
void bio::ChannelExtractor< AimsRGB, C >::getChannelYl | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 691 of file channelextractor.h.
|
inline |
Definition at line 583 of file channelextractor.h.
References bio::ChannelExtractor< T, C >::allocateVolume(), and bio::ChannelExtractor< T, C >::getChannelZ().
void bio::ChannelExtractor< AimsRGB, C >::getChannelZ | ( | carto::VolumeRef< AimsRGB > | in, |
carto::VolumeRef< C > | out | ||
) |
Definition at line 907 of file channelextractor.h.