IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
HistoMsrParams.h
1 // HistoMsrParams.h:
3 // -------------------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_HISTOMSRPARAMS_H__
17 #define __IPSDKIPLATTRIBUTES_HISTOMSRPARAMS_H__
18 
23 
24 namespace ipsdk {
25 namespace imaproc {
26 namespace attr {
27 
33 
34 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, HistoMsrParams,
35  ((LEAF)(Min)(ipsdk::ipReal64)(.0))
36  ((LEAF)(Max)(ipsdk::ipReal64)(1.0))
37  ((LEAF)(BinWidth)(ipsdk::ipReal64)(1.0))
38  ((LEAF)(NbClasses)(ipsdk::ipUInt32)(255))
40  ((LEAF)(DefineBinWidthFlag)(ipsdk::ipBool)(true)))
41 };
42 
45 
48 typedef boost::shared_ptr<HistoMsrParams> HistoMsrParamsPtr;
49 
52 typedef boost::shared_ptr<const HistoMsrParams> HistoMsrParamsConstPtr;
53 
56 
62  const ipsdk::ipReal64 max,
63  const ipsdk::ipReal64 binWidth);
64 
67 
70  const ipsdk::ipReal64 max,
71  const ipsdk::ipUInt32 nbClasses);
72 
76 
79 
80 } // end of namespace attr
81 } // end of namespace imaproc
82 } // end of namespace ipsdk
83 
84 #endif // __IPSDKIPLATTRIBUTES_HISTOMSRPARAMS_H__
IPSDKIPLATTRIBUTES_API HistoMsrParamsPtr createHistoMsrParamsWithNbClasses(const ipsdk::ipUInt32 nbClasses)
function allowing to initialize input parameters for HistogramMsr algorithm
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
boost::shared_ptr< HistoMsrParams > HistoMsrParamsPtr
shared pointer to HistoMsrParams
Definition: HistoMsrParams.h:208
IPSDKIPLATTRIBUTES_API HistoMsrParamsPtr createHistoMsrParamsWithBinWidth(const ipsdk::ipReal64 binWidth)
function allowing to initialize input parameters for HistogramMsr algorithm
double ipReal64
eMinMaxDefinition
Enumerate describing range definition for histogram measure parameters.
Definition: MinMaxDefinition.h:31
minimal and maximal intensities of the image
Definition: MinMaxDefinition.h:33
Definition of import/export macro for library.
boost::shared_ptr< const HistoMsrParams > HistoMsrParamsConstPtr
shared pointer to const HistoMsrParams
Definition: HistoMsrParams.h:212
bool ipBool
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25
Enumerate describing range definition for histogram measure parameters.
uint32_t ipUInt32