#include "CINNIC/CINNIC.H"
#include "Image/ColorOps.H"
#include "Image/CutPaste.H"
#include "Image/Kernels.H"
#include "Image/MathOps.H"
#include "Image/Transforms.H"
#include "Util/Timer.H"
#include <cmath>
#include <fstream>
Go to the source code of this file.
Functions | |
template<class T > | |
static Image< typename promote_trait< T, float >::TP > | convolveCleanZero (const Image< T > &src, const Image< float > &filter) |
Brute force, super inefficient 2D convolution (truncated filter boundary). | |
template<class T > | |
static Image< typename promote_trait< T, float >::TP > | convolveCleanZero (const Image< T > &src, const float *filter, const int Nx, const int Ny) |
Brute force, super inefficient 2D convolution (truncated filter boundary). |
CINNIC classes
Definition in file CINNIC.C.
static Image<typename promote_trait<T, float>::TP> convolveCleanZero | ( | const Image< T > & | src, | |
const float * | filter, | |||
const int | Nx, | |||
const int | Ny | |||
) | [inline, static] |
Brute force, super inefficient 2D convolution (truncated filter boundary).
check for zero pixels and skip
Definition at line 67 of file CINNIC.C.
References ASSERT, Image< T >::begin(), Image< T >::beginw(), Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), Image< T >::initialized(), NO_INIT, and sum().
static Image<typename promote_trait<T, float>::TP> convolveCleanZero | ( | const Image< T > & | src, | |
const Image< float > & | filter | |||
) | [inline, static] |
Brute force, super inefficient 2D convolution (truncated filter boundary).
check for zero pixels and skip
Definition at line 56 of file CINNIC.C.
References Image< T >::getArrayPtr(), Image< T >::getHeight(), and Image< T >::getWidth().