KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
orientation_fit.h
Go to the documentation of this file.
1 // orientation_fit.h - parabolic orientations fit, orientation interpolation
3 // Author: Doron Tal
4 // Date Created: April, 2000
5 
6 #ifndef _PARAB_ORI_FIT_H
7 #define _PARAB_ORI_FIT_H
8 
9 #include "wrap_dtlib_cpp/img.h"
10 
11 namespace DTLib {
12 
14 // INPUT: orientation energy per scale per orientation of the
15 // elongated gaussians
16 // OUTPUT: a sequence of scales*2 frames, for each scale,
17 // two frames are returned: (a) the maximum orientation energy
18 // (b) the better-fitted, interpolated, "winner" orientation for
19 // that scale and maximum energy. NOTE! the energy returned
20 // is the energy of the filterbank convolution that was max at
21 // each pixel, the orientation is not the orientation that produced
22 // this max, but one interpolated parabolically against its two
23 // neighboring orientations. the OE, however, is not interpolated!
24 // (you may want to change this and try interpolating the OE as well).
25 void ParabolicOrientationsFit(const int& nGaussScales,
26  const int& nGaussOrientations,
27  CImgVec<float>& OEVec,
28  CImgVec<float>& RhoVec,
29  CImgVec<float>& ThetaVec,
30  CImgVec<BYTE>& ThetaIdxVec);
31 
32 void InterpolateOrientations(const int& iScale,
33  const int& nGaussOrientations,
34  CImgVec<float>& OEVec,
35  CImgVec<BYTE>& ThetaIdxVec,
36  CImgVec<float>& ThetaVec);
37 
38 } // namespace DTLib {
39 
40 #endif /* #ifndef _PARAB_ORI_FIT_H */
void ParabolicOrientationsFit(const int &nGaussScales, const int &nGaussOrientations, CImgVec< float > &OEVec, CImgVec< float > &RhoVec, CImgVec< float > &ThetaVec, CImgVec< BYTE > &ThetaIdxVec)
Definition: orientation_fit.cpp:15
void InterpolateOrientations(const int &iScale, const int &nGaussOrientations, CImgVec< float > &OEVec, CImgVec< BYTE > &ThetaIdxVec, CImgVec< float > &ThetaVec)
Definition: orientation_fit.cpp:58