CVR-Lib last update 20 Sep 2009

cvr::viewer2D::viewer2D::information Class Reference

Information block. More...

#include <cvrViewer2D.h>

Inheritance diagram for cvr::viewer2D::viewer2D::information:

Inheritance graph
[legend]
Collaboration diagram for cvr::viewer2D::viewer2D::information:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 information ()
 information (const information &other)
virtual ~information ()
informationcopy (const information &other)
virtual informationclone () const
void compute (const matrix< rgbaPixel > &mat)
void compute (const matrix< ubyte > &mat)
void compute (const matrix< float > &mat)
void compute (const matrix< int32 > &mat)

Public Attributes

eDataType type
ipoint size
float minI
float maxI
float averageI
float stdDeviation
rgbaPixel minRGB
rgbaPixel maxRGB
frgbPixel averageRGB
fmatrix covarianceRGB


Detailed Description

Information block.

This is the parent class for all information blocks used to transmit some data to the configuration dialogs, which are to be displayed in a read-only manner.

It has a simplified interface if compared with cvr::object


Constructor & Destructor Documentation

cvr::viewer2D::viewer2D::information::information (  ) 

Default constructor.

Reimplemented from cvr::viewerBase::viewerBase::information.

cvr::viewer2D::viewer2D::information::information ( const information other  ) 

Copy constructor.

virtual cvr::viewer2D::viewer2D::information::~information (  )  [virtual]

Virtual destructor.

Reimplemented from cvr::viewerBase::viewerBase::information.


Member Function Documentation

virtual information* cvr::viewer2D::viewer2D::information::clone (  )  const [virtual]

void cvr::viewer2D::viewer2D::information::compute ( const matrix< int32 > &  mat  ) 

Initialize all attributes from the given channel.

void cvr::viewer2D::viewer2D::information::compute ( const matrix< float > &  mat  ) 

Initialize all attributes from the given channel.

void cvr::viewer2D::viewer2D::information::compute ( const matrix< ubyte > &  mat  ) 

Initialize all attributes from the given channel.

void cvr::viewer2D::viewer2D::information::compute ( const matrix< rgbaPixel > &  mat  ) 

Initialize all attributes from the given channel.

information& cvr::viewer2D::viewer2D::information::copy ( const information other  ) 

Copy method.


Member Data Documentation

float cvr::viewer2D::viewer2D::information::averageI

Intensity average.

frgbPixel cvr::viewer2D::viewer2D::information::averageRGB

RGB average.

fmatrix cvr::viewer2D::viewer2D::information::covarianceRGB

RGB covariance matrix.

float cvr::viewer2D::viewer2D::information::maxI

Maximum intensity value.

rgbaPixel cvr::viewer2D::viewer2D::information::maxRGB

Maximum RGB components.

float cvr::viewer2D::viewer2D::information::minI

Minimum intensity value.

rgbaPixel cvr::viewer2D::viewer2D::information::minRGB

Minimum RGB components.

ipoint cvr::viewer2D::viewer2D::information::size

Size of the displayed image.

float cvr::viewer2D::viewer2D::information::stdDeviation

Standard deviation of intensity.

eDataType cvr::viewer2D::viewer2D::information::type

Data type being displayed.

It indicates if it is a color image a channel8, a channel or a label mask.


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

Generated on Sun Sep 20 22:09:10 2009 for CVR-Lib by Doxygen 1.5.8