Normalize.H File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Image< float > normalizeFloat (const Image< float > &image, const int flags)
 Normalize a grayscale float image, respecting the passed flags.
Image< PixRGB< float > > normalizeFloatRgb (const Image< PixRGB< float > > &image, const int flags)
 Normalize an rgb float image, respecting the passed flags.

Variables

Flags for float normalization

const int FLOAT_NORM_0_255 = 1 << 0
 Normalize a float image into the range 0..255.
const int FLOAT_NORM_WITH_SCALE = 1 << 1
 Display the pre-normalization float range to the user somehow.
const int FLOAT_NORM_PRESERVE = 1 << 2
 Try to preserve the full floating-point precision, if possible.

Detailed Description

Definition in file Normalize.H.


Function Documentation

Image<float> normalizeFloat ( const Image< float > &  image,
const int  flags 
)
Image<PixRGB<float> > normalizeFloatRgb ( const Image< PixRGB< float > > &  image,
const int  flags 
)

Normalize an rgb float image, respecting the passed flags.

Definition at line 95 of file Normalize.C.

References Image< T >::beginw(), Image< T >::clear(), Image< T >::endw(), FLOAT_NORM_0_255, FLOAT_NORM_WITH_SCALE, getMinMaxC(), inplacePaste(), max(), NO_INIT, sformat(), and writeText().

Referenced by GenericFrame::asRgbU8Layout().


Variable Documentation

const int FLOAT_NORM_0_255 = 1 << 0
const int FLOAT_NORM_PRESERVE = 1 << 2
const int FLOAT_NORM_WITH_SCALE = 1 << 1

Display the pre-normalization float range to the user somehow.

The mode of this display may depend on the exact FrameOstream subclass: it might display the original range on the console, or it draw the original range into the new image, or it might display the range in a GUI text box, etc.

Definition at line 55 of file Normalize.H.

Referenced by normalizeFloat(), and normalizeFloatRgb().

Generated on Sun May 8 08:42:42 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3