#include <math.h>
#include <vector>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | img |
the img module namespace | |
Functions | |
template<typename ScalarType > | |
void | img::_gaussian (const int &radius, const ScalarType &sigma, ScalarType *&matrix, int &matrix_side) |
template<typename ScalarType > | |
void | img::_laplacian_of_gaussian (const int &radius, const ScalarType &sigma, ScalarType *&matrix, int &matrix_side) |
template<int Channels, typename SrcScalarType , bool SrcSafe, typename DestScalarType , bool DestSafe> | |
void | img::boxFilter (const Image< Channels, SrcScalarType, SrcSafe > &source, Image< Channels, DestScalarType, DestSafe > &destination, int radius) |
template<int Channels, typename ScalarType1 , bool Safe1, typename ScalarType2 , bool Safe2> | |
void | img::channels_mean (const img::Image< Channels, ScalarType1, Safe1 > &channels_image, img::Image< 1, ScalarType2, Safe2 > &mean_image) |
template<int Channels, typename SrcScalarType , bool SrcSafe, typename DestScalarType , bool DestSafe> | |
void | img::convolution (const Image< Channels, SrcScalarType, SrcSafe > &source, Image< Channels, DestScalarType, DestSafe > &destination, const DestScalarType *matrix, int matrix_width, int matrix_height) |
template<int Channels, typename SrcScalarType , bool SrcSafe, typename DestScalarType , bool DestSafe> | |
void | img::DoGFilter (const Image< Channels, SrcScalarType, SrcSafe > &source, Image< Channels, DestScalarType, DestSafe > &destination, int radius1, int radius2) |
template<int Channels, typename SrcScalarType , bool SrcSafe, typename DestScalarType , bool DestSafe> | |
void | img::GaussianSmooth (const Image< Channels, SrcScalarType, SrcSafe > &source, Image< Channels, DestScalarType, DestSafe > &destination, const int radius) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getBoxFiltered (const Image< Channels, ScalarType, Safe > &image, int radius) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getConvolved (const Image< Channels, ScalarType, Safe > &image, const ScalarType *matrix, int matrix_width, int matrix_height) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getDoGFiltered (const Image< Channels, ScalarType, Safe > &image, int radius1, int radius2) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getGaussianSmoothed (const Image< Channels, ScalarType, Safe > &image, const int radius) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getLaplacianFiltered (const Image< Channels, ScalarType, Safe > &image) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getLoGFiltered (const Image< Channels, ScalarType, Safe > &image, int radius) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getMedianFiltered (const Image< Channels, ScalarType, Safe > &image, int radius) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getNormalized (const Image< Channels, ScalarType, Safe > &image) |
template<int Channels, typename ScalarType , bool Safe> | |
Image< Channels, ScalarType, Safe > | img::getUnsharpMasked (const Image< Channels, ScalarType, Safe > &image, int radius, float factor) |
template<int Channels, typename SrcScalarType , bool SrcSafe, typename DestScalarType , bool DestSafe> | |
void | img::LaplacianFilter (const Image< Channels, SrcScalarType, SrcSafe > &source, Image< Channels, DestScalarType, DestSafe > &destination) |
template<int Channels, typename SrcScalarType , bool SrcSafe, typename DestScalarType , bool DestSafe> | |
void | img::LoGFilter (const Image< Channels, SrcScalarType, SrcSafe > &source, Image< Channels, DestScalarType, DestSafe > &destination, int radius) |
template<int Channels, typename SrcScalarType , bool SrcSafe, typename DestScalarType , bool DestSafe> | |
void | img::medianFilter (const Image< Channels, SrcScalarType, SrcSafe > &source, Image< Channels, DestScalarType, DestSafe > &destination, int radius) |
template<int Channels, typename ScalarType , bool Safe> | |
void | img::normalize (Image< Channels, ScalarType, Safe > &image) |
template<int Channels, typename SrcScalarType , bool SrcSafe, typename DestScalarType , bool DestSafe> | |
void | img::UnsharpMask (const Image< Channels, SrcScalarType, SrcSafe > &source, Image< Channels, DestScalarType, DestSafe > &destination, int radius, float factor) |