Imageclass for an 8-bit gray level image. More...
#include <GrayLevelImageFloat.h>

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 | |
Imageclass for an 8-bit gray level image.
Definition at line 14 of file GrayLevelImageFloat.h.
| 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:
| width | horizontal size |
| height | vertical size |
| m | Pointer to master image of which the image becomes a subimage |
| xo | offset for horizontal position of subimage in master image |
| yo | offset 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.
| MultiElementImage< float, 1 > & GrayLevelImageFloat::asMultiElementImage | ( | ) |
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 | ) |
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 |
Reimplemented from puma2::TBaseImg< float >.
Definition at line 63 of file GrayLevelImageFloat.cpp.
MultiElementImage<float,1>* puma2::GrayLevelImageFloat::alt [private] |
reset internal IPL structures after resize
Definition at line 83 of file GrayLevelImageFloat.h.