brainrat-private  5.1.2
bio::ChannelExtractor< AimsRGBA, C > Class Template Reference

#include <brainrat/utility/channelextractor.h>

Inheritance diagram for bio::ChannelExtractor< AimsRGBA, C >:
Collaboration diagram for bio::ChannelExtractor< AimsRGBA, C >:

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)
 
- Public Member Functions inherited from bio::Rescaler
 Rescaler ()
 
virtual ~Rescaler ()
 
template<typename T , typename 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)
 
- Protected Member Functions inherited from bio::Rescaler
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

- Protected Attributes inherited from bio::Rescaler
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
 

Detailed Description

template<typename C>
class bio::ChannelExtractor< AimsRGBA, C >

Definition at line 1073 of file channelextractor.h.

Constructor & Destructor Documentation

◆ ChannelExtractor()

template<typename C >
bio::ChannelExtractor< AimsRGBA, C >::ChannelExtractor ( )
inline

Definition at line 1076 of file channelextractor.h.

◆ ~ChannelExtractor()

template<typename C >
virtual bio::ChannelExtractor< AimsRGBA, C >::~ChannelExtractor ( )
inlinevirtual

Definition at line 1079 of file channelextractor.h.

Member Function Documentation

◆ allocateVolume()

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::allocateVolume ( carto::VolumeRef< AimsRGBA >  in)
inlineprotected

Definition at line 1206 of file channelextractor.h.

◆ getChannelA() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelA ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannela() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannela ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelA() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelA ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1264 of file channelextractor.h.

◆ getChannela() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannela ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1607 of file channelextractor.h.

◆ getChannelB() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelB ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelb() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelb ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelB() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelB ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1248 of file channelextractor.h.

◆ getChannelb() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelb ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1653 of file channelextractor.h.

◆ getChannelCb() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelCb ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelCb() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelCb ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1340 of file channelextractor.h.

◆ getChannelCr() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelCr ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelCr() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelCr ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1363 of file channelextractor.h.

◆ getChannelG() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelG ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelG() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelG ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1232 of file channelextractor.h.

◆ getChannelH() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelH ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelH() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelH ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1386 of file channelextractor.h.

◆ getChannelL() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelL ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelL() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelL ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1567 of file channelextractor.h.

◆ getChannelR() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelR ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelR() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelR ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1216 of file channelextractor.h.

◆ getChannelRGBNorm() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelRGBNorm ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelRGBNorm() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelRGBNorm ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1280 of file channelextractor.h.

◆ getChannelS() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelS ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelS() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelS ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1413 of file channelextractor.h.

References max(), and min().

◆ getChannelV() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelV ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelV() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelV ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1444 of file channelextractor.h.

References max().

◆ getChannelX() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelX ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelX() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelX ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1468 of file channelextractor.h.

◆ getChannelY() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelY ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelY() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelY ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1501 of file channelextractor.h.

◆ getChannelYl() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelYl ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelYl() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelYl ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1318 of file channelextractor.h.

◆ getChannelZ() [1/2]

template<typename C >
carto::VolumeRef<C> bio::ChannelExtractor< AimsRGBA, C >::getChannelZ ( carto::VolumeRef< AimsRGBA >  in)
inline

◆ getChannelZ() [2/2]

template<typename C >
void bio::ChannelExtractor< AimsRGBA, C >::getChannelZ ( carto::VolumeRef< AimsRGBA >  in,
carto::VolumeRef< C >  out 
)

Definition at line 1534 of file channelextractor.h.


The documentation for this class was generated from the following file: