STIRA
0.1
|
A class to compute the basic steerable filtered images according to Freeman and Adelson. More...
#include <ComputeSteerableFilteredImages.h>
Public Member Functions | |
ComputeSteerableFilteredImages (ArrayGrid< double > *mpSourceGrid) | |
constructor More... | |
~ComputeSteerableFilteredImages () | |
destructor | |
int | Run () |
computes responses for steerable filters for a given image | |
OrientationGrid * | GetOrientationGrid () |
Gets grid with dominant orientation and local energy Based on expression in paper of Freeman and Adelson in Appendix 1 for G2 and H2 Creates a new grid for which the caller becomes responsible. | |
ArrayGrid< double > * | InterpolateG (double theta) |
Creates new interpolated image as if filtered with even G kernels steered under theta degrees. More... | |
ArrayGrid< double > * | InterpolateH (double theta) |
Creates new interpolated image as if filtered with odd H kernels steered under theta degrees. More... | |
ArrayGrid< double > * | FilterAlongDominantOrientationG () |
Creates new filtered image as if filtered under local dominant orientation Creates a new grid for which the caller becomes responsible. | |
ArrayGrid< double > * | FilterAlongDominantOrientationH () |
Creates new filtered image as if filtered under local dominant orientation Creates a new grid for which the caller becomes responsible. | |
ArrayGrid< double > * | GetH2a () |
Gets pointer to image filtered with odd H2a kernel gets pointer to local array that is deleted by destructor of this class; make a copy when this grid is needed longer than the life span of this class. | |
ArrayGrid< double > * | GetH2b () |
Gets pointer to image filtered with odd H2b kernel gets pointer to local array that is deleted by destructor of this class; make a copy when this grid is needed longer than the life span of this class. | |
ArrayGrid< double > * | GetH2c () |
Gets pointer to image filtered with odd H2c kernel gets pointer to local array that is deleted by destructor of this class; make a copy when this grid is needed longer than the life span of this class. | |
ArrayGrid< double > * | GetH2d () |
Gets pointer to image filtered with odd H2d kernel gets pointer to local array that is deleted by destructor of this class; make a copy when this grid is needed longer than the life span of this class. | |
ArrayGrid< double > * | GetG2a () |
Gets pointer to image filtered with even G2a kernel gets pointer to local array that is deleted by destructor of this class; make a copy when this grid is needed longer than the life span of this class. | |
ArrayGrid< double > * | GetG2b () |
Gets pointer to image filtered with even G2b kernel gets pointer to local array that is deleted by destructor of this class; make a copy when this grid is needed longer than the life span of this class. | |
ArrayGrid< double > * | GetG2c () |
Gets pointer to image filtered with odd G2c kernel gets pointer to local array that is deleted by destructor of this class; make a copy when this grid is needed longer than the life span of this class. | |
A class to compute the basic steerable filtered images according to Freeman and Adelson.
W. T. Freeman and E. H. Adelson, The design and use of steerable filters, IEEE Trans. on Pattern Analysis and Machine Intelligence, vol. 13, no. 9, pp. 891 - 906, September, 1991. also available as technical report from http://people.csail.mit.edu/billf/steerpaper.html
stira::steerable::ComputeSteerableFilteredImages::ComputeSteerableFilteredImages | ( | ArrayGrid< double > * | mpSourceGrid | ) |
constructor
mpSourceGrid | input grid |
ArrayGrid< double > * stira::steerable::ComputeSteerableFilteredImages::InterpolateG | ( | double | theta | ) |
Creates new interpolated image as if filtered with even G kernels steered under theta degrees.
theta | angle in radians under which to compute interpolated filter response Creates a new grid for which the caller becomes responsible |
References stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), and stira::imagedata::ArrayGrid< T >::SetValue().
ArrayGrid< double > * stira::steerable::ComputeSteerableFilteredImages::InterpolateH | ( | double | theta | ) |
Creates new interpolated image as if filtered with odd H kernels steered under theta degrees.
theta | angle in radians under which to compute interpolated filter response Creates a new grid for which the caller becomes responsible |
References stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), and stira::imagedata::ArrayGrid< T >::SetValue().