IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleReInterpretableImageData.h
1 // RuleReInterpretableImageData.h:
3 // -------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_RULEREINTERPRETABLEIMAGEDATA_H__
17 #define __IPSDKIMAGEPROCESSING_RULEREINTERPRETABLEIMAGEDATA_H__
18 
19 #include <IPSDKImageProcessing/Rule/Image/ImageComparison/BaseImageComparisonRule.h>
20 
21 namespace ipsdk {
22 namespace imaproc {
23 
26 
28 {
29 // predefined public type
30 public:
32  static const eImageComparisonRuleType::domain g_imageComparisonRuleType = eImageComparisonRuleType::eICRT_ReInterpretable;
33 
34 public:
40 
41 // methods
42 public:
44  eImageComparisonRuleType getImageComparisonRuleType() const;
45 
51  void init(const ImageAttributeConstWeakPtr& pOriginalImageAttribute,
52  const ImageAttributeConstWeakPtr& pTargetImageAttribute);
53 
54 protected:
56  bool testRule() const;
57 
59  std::string createRuleFormalString() const;
60 
62  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
63 
64 // attributes
65 protected:
66 
67 };
68 
71 
74 {
76 }
77 
80 
81 } // end of namespace imaproc
82 } // end of namespace ipsdk
83 
84 #endif // __IPSDKIMAGEPROCESSING_RULEREINTERPRETABLEIMAGEDATA_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Rule allowing to check that data associated to a given image can be reinterpreted to fit data of anot...
Definition: RuleReInterpretableImageData.h:27
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
static const eImageComparisonRuleType::domain g_imageComparisonRuleType
image processing image comparison rule type associated to rule
Definition: RuleReInterpretableImageData.h:32
eImageComparisonRuleType
enumerate describing image comparison rule operation type
Definition: ImageComparisonRuleTypes.h:32
Rule allowing to check that data associated to a given image can be reinterpreted to fit data of anot...
Definition: ImageComparisonRuleTypes.h:44
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Base class for rules allowing to compare two image attributes.
Definition: BaseImageComparisonRule.h:27
eImageComparisonRuleType getImageComparisonRuleType() const
get image comparison rule type
Definition: RuleReInterpretableImageData.h:73
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53