KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
getfeatures.h
Go to the documentation of this file.
1 #ifndef _GETFEATURES_H
2 #define _GETFEATURES_H
3 
4 /*
5  * Kobus: We have run into trouble with 32 bit centric code in this
6  * distribution. I have changed some long's to kjb_int32's. The immediate
7  * problem is that the segmentation maps can get written out as 64 bit integers.
8 */
9 #include "l/l_sys_def.h"
10 #include "m_cpp/m_matrix.h"
11 
12 #warning "[Code police] Do not put 'using namespace' in global scope of header."
13 using namespace kjb_c;
14 
15 #include "wrap_dtlib_cpp/img.h"
16 #include "wrap_dtlib_cpp/matlab.h"
17 
18 namespace DTLib {
20  // added by PINAR
21 
22  void GetTextureFeatures(int *SegBuf,
23  int Width,
24  int Height,
25  int nGaussScales,
26  int nGaussOrientations,
27  CImgVec<float>& OEVec,
28  CImgVec<float>& ConvVec,
29  int nDOGScales,
30  kjb::Matrix & Oe_mean,
31  kjb::Matrix & Oe_var,
32  kjb::Matrix & DOG_mean,
33  kjb::Matrix & DOG_var
34 );
35 
36 
37 } // namespace DTLib {
38 
39 #endif /* #ifndef _GETFEATURES_H */
Definition for the Matrix class, a thin wrapper on the KJB Matrix struct and its related functionalit...
void GetTextureFeatures(int *SegBuf, int Width, int Height, int nGaussScales, int nGaussOrientations, CImgVec< float > &OEVec, CImgVec< float > &ConvVec, int nDOGScales, kjb::Matrix &Oe_mean, kjb::Matrix &Oe_var, kjb::Matrix &DOG_mean, kjb::Matrix &DOG_var)
Definition: getfeatures.cpp:32
This class implements matrices, in the linear-algebra sense, with real-valued elements.
Definition: m_matrix.h:94