degate  0.1.2
Namespaces | Functions
ImageStatistics.h File Reference
#include <BoundingBox.h>
#include <ImageManipulation.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  degate
 

The namespace 'degate' is the namespace for everything that belongs to libdegate.


Functions

template<typename PixelTypeDst , typename ImageTypeSrc >
PixelTypeDst degate::get_pixel_as (typename std::shared_ptr< ImageTypeSrc > img, unsigned int x, unsigned int y)
template<typename ImageType >
ImageType::pixel_type degate::get_minimum (std::shared_ptr< ImageType > img)
 Get the minimum pixel value of a single channel image.
template<typename ImageType >
ImageType::pixel_type degate::get_maximum (std::shared_ptr< ImageType > img)
 Get the maximum pixel value of a single channel image.
template<typename ImageType >
double degate::average (std::shared_ptr< ImageType > img)
 Calculate the average pixel value of a single channel image.
template<typename ImageType >
double degate::average (std::shared_ptr< ImageType > img, unsigned int start_x, unsigned int start_y, unsigned int width, unsigned int height)
 Calculate the average pixel value of a single channel image.
template<typename ImageType >
void degate::average_and_stddev (std::shared_ptr< ImageType > img, unsigned int start_x, unsigned int start_y, unsigned int width, unsigned int height, double *avg, double *stddev)
 Calculate the average pixel value of a single channel image.