#include "mimasconfig.h"
#include <cassert>
#include <float.h>
#include <iostream>
#include <vector>
#include <algorithm>
#include <cstdlib>
#include <values.h>
#include <cmath>
#include "image.h"
#include "image_conv.h"
#include "image_op.h"
#include "rgba.h"
#include "prop.h"
#include "property_image.h"
#include "image_draw.h"
#include "image_funcs.tcc"
Include dependency graph for image_funcs.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | mimas |
Functions | |
template<typename T, typename TPtr> | |
T | mimas::min_val (const const_image_ref< T, TPtr > &image) |
template<typename T, typename TPtr> | |
T | mimas::max_val (const const_image_ref< T, TPtr > &image) |
template<typename T> | |
image_ref< T > & | mimas::normaliseIt (image_ref< T > &im, const T &val1, const T &val2) |
template<typename T, typename TPtr> | |
image< T > | mimas::normalise (const const_image_ref< T, TPtr > &im, const T &val1, const T &val2) |
template<typename T> | |
void | mimas::equaliseIt (image_ref< T > &imagein) |
template<typename T> | |
image_ref< T > & | mimas::bilevelIt (image_ref< T > &im, T threshval, T val1, T val2) |
template<typename T, typename TPtr> | |
image< T > | mimas::bilevel (const const_image_ref< T, TPtr > &im, T threshval, T val1, T val2) |
template<typename T> | |
image_ref< T > & | mimas::thresholdIt (image_ref< T > &im, T threshval) |
template<typename T, typename TPtr> | |
image< T > | mimas::threshold (const const_image_ref< T, TPtr > &im, T threshval) |
template<typename T> | |
image_ref< T > & | mimas::bilevel_doubleIt (image_ref< T > &im, T min, T max, T val1, T val2) |
template<typename T, typename TPtr> | |
image< T > | mimas::bilevel_double (const const_image_ref< T, TPtr > &im, T min, T max, T val1, T val2) |
template<typename T, typename TPtr, typename U> | |
void | mimas::despeckleKuwahara (const const_image_ref< T, TPtr > &imagein, image< U > &imageout) |
template<typename T> | |
void | mimas::despeckleKuwaharaIt (image_ref< T > &imagein) |
template<typename T, typename TPtr> | |
image< T > | mimas::gradSobelX (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::gradSobelY (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::edgeSobelSqr (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::edgeSobelNorm (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::edgeLaplacian (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::edgeLoG (const const_image_ref< T, TPtr > &imagein) |
Laplacian of Gaussian filter. | |
template<typename T, typename T1Ptr, typename T2Ptr> | |
image< T > | mimas::edgeHaynesJain (const const_image_ref< T, T1Ptr > &imagein1, const const_image_ref< T, T2Ptr > &imagein2) |
template<typename T, typename TPtr, typename U> | |
void | mimas::halfResolution (const const_image_ref< T, TPtr > &imagein, image_ref< U > &imageout) |
template<typename T> | |
void | mimas::halfResolutionIt (image_ref< T > &imagein) |
template<typename T, typename TPtr, typename U> | |
void | mimas::halfResolutionEdgePyramid (const const_image_ref< T, TPtr > &imagein, image< U > &imageout) |
template<typename T> | |
void | mimas::halfResolutionEdgePyramidIt (image_ref< T > &imagein) |
template<typename T, typename TPtr> | |
void | mimas::despeckleMedian (const const_image_ref< T, TPtr > &imagein, image< T > &imageout) |
template<typename T> | |
void | mimas::despeckleMedianIt (image_ref< T > &imagein) |
template<typename T> | |
void | mimas::chamfer (image_ref< T > &inimage) |
template<typename T, typename TPtr> | |
void | mimas::paethRotateRadian (const const_image_ref< T, TPtr > &imagein, image< T > &imageout, float radian) |
template<typename T, typename T1Ptr, typename T2Ptr> | |
void | mimas::multiLevelCorrelation (const const_image_ref< T, T1Ptr > &edgemap, const const_image_ref< T, T2Ptr > &objectedgemap, int levels, int &x, int &y, float &corrval, bool chamferObject) |
template<typename T, typename T1Ptr, typename T2Ptr> | |
void | mimas::correlation (const const_image_ref< T > &imagein, const const_image_ref< T > &templatein, int &x, int &y, float &corrval) |
template<typename T, typename T1Ptr, typename T2Ptr> | |
void | mimas::correlationChamfer (const const_image_ref< T, T1Ptr > &imagein, const const_image_ref< T, T2Ptr > &templatein, int &x, int &y, float &corrval) |
template<typename T> | |
void | mimas::rotationChamferCorrelationEdgeMap (image< T > &edgemap, image< T > &objectedgemap, int angle1, int angle2, int anglestep, int &x, int &y, int &outangle, float &corrval) |
template<typename T, typename TPtr> | |
image< T > | mimas::focusEnhance (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::featureEnhance (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::emboss (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::softenHeavy (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::softenMedium (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
image< T > | mimas::softenLight (const const_image_ref< T, TPtr > &im) |
template<typename T, typename TPtr> | |
void | mimas::oilPainting (const const_image_ref< T, TPtr > &imagein, image< T > &imageout, int regiondim) |
template<typename T, typename TPtr> | |
void | mimas::displayWithOverlay (image_output< rgba< unsigned char > > &display, const const_image_ref< T, TPtr > &im, const property_image &pim) |
template<typename T, typename T1Ptr, typename T2Ptr> | |
double | mimas::dotProduct (const const_image_ref< T, T1Ptr > &im1, const const_image_ref< T, T2Ptr > &im2) throw (mimasexception) |
template<typename T1, typename T2, typename TAPtr, typename TBPtr, typename TCPtr> | |
image< bool > | mimas::nonMaximaSuppression (const const_image_ref< T1, TAPtr > &gradientX, const const_image_ref< T1, TBPtr > &gradientY, const const_image_ref< T2, TCPtr > &gradientSqr, T2 threshold) |
Fast non-maxima suppression. |