Public Member Functions | Protected Member Functions | Private Attributes
puma2::GrayLevelImageFloat Class Reference

Imageclass for an 8-bit gray level image. More...

#include <GrayLevelImageFloat.h>

Inheritance diagram for puma2::GrayLevelImageFloat:
Inheritance graph
[legend]

List of all members.

Public Member Functions

MultiElementImage< float, 1 > & asMultiElementImage ()
double getElementTypeMaximum () const
double getElementTypeMinimum () const
 GrayLevelImageFloat (int xwidth=0, int height=0)
 GrayLevelImageFloat (const GrayLevelImageFloat &)
 GrayLevelImageFloat (int width, int height, GrayLevelImageFloat *m, int xo, int yo)
 operator MultiElementImage< float, 1 > & ()
void operator= (const GrayLevelImageFloat &g)
void readFromFile (const char *fileName)
void writeToFile (const char *fileName) const
 ~GrayLevelImageFloat ()

Protected Member Functions

virtual void reset ()

Private Attributes

MultiElementImage< float, 1 > * alt
 reset internal IPL structures after resize

Detailed Description

Imageclass for an 8-bit gray level image.

Definition at line 14 of file GrayLevelImageFloat.h.


Constructor & Destructor Documentation

GrayLevelImageFloat::GrayLevelImageFloat ( int  xwidth = 0,
int  height = 0 
)

Default constructor.

Definition at line 9 of file GrayLevelImageFloat.cpp.

Definition at line 25 of file GrayLevelImageFloat.cpp.

GrayLevelImageFloat::GrayLevelImageFloat ( int  width,
int  height,
GrayLevelImageFloat m,
int  xo,
int  yo 
)

Subimage constructor:

Parameters:
widthhorizontal size
heightvertical size
mPointer to master image of which the image becomes a subimage
xooffset for horizontal position of subimage in master image
yooffset for vertical position of subimage in master image

The constructor will do all required checks on the sizes of the images.

Definition at line 17 of file GrayLevelImageFloat.cpp.

Destructor

Definition at line 36 of file GrayLevelImageFloat.cpp.


Member Function Documentation

Alternative access method to the image data as MultiElementImage.

Definition at line 43 of file GrayLevelImageFloat.cpp.

double puma2::GrayLevelImageFloat::getElementTypeMaximum ( ) const [inline, virtual]

see Image::getElementTypeMaximum()

Reimplemented from puma2::TBaseImg< float >.

Definition at line 47 of file GrayLevelImageFloat.h.

double puma2::GrayLevelImageFloat::getElementTypeMinimum ( ) const [inline, virtual]

see Image::getElementTypeMinimum()

Reimplemented from puma2::TBaseImg< float >.

Definition at line 44 of file GrayLevelImageFloat.h.

puma2::GrayLevelImageFloat::operator MultiElementImage< float, 1 > & ( ) [inline]

automatic conversion

Advantage: a GrayLevelImageFloat can be passed to a function such as Test3<float,1> directly

Disadvantage: may be confusing as for the overloaded function void test4(SingleElementImage<float>& g); // automatic choice void test4(MultiElementImage<float,1>& g); // needs asMultiElementImage()

Definition at line 74 of file GrayLevelImageFloat.h.

void puma2::GrayLevelImageFloat::operator= ( const GrayLevelImageFloat g) [inline]

Definition at line 76 of file GrayLevelImageFloat.h.

void GrayLevelImageFloat::readFromFile ( const char *  fileName)

see Image::readFromFile()

Reimplemented from puma2::TBaseImg< float >.

Definition at line 48 of file GrayLevelImageFloat.cpp.

void GrayLevelImageFloat::reset ( ) [protected, virtual]

Definition at line 88 of file GrayLevelImageFloat.cpp.

void GrayLevelImageFloat::writeToFile ( const char *  fileName) const

see Image::writeToFile()

Reimplemented from puma2::TBaseImg< float >.

Definition at line 63 of file GrayLevelImageFloat.cpp.


Member Data Documentation

reset internal IPL structures after resize

Definition at line 83 of file GrayLevelImageFloat.h.


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


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43