MachineIntelligenceCore:Visualization
mic::opengl::visualization::RGB Class Reference

Class containing enumerators used in windows displaying RGB images (tensors). More...

#include <WindowRGBTensor.hpp>

Inheritance diagram for mic::opengl::visualization::RGB:

Public Types

enum  ChannelDisplay { Chan_SeparateColor, Chan_SeparateGrayscale, Chan_RGB }
 
enum  Normalization { Norm_None }
 
enum  Grid { Grid_None, Grid_Sample, Grid_Batch, Grid_Both }
 

Public Member Functions

std::string chan2str (ChannelDisplay chan_)
 
std::string norm2str (Normalization norm_)
 
std::string grid2str (Grid grid_)
 

Detailed Description

Class containing enumerators used in windows displaying RGB images (tensors).

Author
tkornuta

Definition at line 42 of file WindowRGBTensor.hpp.

Member Enumeration Documentation

Display mode.

Enumerator
Chan_SeparateColor 
Chan_SeparateGrayscale 
Chan_RGB 

Definition at line 48 of file WindowRGBTensor.hpp.

Types of grids to be displayed.

Enumerator
Grid_None 
Grid_Sample 
Grid_Batch 
Grid_Both 

Definition at line 93 of file WindowRGBTensor.hpp.

Normalization of the RGB (three channel) images.

Enumerator
Norm_None 

Definition at line 73 of file WindowRGBTensor.hpp.

Member Function Documentation

std::string mic::opengl::visualization::RGB::chan2str ( ChannelDisplay  chan_)
inline

Method returning description of a given type of channel display mode.

Definition at line 57 of file WindowRGBTensor.hpp.

References Chan_RGB, Chan_SeparateColor, and Chan_SeparateGrayscale.

Referenced by mic::opengl::visualization::WindowRGBTensor< eT >::keyhandlerToggleChannelDisplayMode().

std::string mic::opengl::visualization::RGB::grid2str ( Grid  grid_)
inline

Method returning description of a given grid display mode.

Definition at line 103 of file WindowRGBTensor.hpp.

References Grid_Batch, Grid_Both, Grid_None, and Grid_Sample.

Referenced by mic::opengl::visualization::WindowRGBTensor< eT >::keyhandlerGridMode().

std::string mic::opengl::visualization::RGB::norm2str ( Normalization  norm_)
inline

Method returning description of a given type of normalization.

Definition at line 81 of file WindowRGBTensor.hpp.

References Norm_None.


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