15 #ifndef __IPSDKIMAGEPROCESSING_FORMULARULEOPERATORS_H__ 16 #define __IPSDKIMAGEPROCESSING_FORMULARULEOPERATORS_H__ 59 template <
typename InOptImg1Type,
60 typename InOptImg2Type,
61 typename InOptImg3Type,
62 typename InOptBinImg1Type,
63 typename InOptBinImg2Type,
64 typename InOptBinImg3Type,
65 typename InOptLabImg1Type,
66 typename InOptLabImg2Type,
67 typename InOptLabImg3Type>
70 const boost::shared_ptr<InOptImg1Type>& pInOptImg1,
71 const boost::shared_ptr<InOptImg2Type>& pInOptImg2,
72 const boost::shared_ptr<InOptImg3Type>& pInOptImg3,
73 const boost::shared_ptr<InOptBinImg1Type>& pInOptBinImg1,
74 const boost::shared_ptr<InOptBinImg2Type>& pInOptBinImg2,
75 const boost::shared_ptr<InOptBinImg3Type>& pInOptBinImg3,
76 const boost::shared_ptr<InOptLabImg1Type>& pInOptLabImg1,
77 const boost::shared_ptr<InOptLabImg2Type>& pInOptLabImg2,
78 const boost::shared_ptr<InOptLabImg3Type>& pInOptLabImg3,
82 pInOptImg1, pInOptImg2, pInOptImg3,
83 pInOptBinImg1, pInOptBinImg2, pInOptBinImg3,
84 pInOptLabImg1, pInOptLabImg2, pInOptLabImg3,
137 #endif // __IPSDKIMAGEPROCESSING_FORMULARULEOPERATORS_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Base operators used to combined rules.
IPSDKBASEPROCESSING_API RulePtr none()
function allowing to define an empty rule (always true)
boost::shared_ptr< BaseRule > RulePtr
shared pointer to rule
Definition: RuleTypes.h:104
Definition of import/export macro for library.
Operators used to enable rules on images.
Predefined operators for rules on optional attributes.
Predefined types for formula rules management.
boost::shared_ptr< const BaseImageFormulaAttribute > ImageFormulaAttributeConstPtr
Definition: FormulaAttributeTypes.h:48
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
boost::weak_ptr< const BaseImageFormulaAttribute > ImageFormulaAttributeConstWeakPtr
Definition: FormulaAttributeTypes.h:54
boost::shared_ptr< BaseImageAttribute > ImageAttributePtr
Definition: ImageAttributeTypes.h:24
Predefined types for image attributes management.
boost::weak_ptr< const BaseMeasureFormulaAttribute > MeasureFormulaAttributeConstWeakPtr
Definition: FormulaAttributeTypes.h:66
IPSDKIMAGEPROCESSING_API processor::RulePtr isLogicMeasure(const MeasureFormulaAttributeConstWeakPtr &pAttribute)
function allowing to check that a formula is a measure formula associated to a given returned type ...
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 isValidImageFormula(const ImageFormulaAttributeConstWeakPtr &pAttribute)
function allowing to check that an image formula is valid
boost::enable_if_c< AttributeType::g_bOptional, RulePtr >::type isSet(const boost::shared_ptr< AttributeType > &pAttribute)
Definition: OptionalRuleOperators.h:33
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 matchFormulaWithImages(const ImageFormulaAttributeConstPtr &pImageFormulaAttribute, const ImageAttributePtr &pInOptImg1, const ImageAttributePtr &pInOptImg2, const ImageAttributePtr &pInOptImg3, const ImageAttributePtr &pInOptBinImg1, const ImageAttributePtr &pInOptBinImg2, const ImageAttributePtr &pInOptBinImg3, const ImageAttributePtr &pInOptLabImg1, const ImageAttributePtr &pInOptLabImg2, const ImageAttributePtr &pInOptLabImg3, const ImageAttributePtr &pOutImg)
function allowing to check that an image formula match with proceeded images
IPSDKBASEPROCESSING_API RulePtr If(const RulePtr &pPredicate, const RulePtr &pRuleTrue)
function allowing to define a conditional condition check rule
IPSDKIMAGEPROCESSING_API processor::RulePtr isArithmeticMeasure(const MeasureFormulaAttributeConstWeakPtr &pAttribute)
function allowing to check that a formula is a measure formula associated to a given returned type ...