STIRA
0.1
|
A class to compute local orientation in an image. More...
#include <ComputeOrientation.h>
Public Member Functions | |
ComputeOrientation () | |
Constructor. | |
~ComputeOrientation () | |
Destructor. | |
Static Public Member Functions | |
static ColorValue | ConvertAngleToHSVMap (double angle) |
assigns for visualization a color triplet to an angle This mapping happens based on the HSV coilor space, where mapping an angle theta to color is implicit (when letting H vary and keeping S and V fixed to 1). This HSV color is then converted to an RGB triplet | |
static ColorValue | ConvertAngleToRGBMap (double angle) |
assigns for visualization a color triplet to an angle This mapping is a simple interpolation between the RGB primaries between 0 and pi | |
static OrientationGrid * | ComputeDominantOrientationInputFreemanAdelson (ArrayGrid< double > *pResponseH2a, ArrayGrid< double > *pResponseH2b, ArrayGrid< double > *pResponseH2c, ArrayGrid< double > *pResponseH2d, ArrayGrid< double > *pResponseG2a, ArrayGrid< double > *pResponseG2b, ArrayGrid< double > *pResponseG2c) |
computes dominant orientation with separable steerable filters as described by from Freeman and Adelson: More... | |
static OrientationGrid * | ComputeDominantOrientationInputComplexPyramidLevel (PyramidLevel< std::complex< double > > *pPyrLevel) |
computes dominant orientation with resonse bands from a single level of the conmplex steerable pyramid More... | |
A class to compute local orientation in an image.
|
static |
computes dominant orientation with resonse bands from a single level of the conmplex steerable pyramid
The relations have been computed analytically for the case of 4 orientations; other numbers of orientations are currently not available.
pPyrLevel | one level of the complex steerable pyramid |
References stira::common::MathUtils::ComputeArgument(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::OrientationGrid::GetWidth(), stira::imagedata::OrientationGrid::SetAngle(), and stira::imagedata::OrientationGrid::SetMagnitude().
|
static |
computes dominant orientation with separable steerable filters as described by from 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, Sept. 1991. also available as technical report from http://people.csail.mit.edu/billf/steerpaper.html
Creates a new image object that becomes the responsability of the caller to delete
These filters form a quadrature pair: The H's are the odd filters and the G's are the even filters
pResponseH2a | first odd separable steerable basis filter |
pResponseH2b | second odd separable steerable basis filter |
pResponseH2c | third odd separable steerable basis filter |
pResponseH2d | fourth odd separable steerable basis filter |
pResponseG2a | first even separable steerable basis filter |
pResponseG2b | second even separable steerable basis filter |
pResponseG2c | third even separable steerable basis filter |
References stira::common::MathUtils::ComputeArgument(), stira::imagedata::ArrayGrid< T >::GetHeight(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), stira::imagedata::OrientationGrid::SetAngle(), and stira::imagedata::OrientationGrid::SetMagnitude().
Referenced by stira::steerable::ComputeSteerableFilteredImages::FilterAlongDominantOrientationG(), stira::steerable::ComputeSteerableFilteredImages::FilterAlongDominantOrientationH(), and stira::steerable::ComputeSteerableFilteredImages::GetOrientationGrid().