KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
textonhisto.h
Go to the documentation of this file.
1 // textonhisto.h - compute an image of texton histograms
3 // Author: Doron Tal
4 // Date Created: April, 2000
5 
6 #ifndef _TEXTONHISTO_H
7 #define _TEXTONHISTO_H
8 
9 #include "wrap_dtlib_cpp/img.h"
11 #include "wrap_dtlib_cpp/circle.h"
12 #include <string>
13 
14 /*
15  * Kobus: We have run into trouble with 32 bit centric code in this
16  * distribution. I have changed some long's to kjb_int32's. The immediate
17  * problem is that the segmentation maps can get written out as 64 bit integers.
18 */
19 #include "l/l_sys_def.h"
20 
21 #warning "[Code police] Do not put 'using namespace' in global scope of header."
22 using namespace kjb_c;
23 
24 namespace DTLib {
25 
26  // *** TODO: *** need comments
27 
28  CImg<FloatCHistogramPtr>* MakeEmptyTextonHistoImg(const int& Width,
29  const int& Height,
30  const int& K);
31 
32  void ComputeTextonHistogramImg(CCircleMasks* pCircleMasks,
33  FloatCImgPtr pTextureScaleImg,
34  CImg<kjb_int32>* pTextonsImg,
35  FloatCImgPtr pPTextureImg,
36  CImg<FloatCHistogramPtr>* pTextonHistoImg,
37  CImg<kjb_int32>* pPresegImg = NULL);
38 
39 } // namespace DTLib {
40 
41 #endif /* #ifndef _TEXTONHISTO_H */
void ComputeTextonHistogramImg(CCircleMasks *pCircleMasks, FloatCImgPtr pTextureScaleImg, CImg< kjb_int32 > *pTextonsImg, FloatCImgPtr pPTextureImg, CImg< FloatCHistogramPtr > *pTextonHistoImg, CImg< kjb_int32 > *pPresegImg=NULL)
CImg< float > * FloatCImgPtr
Definition: img.h:2515
CImg< FloatCHistogramPtr > * MakeEmptyTextonHistoImg(const int &Width, const int &Height, const int &K)
Definition: textonhisto.cpp:23