STIRA
0.1
|
Filters an image using a non-separable filter kernel. More...
#include <NonSeparableFilter.h>
Public Member Functions | |
NonSeparableFilter () | |
Constructor. | |
~NonSeparableFilter () | |
Destructor. | |
Static Public Member Functions | |
static ArrayGrid< double > * | Run (ArrayGrid< double > *pInput, double *filterKernel, int filterWidth, int filterHeight) |
filters single band in image with 2D non-separable filter kernel More... | |
static ArrayGrid< double > * | RunSobelX (ArrayGrid< double > *pInput) |
filters single band in image with Sobel X filter kernel More... | |
static ArrayGrid< double > * | RunSobelY (ArrayGrid< double > *pInput) |
filters single band in image with Sobel Y filter kernel More... | |
static Image * | RunSobelX (Image *pInput) |
filters single band in image with Sobel X filter kernel More... | |
static Image * | RunSobelY (Image *pInput) |
filters single band in image with Sobel Y filter kernel More... | |
static OrientationGrid * | DetermineLocalMagnitudeAndOrientation (ArrayGrid< double > *pGridIn) |
Computes a grid with the local orientation and edge strength based on the Sobel (X and Y direction) filters. More... | |
static double * | GetSobelXKernel () |
Creates and returns a sobel filter kernel for x direction. More... | |
static double * | GetSobelYKernel () |
Creates and returns a sobel filter kernel for y direction. More... | |
Filters an image using a non-separable filter kernel.
|
static |
Computes a grid with the local orientation and edge strength based on the Sobel (X and Y direction) filters.
pGridIn | input image |
References stira::imagedata::ArrayGrid< T >::GetHeight(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), RunSobelX(), RunSobelY(), stira::imagedata::OrientationGrid::SetAngle(), and stira::imagedata::OrientationGrid::SetMagnitude().
Referenced by stira::degradationestimation::CompareSmoothSharpDijk::Run(), stira::imageanalysis::CannyEdgeDetector::Run(), and stira::imageanalysis::WatershedMeyer< T >::~WatershedMeyer().
|
static |
Creates and returns a sobel filter kernel for x direction.
Referenced by RunSobelX().
|
static |
Creates and returns a sobel filter kernel for y direction.
Referenced by RunSobelY().
|
static |
filters single band in image with 2D non-separable filter kernel
pInput | input data |
filterKernel | filter kernel in lexicographical order (all rows after each other) |
filterWidth | width of kernel |
filterHeight | height of kernel |
References stira::imagedata::ArrayGrid< T >::Clone(), stira::imagedata::GridExtender< T >::CropBorder(), stira::imagedata::ArrayGrid< T >::GetHeight(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), stira::imagedata::GridExtender< T >::MirrorBorder(), and stira::imagedata::ArrayGrid< T >::SetValue().
Referenced by RunSobelX(), and RunSobelY().
|
static |
filters single band in image with Sobel X filter kernel
pInput | input data |
References GetSobelXKernel(), and Run().
Referenced by DetermineLocalMagnitudeAndOrientation(), and RunSobelX().
filters single band in image with Sobel X filter kernel
pInput | input data |
References stira::imagedata::Image::AddBand(), stira::imagedata::Image::GetBands(), stira::imagedata::Image::GetHeight(), stira::imagedata::Image::GetNumberOfBands(), stira::imagedata::Image::GetWidth(), and RunSobelX().
|
static |
filters single band in image with Sobel Y filter kernel
pInput | input data |
References GetSobelYKernel(), and Run().
Referenced by DetermineLocalMagnitudeAndOrientation(), and RunSobelY().
filters single band in image with Sobel Y filter kernel
pInput | input data |
References stira::imagedata::Image::AddBand(), stira::imagedata::Image::GetBands(), stira::imagedata::Image::GetHeight(), stira::imagedata::Image::GetNumberOfBands(), stira::imagedata::Image::GetWidth(), and RunSobelY().