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

#include <brainrat/utility/channelextractor.h>

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

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)
 
- 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< AimsRGB > 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< AimsRGB, C >

Definition at line 484 of file channelextractor.h.

Constructor & Destructor Documentation

◆ ChannelExtractor()

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

Definition at line 487 of file channelextractor.h.

◆ ~ChannelExtractor()

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

Definition at line 490 of file channelextractor.h.

Member Function Documentation

◆ allocateVolume()

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

Definition at line 610 of file channelextractor.h.

◆ getChannela() [1/2]

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

◆ getChannela() [2/2]

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

Definition at line 980 of file channelextractor.h.

◆ getChannelB() [1/2]

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

◆ getChannelb() [1/2]

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

◆ getChannelB() [2/2]

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

Definition at line 652 of file channelextractor.h.

◆ getChannelb() [2/2]

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

Definition at line 1026 of file channelextractor.h.

◆ getChannelCb() [1/2]

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

◆ getChannelCb() [2/2]

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

Definition at line 713 of file channelextractor.h.

◆ getChannelCr() [1/2]

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

◆ getChannelCr() [2/2]

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

Definition at line 736 of file channelextractor.h.

◆ getChannelG() [1/2]

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

◆ getChannelG() [2/2]

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

Definition at line 636 of file channelextractor.h.

◆ getChannelH() [1/2]

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

◆ getChannelH() [2/2]

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

Definition at line 759 of file channelextractor.h.

◆ getChannelL() [1/2]

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

◆ getChannelL() [2/2]

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

Definition at line 940 of file channelextractor.h.

◆ getChannelR() [1/2]

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

◆ getChannelR() [2/2]

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

Definition at line 620 of file channelextractor.h.

◆ getChannelRGBNorm() [1/2]

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

◆ getChannelRGBNorm() [2/2]

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

Definition at line 668 of file channelextractor.h.

◆ getChannelS() [1/2]

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

◆ getChannelS() [2/2]

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

Definition at line 786 of file channelextractor.h.

References max(), and min().

◆ getChannelV() [1/2]

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

◆ getChannelV() [2/2]

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

Definition at line 817 of file channelextractor.h.

References max().

◆ getChannelX() [1/2]

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

◆ getChannelX() [2/2]

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

Definition at line 841 of file channelextractor.h.

◆ getChannelY() [1/2]

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

◆ getChannelY() [2/2]

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

Definition at line 874 of file channelextractor.h.

◆ getChannelYl() [1/2]

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

◆ getChannelYl() [2/2]

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

Definition at line 691 of file channelextractor.h.

◆ getChannelZ() [1/2]

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

◆ getChannelZ() [2/2]

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

Definition at line 907 of file channelextractor.h.


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