
Definition in file Normalize.H.
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
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. | |
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. | |
|
||||||||||||
|
Normalize a grayscale float image, respecting the passed flags.
|
|
||||||||||||
|
Normalize an rgb float image, respecting the passed flags.
|
|
|
|
Try to preserve the full floating-point precision, if possible. For example, in the case of raster files, this flag would be expected to cause the image to be saved in some format with greater than 8-bit precision. Definition at line 61 of file Normalize.H. Referenced by RawVisualCortex::combineOutputs(), LeastSquaresLearner::getBiasMap(), mexFunction(), Stimulus2D::peekFrameSpec(), Stimulus2D::readFrame(), TrainingSet::save(), FeatureExtractor::save(), WinnerTakeAllTempNote::save1(), TaskRelevanceMapAdapter::save1(), AttentionGuidanceMap::save1(), saveRaw1(), FourierFeatureExtractor::saveRawIllustrationParts(), SpectralResidualChannel::saveResults(), RawVisualCortex::saveResults(), ScaleRemoveSurprise< FLOAT >::SRScomputeBayesFeatureBias(), Context::testFrame(), PnmWriter::writeFrame(), PngWriter::writeFrame(), and OutputMbariFrameSeries::writeMbariFloat(). |
|
|
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 main(), normalizeFloat(), normalizeFloatRgb(), and Context::testFrame(). |
1.4.4