IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ImageValueExtractionMethod.h
1 // ImageValueExtractionMethod.h:
3 // -----------------------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_IMAGEVALUEEXTRACTIONMETHOD_H__
17 #define __IPSDKIPLATTRIBUTES_IMAGEVALUEEXTRACTIONMETHOD_H__
18 
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace attr {
26 
32 
33 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, ImageValueExtractionMethod,
35  ((LEAF)(NbDataThreshold)(ipsdk::ipUInt64))
36  ((LEAF)(ImageRatioThreshold)(ipsdk::ipReal64)))
37 
38 public:
40  bool checkTiledMethod(const ipUInt64 nbData, const ipUInt64 nbTotPixels) const;
41 };
42 
45 
48 typedef boost::shared_ptr<ipsdk::imaproc::attr::ImageValueExtractionMethod> ImageValueExtractionMethodPtr;
49 
52 typedef boost::shared_ptr<const ipsdk::imaproc::attr::ImageValueExtractionMethod> ImageValueExtractionMethodConstPtr;
53 
56 
61 
66 createImageRatioImageValueExtractionMethod(const ipReal64 imageRatioThreshold);
67 
73 
79 
85 
88 
89 } // end of namespace attr
90 } // end of namespace imaproc
91 } // end of namespace ipsdk
92 
93 #endif // __IPSDKIPLATTRIBUTES_IMAGEVALUEEXTRACTIONMETHOD_H__
Ratio between number of requested samples R and total number of image pixels T defined used method : ...
Definition: ImageValueExtractionMethodTypes.h:33
IPSDKIPLATTRIBUTES_API ImageValueExtractionMethodPtr createForceStripedImageValueExtractionMethod()
function allowing to create an image value extraction method setup to forced to striped configuration...
Predefined types for image value extraction method management.
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
uint64_t ipUInt64
double ipReal64
boost::shared_ptr< ipsdk::imaproc::attr::ImageValueExtractionMethod > ImageValueExtractionMethodPtr
shared pointer to ipsdk::imaproc::attr::ImageValueExtractionMethod
Definition: ImageValueExtractionMethod.h:154
IPSDKIPLATTRIBUTES_API ImageValueExtractionMethodPtr createNbDataThresholdImageValueExtractionMethod(const ipUInt64 nbDataThreshold)
function allowing to create an image value extraction method setup to number of data configuration ...
eImageValueExtractionMethod
Enumerate describing configuration used to define image value extraction method.
Definition: ImageValueExtractionMethodTypes.h:31
IPSDKIPLATTRIBUTES_API ImageValueExtractionMethodPtr createDefaultImageValueExtractionMethod()
function allowing to create a default image value extraction method
Definition of import/export macro for library.
IPSDKIPLATTRIBUTES_API ImageValueExtractionMethodPtr createImageRatioImageValueExtractionMethod(const ipReal64 imageRatioThreshold)
function allowing to create an image value extraction method setup to image ratio configuration ...
IPSDKIPLATTRIBUTES_API ImageValueExtractionMethodPtr createForceTiledImageValueExtractionMethod()
function allowing to create an image value extraction method setup to forced to tiled configuration ...
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25
boost::shared_ptr< const ipsdk::imaproc::attr::ImageValueExtractionMethod > ImageValueExtractionMethodConstPtr
shared pointer to const ipsdk::imaproc::attr::ImageValueExtractionMethod
Definition: ImageValueExtractionMethod.h:158