iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Image Statistics

Functions for computing statistics on Image objects

See Also
Image macros to facilitate promotion of pixel types

Functions

template<class PixType >
Point2D< int > nrt::findMaxLocation (Image< PixType > const &src)
 Find the maximum location in the image.
 
template<class PixType >
Point2D< int > nrt::findMinLocation (Image< PixType > const &src)
 Find the minimum location in the image.
 
template<NRT_PROMOTE_PIX(double) >
DestType const nrt::mean (Image< PixType > const &im)
 Get the average of all input pixels.
 
template<NRT_PROMOTE_PIX(double) >
DestType const nrt::stdev (Image< PixType > const &im)
 Compute standard deviation of pixel values over image.
 
template<NRT_PROMOTE_PIX(double) >
DestType const nrt::variance (Image< PixType > const &im)
 Compute variance of pixel values over image.
 
template<NRT_PROMOTE_PIX(double) >
DestType const nrt::sum (Image< PixType > const &im)
 Returns the sum of all input pixels.
 
template<class promo = float, class T >
nrt::promote< T, promo >::type
const 
nrt::normalizedCrossCorrelation (Image< nrt::PixGray< T > > const &im1, Image< nrt::PixGray< T > > const &im2)
 Returns the normalized cross-correlation between two images of same dims, images should have zero mean.