#include <cmath>
#include <iostream>
#include <memory>
#include <mia/core/filter.hh>
#include <mia/core/msgstream.hh>
Go to the source code of this file.
|
| template<class Image > |
| std::shared_ptr< Image > | normalize (const Image &image) |
| | a normalizer for image intensities More...
|
| |
| #define ASSERT_TYPE_EQUAL |
( |
|
A, |
|
|
|
B |
|
) |
| |
Value:{ \
A *a; B *b; \
__assert_type_equal(a,b); \
}
template<class Image >
| std::shared_ptr<Image > normalize |
( |
const Image & |
image | ) |
|
a normalizer for image intensities
The intensities of the input image are normalized to have a zero mean and a deviation of one. The output image is of the same dimensions as the input image and has pixel type float.
- Template Parameters
-
- Parameters
-
- Returns
- the normalized image
Definition at line 131 of file normalize.hh.
References filter().