MRaster lib 21.0.0.0
Image Processing Library
Loading...
Searching...
No Matches
mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterMonoIntensity< inRamCanvasT, outColorChanT > Class Template Reference

Convert a ramCanvasTpl to a greyscale image using colorT::intensity(). More...

#include <ramCanvasTpl.hpp>

Inheritance diagram for mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterMonoIntensity< inRamCanvasT, outColorChanT >:
Collaboration diagram for mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterMonoIntensity< inRamCanvasT, outColorChanT >:

Public Types

typedef colorTpl< outColorChanT, 1 > colorType
 

Public Member Functions

 rcConverterMonoIntensity (inRamCanvasT &aRC)
 
colorType getPxColorNC (typename inRamCanvasT::coordIntType x, typename inRamCanvasT::coordIntType y)
 
- Public Member Functions inherited from mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterHomoBase< inRamCanvasT >
 rcConverterHomoBase (inRamCanvasT &aRC)
 
bool isIntAxOrientationNaturalX ()
 
bool isIntAxOrientationNaturalY ()
 
inRamCanvasT::coordIntType getNumPixX ()
 
inRamCanvasT::coordIntType getNumPixY ()
 

Additional Inherited Members

- Public Attributes inherited from mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterHomoBase< inRamCanvasT >
inRamCanvasT & attachedRC
 

Detailed Description

template<class colorT, class intCrdT, class fltCrdT, bool enableDrawModes>
template<class inRamCanvasT, class outColorChanT>
class mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterMonoIntensity< inRamCanvasT, outColorChanT >

Convert a ramCanvasTpl to a greyscale image using colorT::intensity().

Definition at line 216 of file ramCanvasTpl.hpp.

Member Typedef Documentation

◆ colorType

template<class colorT , class intCrdT , class fltCrdT , bool enableDrawModes>
template<class inRamCanvasT , class outColorChanT >
typedef colorTpl<outColorChanT, 1> mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterMonoIntensity< inRamCanvasT, outColorChanT >::colorType

Definition at line 219 of file ramCanvasTpl.hpp.

Constructor & Destructor Documentation

◆ rcConverterMonoIntensity()

template<class colorT , class intCrdT , class fltCrdT , bool enableDrawModes>
template<class inRamCanvasT , class outColorChanT >
mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterMonoIntensity< inRamCanvasT, outColorChanT >::rcConverterMonoIntensity ( inRamCanvasT & aRC)
inline

Definition at line 218 of file ramCanvasTpl.hpp.

Member Function Documentation

◆ getPxColorNC()

template<class colorT , class intCrdT , class fltCrdT , bool enableDrawModes>
template<class inRamCanvasT , class outColorChanT >
colorType mjr::ramCanvasTpl< colorT, intCrdT, fltCrdT, enableDrawModes >::rcConverterMonoIntensity< inRamCanvasT, outColorChanT >::getPxColorNC ( typename inRamCanvasT::coordIntType x,
typename inRamCanvasT::coordIntType y )
inline

Definition at line 220 of file ramCanvasTpl.hpp.


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