My Project
normalize.hh File Reference
#include <cmath>
#include <iostream>
#include <memory>
#include <mia/core/filter.hh>
#include <mia/core/msgstream.hh>
Include dependency graph for normalize.hh:

Go to the source code of this file.

Functions

template<class Image >
std::shared_ptr< Image > normalize (const Image &image)
 a normalizer for image intensities
 

Function Documentation

◆ normalize()

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
Imagethe image type
Parameters
imagethe input image
Returns
the normalized image

Definition at line 135 of file normalize.hh.