38 #ifndef ___N_CONVERT_TO_FIB_H__
39 #define ___N_CONVERT_TO_FIB_H__
44 #ifdef FEATURE_OWN_FREE_IMAGE_WARPER
48 #include <FreeImagePlus.h>
58 namespace nConvertToFib{
89 bool bCreatebackground=
true,
const bool bCorrectPoints=
false );
136 bool bCreatebackground=
true,
const unsigned long ulMaxAreaDiff=3,
137 const unsigned long ulMinPoints=4,
const unsigned long ulMaxDiff=16,
138 const unsigned int uiMinPointsNeighbourAreas=0,
139 const bool bCorrectPoints=
false,
const bool bCorrectMissingPoints=
false,
140 const bool bAddNeighbours=
false,
const bool bReduceFunctionDomains=
false,
141 const bool bReplaceAreasWithPoints=
false,
const unsigned int uiInMinPointsForArea=0,
142 const double maxError=0 );
152 map< vector< unsigned int >,
unsigned long >
countColors(
153 const fipImage & multimediaObject );
168 const map< vector< unsigned int >, vector< unsigned int > > & mapColorMapping );
173 #endif //___N_CONVERT_TO_FIB_H__