brainrat-private 6.0.4
bio::ChannelExtractor< T, C > Class Template Reference

#include <brainrat/utility/channelextractor.h>

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

Classes

class  not_impl_exception
 

Public Member Functions

 ChannelExtractor ()
 
virtual ~ChannelExtractor ()
 
void getChannelR (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelG (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelB (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelRGBNorm (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelYl (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelCb (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelCr (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelH (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelS (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelV (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelX (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelY (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelZ (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelL (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannela (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
void getChannelb (carto::VolumeRef< T >, carto::VolumeRef< C >)
 
carto::VolumeRef< C > getChannelR (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelG (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelB (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelRGBNorm (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelYl (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelCb (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelCr (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelH (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelS (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelV (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelX (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelY (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelZ (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelL (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannela (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > getChannelb (carto::VolumeRef< T > in)
 
carto::VolumeRef< C > allocateVolume (carto::VolumeRef< T > 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 ()
 

Additional Inherited Members

- 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 ()
 
- 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 T, typename C>
class bio::ChannelExtractor< T, C >

Definition at line 333 of file channelextractor.h.

Constructor & Destructor Documentation

◆ ChannelExtractor()

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

Definition at line 336 of file channelextractor.h.

References bio::Rescaler::Rescaler().

◆ ~ChannelExtractor()

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

Definition at line 339 of file channelextractor.h.

Member Function Documentation

◆ allocateVolume()

template<typename T, typename C>
carto::VolumeRef< C > bio::ChannelExtractor< T, C >::allocateVolume ( carto::VolumeRef< T > in)
inline

Definition at line 472 of file channelextractor.h.

Referenced by bio::ChannelExtractor< AimsRGBA, C >::getChannelA(), getChannela(), bio::ChannelExtractor< AimsHSV, C >::getChannela(), bio::ChannelExtractor< AimsRGB, C >::getChannela(), bio::ChannelExtractor< AimsRGBA, C >::getChannela(), getChannelB(), bio::ChannelExtractor< AimsHSV, C >::getChannelB(), bio::ChannelExtractor< AimsRGB, C >::getChannelB(), bio::ChannelExtractor< AimsRGBA, C >::getChannelB(), getChannelb(), bio::ChannelExtractor< AimsHSV, C >::getChannelb(), bio::ChannelExtractor< AimsRGB, C >::getChannelb(), bio::ChannelExtractor< AimsRGBA, C >::getChannelb(), getChannelCb(), bio::ChannelExtractor< AimsHSV, C >::getChannelCb(), bio::ChannelExtractor< AimsRGB, C >::getChannelCb(), bio::ChannelExtractor< AimsRGBA, C >::getChannelCb(), getChannelCr(), bio::ChannelExtractor< AimsHSV, C >::getChannelCr(), bio::ChannelExtractor< AimsRGB, C >::getChannelCr(), bio::ChannelExtractor< AimsRGBA, C >::getChannelCr(), getChannelG(), bio::ChannelExtractor< AimsHSV, C >::getChannelG(), bio::ChannelExtractor< AimsRGB, C >::getChannelG(), bio::ChannelExtractor< AimsRGBA, C >::getChannelG(), getChannelH(), bio::ChannelExtractor< AimsHSV, C >::getChannelH(), bio::ChannelExtractor< AimsRGB, C >::getChannelH(), bio::ChannelExtractor< AimsRGBA, C >::getChannelH(), getChannelL(), bio::ChannelExtractor< AimsHSV, C >::getChannelL(), bio::ChannelExtractor< AimsRGB, C >::getChannelL(), bio::ChannelExtractor< AimsRGBA, C >::getChannelL(), getChannelR(), bio::ChannelExtractor< AimsHSV, C >::getChannelR(), bio::ChannelExtractor< AimsRGB, C >::getChannelR(), bio::ChannelExtractor< AimsRGBA, C >::getChannelR(), getChannelRGBNorm(), bio::ChannelExtractor< AimsHSV, C >::getChannelRGBNorm(), bio::ChannelExtractor< AimsRGB, C >::getChannelRGBNorm(), bio::ChannelExtractor< AimsRGBA, C >::getChannelRGBNorm(), getChannelS(), bio::ChannelExtractor< AimsHSV, C >::getChannelS(), bio::ChannelExtractor< AimsRGB, C >::getChannelS(), bio::ChannelExtractor< AimsRGBA, C >::getChannelS(), getChannelV(), bio::ChannelExtractor< AimsHSV, C >::getChannelV(), bio::ChannelExtractor< AimsRGB, C >::getChannelV(), bio::ChannelExtractor< AimsRGBA, C >::getChannelV(), getChannelX(), bio::ChannelExtractor< AimsHSV, C >::getChannelX(), bio::ChannelExtractor< AimsRGB, C >::getChannelX(), bio::ChannelExtractor< AimsRGBA, C >::getChannelX(), getChannelY(), bio::ChannelExtractor< AimsHSV, C >::getChannelY(), bio::ChannelExtractor< AimsRGB, C >::getChannelY(), bio::ChannelExtractor< AimsRGBA, C >::getChannelY(), getChannelYl(), bio::ChannelExtractor< AimsHSV, C >::getChannelYl(), bio::ChannelExtractor< AimsRGB, C >::getChannelYl(), bio::ChannelExtractor< AimsRGBA, C >::getChannelYl(), getChannelZ(), bio::ChannelExtractor< AimsHSV, C >::getChannelZ(), bio::ChannelExtractor< AimsRGB, C >::getChannelZ(), and bio::ChannelExtractor< AimsRGBA, C >::getChannelZ().

◆ getChannela() [1/2]

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

Definition at line 457 of file channelextractor.h.

References allocateVolume(), and getChannela().

◆ getChannela() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannela ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelB() [1/2]

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

Definition at line 385 of file channelextractor.h.

References allocateVolume(), and getChannelB().

◆ getChannelB() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelB ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelb() [1/2]

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

Definition at line 463 of file channelextractor.h.

References allocateVolume(), and getChannelb().

◆ getChannelb() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelb ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelCb() [1/2]

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

Definition at line 403 of file channelextractor.h.

References allocateVolume(), and getChannelCb().

◆ getChannelCb() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelCb ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelCr() [1/2]

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

Definition at line 409 of file channelextractor.h.

References allocateVolume(), and getChannelCr().

◆ getChannelCr() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelCr ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelG() [1/2]

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

Definition at line 379 of file channelextractor.h.

References allocateVolume(), and getChannelG().

◆ getChannelG() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelG ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelH() [1/2]

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

Definition at line 415 of file channelextractor.h.

References allocateVolume(), and getChannelH().

◆ getChannelH() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelH ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelL() [1/2]

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

Definition at line 451 of file channelextractor.h.

References allocateVolume(), and getChannelL().

◆ getChannelL() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelL ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelR() [1/2]

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

Definition at line 373 of file channelextractor.h.

References allocateVolume(), and getChannelR().

◆ getChannelR() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelR ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelRGBNorm() [1/2]

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

Definition at line 391 of file channelextractor.h.

References allocateVolume(), and getChannelRGBNorm().

◆ getChannelRGBNorm() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelRGBNorm ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelS() [1/2]

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

Definition at line 421 of file channelextractor.h.

References allocateVolume(), and getChannelS().

◆ getChannelS() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelS ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelV() [1/2]

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

Definition at line 427 of file channelextractor.h.

References allocateVolume(), and getChannelV().

◆ getChannelV() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelV ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelX() [1/2]

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

Definition at line 433 of file channelextractor.h.

References allocateVolume(), and getChannelX().

◆ getChannelX() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelX ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelY() [1/2]

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

Definition at line 439 of file channelextractor.h.

References allocateVolume(), and getChannelY().

◆ getChannelY() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelY ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelYl() [1/2]

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

Definition at line 397 of file channelextractor.h.

References allocateVolume(), and getChannelYl().

◆ getChannelYl() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelYl ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

◆ getChannelZ() [1/2]

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

Definition at line 445 of file channelextractor.h.

References allocateVolume(), and getChannelZ().

◆ getChannelZ() [2/2]

template<typename T, typename C>
void bio::ChannelExtractor< T, C >::getChannelZ ( carto::VolumeRef< T > ,
carto::VolumeRef< C >  )
inline

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