IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
IntensityLUT.h
1 // IntensityLUT.h:
3 // ---------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_INTENSITYLUT_H__
17 #define __IPSDKIPLATTRIBUTES_INTENSITYLUT_H__
18 
23 
24 namespace ipsdk {
25 namespace imaproc {
26 namespace attr {
27 
33 
34 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, IntensityLUT,
35  ((LEAF)(InMin)(ipsdk::ipReal64))
36  ((LEAF)(BinWidth)(ipsdk::ipReal64))
37  ((LEAF_COLL)(LookupTable)(ipsdk::ipReal64)))
38 };
39 
42 
45 typedef boost::shared_ptr<ipsdk::imaproc::attr::IntensityLUT> IntensityLUTPtr;
46 
49 typedef boost::shared_ptr<const ipsdk::imaproc::attr::IntensityLUT> IntensityLUTConstPtr;
50 
53 
57 createIntensityLUT(const ipReal64 inMin,
58  const ipReal64 binWidth,
59  const Real64Vector& lookupTable);
60 
67 createBinaryLUT(const BoolVector& flagsColl);
68 
75 createLabelLUT(const BoolVector& flagsColl,
76  const eLabelReindexingPolicy& labelReindexingPolicy);
77 
80 
81 } // end of namespace attr
82 } // end of namespace imaproc
83 } // end of namespace ipsdk
84 
85 #endif // __IPSDKIPLATTRIBUTES_INTENSITYLUT_H__
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
std::vector< ipReal64 > Real64Vector
Enumerate allowing to describle used label reindexing policy.
double ipReal64
boost::shared_ptr< ipsdk::imaproc::attr::IntensityLUT > IntensityLUTPtr
shared pointer to ipsdk::imaproc::attr::IntensityLUT
Definition: IntensityLUT.h:163
std::vector< ipBool > BoolVector
eLabelReindexingPolicy
Enumerate describing used label reindexing policy.
Definition: LabelReindexingPolicy.h:31
Definition of import/export macro for library.
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::IntensityLUTPtr createLabelLUT(const BoolVector &flagsColl, const eLabelReindexingPolicy &labelReindexingPolicy)
function allowing to create a label lut from a collection of boolean flags
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::IntensityLUTPtr createIntensityLUT(const ipReal64 inMin, const ipReal64 binWidth, const Real64Vector &lookupTable)
function allowing to create a IntensityLUT data item
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25
boost::shared_ptr< const ipsdk::imaproc::attr::IntensityLUT > IntensityLUTConstPtr
shared pointer to const ipsdk::imaproc::attr::IntensityLUT
Definition: IntensityLUT.h:167
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::IntensityLUTPtr createBinaryLUT(const BoolVector &flagsColl)
function allowing to create a binary lut from a collection of boolean flags