IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ImageComparisonRuleOperators.h
Go to the documentation of this file.
1 // ImageComparisonRuleOperators.h:
3 // -------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_IMAGECOMPARISONRULEOPERATORS_H__
17 #define __IPSDKIMAGEPROCESSING_IMAGECOMPARISONRULEOPERATORS_H__
18 
22 
23 namespace ipsdk {
24 namespace imaproc {
25 
28 
32  const ImageAttributeConstWeakPtr& pAttribute2);
33 
37  const ImageAttributeConstWeakPtr& pAttribute2,
38  const ImageAttributeConstWeakPtr& pAttribute3);
39 
44  const ImageAttributeConstWeakPtr& pAttribute2);
45 
50  const ImageAttributeConstWeakPtr& pAttribute2);
51 
54 matchSize(const eMatchImageSizeType& matchImageSizeType,
55  const ImageAttributeConstWeakPtr& pAttribute1,
56  const ImageAttributeConstWeakPtr& pAttribute2);
57 
62 matchSize(const ImageAttributeConstWeakPtr& pAttribute1,
63  const ImageAttributeConstWeakPtr& pAttribute2);
64 
69 matchSize(const ImageAttributeConstWeakPtr& pAttribute1,
70  const ImageAttributeConstWeakPtr& pAttribute2,
71  const ImageAttributeConstWeakPtr& pAttribute3);
72 
77 matchSize(const ImageAttributeConstWeakPtr& pAttribute1,
78  const ImageAttributeConstWeakPtr& pAttribute2,
79  const ImageAttributeConstWeakPtr& pAttribute3,
80  const ImageAttributeConstWeakPtr& pAttribute4);
81 
84 match2dSize(const ImageAttributeConstWeakPtr& pAttribute1,
85  const ImageAttributeConstWeakPtr& pAttribute2);
86 
89 match3dSize(const ImageAttributeConstWeakPtr& pAttribute1,
90  const ImageAttributeConstWeakPtr& pAttribute2);
91 
96 match2dMask(const ImageAttributeConstWeakPtr& pInAttribute,
97  const ImageAttributeConstWeakPtr& pMaskAttribute);
98 
103 match3dMask(const ImageAttributeConstWeakPtr& pInAttribute,
104  const ImageAttributeConstWeakPtr& pMaskAttribute);
105 
110  const ImageAttributeConstWeakPtr& pAttribute2);
111 
116  const ImageAttributeConstWeakPtr& pAttribute2,
117  const ImageAttributeConstWeakPtr& pAttribute3);
118 
123  const ImageAttributeConstWeakPtr& pAttribute2,
124  const ImageAttributeConstWeakPtr& pAttribute3,
125  const ImageAttributeConstWeakPtr& pAttribute4);
126 
131  const ImageAttributeConstWeakPtr& pAttribute2,
132  const ImageAttributeConstWeakPtr& pAttribute3,
133  const ImageAttributeConstWeakPtr& pAttribute4,
134  const ImageAttributeConstWeakPtr& pAttribute5);
135 
140  const ImageAttributeConstWeakPtr& pAttribute2,
141  const ImageAttributeConstWeakPtr& pAttribute3,
142  const ImageAttributeConstWeakPtr& pAttribute4,
143  const ImageAttributeConstWeakPtr& pAttribute5,
144  const ImageAttributeConstWeakPtr& pAttribute6);
145 
148 noInSitu(const ImageAttributeConstWeakPtr& pAttributeIn,
149  const ImageAttributeConstWeakPtr& pAttributeOut);
150 
153 isInSitu(const ImageAttributeConstWeakPtr& pAttributeIn,
154  const ImageAttributeConstWeakPtr& pAttributeOut);
155 
159 isReInterpretable(const ImageAttributeConstWeakPtr& pOriginalImageAttribute,
160  const ImageAttributeConstWeakPtr& pTargetImageAttribute);
161 
164 
165 } // end of namespace imaproc
166 } // end of namespace ipsdk
167 
168 #endif // __IPSDKIMAGEPROCESSING_IMAGECOMPARISONRULEOPERATORS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKIMAGEPROCESSING_API processor::RulePtr matchVolumeGeometryType(const ImageAttributeConstWeakPtr &pAttribute1, const ImageAttributeConstWeakPtr &pAttribute2)
function allowing to check that two images volume geometry types are equal
Base operators used to combined rules.
IPSDKIMAGEPROCESSING_API processor::RulePtr isReInterpretable(const ImageAttributeConstWeakPtr &pOriginalImageAttribute, const ImageAttributeConstWeakPtr &pTargetImageAttribute)
function allowing to check whether data associated to a given image can be reinterpreted to fit data ...
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
IPSDKIMAGEPROCESSING_API processor::RulePtr matchBufferType(const ImageAttributeConstWeakPtr &pAttribute1, const ImageAttributeConstWeakPtr &pAttribute2)
function allowing to check that two images buffer types are equal
boost::shared_ptr< BaseRule > RulePtr
shared pointer to rule
Definition: RuleTypes.h:104
Definition of import/export macro for library.
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
IPSDKIMAGEPROCESSING_API bool isInSitu(const BaseImageAttribute &imgIn, const BaseImageAttribute &imgOut)
function allowing to check whether two image attributes are associated to same image ...
IPSDKIMAGEPROCESSING_API processor::RulePtr match2dMask(const ImageAttributeConstWeakPtr &pInAttribute, const ImageAttributeConstWeakPtr &pMaskAttribute)
function allowing to check whether a given 2d image can be a mask for an other image (ie mono plan or...
IPSDKIMAGEPROCESSING_API processor::RulePtr matchSizeAndType(const ImageAttributeConstWeakPtr &pAttribute1, const ImageAttributeConstWeakPtr &pAttribute2)
function allowing to check that two images have same buffer type and size
IPSDKIMAGEPROCESSING_API processor::RulePtr noInSitu(const ImageAttributeConstWeakPtr &pAttributeIn, const ImageAttributeConstWeakPtr &pAttributeOut)
function allowing to check that an image is not used in situ
IPSDKIMAGEPROCESSING_API processor::RulePtr match3dSize(const ImageAttributeConstWeakPtr &pAttribute1, const ImageAttributeConstWeakPtr &pAttribute2)
function allowing to check that two images have same 3d size
eMatchImageSizeType
enumerate describing image comparison on image size rule operation type
Definition: ImageRuleTypes.h:50
IPSDKIMAGEPROCESSING_API processor::RulePtr matchColorGeometryType(const ImageAttributeConstWeakPtr &pAttribute1, const ImageAttributeConstWeakPtr &pAttribute2)
function allowing to check that two images color geometry types are equal
Predefined types for rules allowing to compare two image attributes.
processor::RulePtr matchSize(const eMatchImageSizeType &matchImageSizeType, const eMatchImageSizeScale &matchImageSizeScale, const ImageAttributeConstWeakPtr &pImageAttribute, const boost::shared_ptr< LeafAttributeType > &pLeafAttribute)
function allowing to check that a DataItem leaf value is lower than or equals to image size on consid...
Definition: ImageBinaryMixedRuleOperators.h:41
IPSDKIMAGEPROCESSING_API processor::RulePtr match2dSize(const ImageAttributeConstWeakPtr &pAttribute1, const ImageAttributeConstWeakPtr &pAttribute2)
function allowing to check that two images have same 2d size
IPSDKIMAGEPROCESSING_API processor::RulePtr match3dMask(const ImageAttributeConstWeakPtr &pInAttribute, const ImageAttributeConstWeakPtr &pMaskAttribute)
function allowing to check whether a given 3d image can be a mask for an other image (ie mono volume ...