#include <ImLib3D/ImageProcessor.hpp>
#include <map>
#include <algorithm>
Include dependency graph for ImageStats.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | IP3D |
Functions | |
template<class ImageType> | |
void | Average (const ImageType &src, typename ImageType::value_type &average) |
template<class ImageType> | |
void | AverageAndVariance (const ImageType &src, double &average, double &variance) |
template<class ImageType> | |
void | Median (const ImageType &src, double &res, double part=.5, double precision=-.1) |
Definition in file ImageStats.hpp.
|
#&Average&# Computes the average and the variance of an images. Only for positions where mask is not 0. Definition at line 40 of file ImageStats.hpp. |
|
#&AverageAndVariance&# Computes the average and the variance of an images. Only for positions where mask is not 0. Definition at line 60 of file ImageStats.hpp. |
|
#&Median&# Median value of an image, or more generaly: portion of histogram. This is NOT a median filter (see MedianFilter). For 0<=p<=1, Image I. Computes value v of image for which Porba(I(P)<v)=p. For exmaple, for p=.5, v=median value of I. Uses mask.
Definition at line 102 of file ImageStats.hpp. Referenced by IP3D::RobustAverageAndVariance(). |