IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ImagePropertyRuleOperators.h
Go to the documentation of this file.
1 // ImagePropertyRuleOperators.h:
3 // -----------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_IMAGEPROPERTYRULEOPERATORS_H__
17 #define __IPSDKIMAGEPROCESSING_IMAGEPROPERTYRULEOPERATORS_H__
18 
24 
25 namespace ipsdk {
26 namespace imaproc {
27 
30 
34 isComplete(const ImageAttributeConstWeakPtr& pAttribute);
35 
39 is2d(const ImageAttributeConstWeakPtr& pAttribute);
41 is3d(const ImageAttributeConstWeakPtr& pAttribute);
43 
47 isGrey(const ImageAttributeConstWeakPtr& pAttribute);
49 isColor(const ImageAttributeConstWeakPtr& pAttribute);
51 isRgb(const ImageAttributeConstWeakPtr& pAttribute);
53 isUserColor(const ImageAttributeConstWeakPtr& pAttribute);
55 
59 isSingle(const ImageAttributeConstWeakPtr& pAttribute);
61 isSequence(const ImageAttributeConstWeakPtr& pAttribute);
63 
67 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
68  const image::eImageBufferType& imageBufferType0);
70 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
71  const image::eImageBufferType& imageBufferType0,
72  const image::eImageBufferType& imageBufferType1);
74 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
75  const image::eImageBufferType& imageBufferType0,
76  const image::eImageBufferType& imageBufferType1,
77  const image::eImageBufferType& imageBufferType2);
79 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
80  const image::eImageBufferType& imageBufferType0,
81  const image::eImageBufferType& imageBufferType1,
82  const image::eImageBufferType& imageBufferType2,
83  const image::eImageBufferType& imageBufferType3);
85 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
86  const image::eImageBufferType& imageBufferType0,
87  const image::eImageBufferType& imageBufferType1,
88  const image::eImageBufferType& imageBufferType2,
89  const image::eImageBufferType& imageBufferType3,
90  const image::eImageBufferType& imageBufferType4);
92 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
93  const image::eImageBufferType& imageBufferType0,
94  const image::eImageBufferType& imageBufferType1,
95  const image::eImageBufferType& imageBufferType2,
96  const image::eImageBufferType& imageBufferType3,
97  const image::eImageBufferType& imageBufferType4,
98  const image::eImageBufferType& imageBufferType5);
100 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
101  const image::eImageBufferType& imageBufferType0,
102  const image::eImageBufferType& imageBufferType1,
103  const image::eImageBufferType& imageBufferType2,
104  const image::eImageBufferType& imageBufferType3,
105  const image::eImageBufferType& imageBufferType4,
106  const image::eImageBufferType& imageBufferType5,
107  const image::eImageBufferType& imageBufferType6);
109 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
110  const image::eImageBufferType& imageBufferType0,
111  const image::eImageBufferType& imageBufferType1,
112  const image::eImageBufferType& imageBufferType2,
113  const image::eImageBufferType& imageBufferType3,
114  const image::eImageBufferType& imageBufferType4,
115  const image::eImageBufferType& imageBufferType5,
116  const image::eImageBufferType& imageBufferType6,
117  const image::eImageBufferType& imageBufferType7);
119 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
120  const image::eImageBufferType& imageBufferType0,
121  const image::eImageBufferType& imageBufferType1,
122  const image::eImageBufferType& imageBufferType2,
123  const image::eImageBufferType& imageBufferType3,
124  const image::eImageBufferType& imageBufferType4,
125  const image::eImageBufferType& imageBufferType5,
126  const image::eImageBufferType& imageBufferType6,
127  const image::eImageBufferType& imageBufferType7,
128  const image::eImageBufferType& imageBufferType8);
130 bufferType(const ImageAttributeConstWeakPtr& pAttribute,
131  const image::eImageBufferType& imageBufferType0,
132  const image::eImageBufferType& imageBufferType1,
133  const image::eImageBufferType& imageBufferType2,
134  const image::eImageBufferType& imageBufferType3,
135  const image::eImageBufferType& imageBufferType4,
136  const image::eImageBufferType& imageBufferType5,
137  const image::eImageBufferType& imageBufferType6,
138  const image::eImageBufferType& imageBufferType7,
139  const image::eImageBufferType& imageBufferType8,
140  const image::eImageBufferType& imageBufferType9);
146 
149 imageBaseType(const ImageAttributeConstWeakPtr& pAttribute,
150  const image::eImageBaseType& imageBaseType0);
151 
155 imageType(const ImageAttributeConstWeakPtr& pAttribute,
156  const image::eImageType& imageType0);
158 
162 isGpu(const ImageAttributeConstWeakPtr& pAttribute);
164 
168  const CustomCheckedImagePropertyPtr& pCustomCheckedImageProperty);
169 
172 
173 } // end of namespace imaproc
174 } // end of namespace ipsdk
175 
176 #endif // __IPSDKIMAGEPROCESSING_IMAGEPROPERTYRULEOPERATORS_H__
eImageBaseType
Enumerate describing image base type.
Definition: ImageTypes.h:46
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Base operators used to combined rules.
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
IPSDKIMAGEPROCESSING_API processor::RulePtr isSequence(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image temporal type
IPSDKIMAGEPROCESSING_API processor::RulePtr isUserColor(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image color type
boost::shared_ptr< BaseRule > RulePtr
shared pointer to rule
Definition: RuleTypes.h:104
IPSDKIMAGEPROCESSING_API processor::RulePtr imageType(const ImageAttributeConstWeakPtr &pAttribute, const image::eImageType &imageType0)
function allowing to check allowed image types
Definition of import/export macro for library.
boost::shared_ptr< BaseCustomCheckedImageProperty > CustomCheckedImagePropertyPtr
shared pointer to CustomCheckedImageProperty
Definition: CustomCheckedImagePropertyTypes.h:62
IPSDKIMAGEPROCESSING_API processor::RulePtr isGpu(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check if the image is stored on GPU
IPSDKIMAGEPROCESSING_API processor::RulePtr isColor(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image color type
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
IPSDKIMAGEPROCESSING_API processor::RulePtr isRgb(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image color type
IPSDKIMAGEPROCESSING_API processor::RulePtr bufferType(const ImageAttributeConstWeakPtr &pImageAttribute, const IBTAttributeConstWeakPtr &pIBTAttribute)
function allowing to check that an image correspond to a given image buffer types attribute ...
eImageType
Enumerate describing image type.
Definition: ImageTypes.h:58
IPSDKIMAGEPROCESSING_API processor::RulePtr isGrey(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image color type
IPSDKIMAGEPROCESSING_API processor::RulePtr imageBaseType(const ImageAttributeConstWeakPtr &pAttribute, const image::eImageBaseType &imageBaseType0)
function allowing to check allowed image base types
IPSDKIMAGEPROCESSING_API processor::RulePtr is2d(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image volume type
IPSDKIMAGEPROCESSING_API processor::RulePtr heterogeneousBufferType(const ImageAttributeConstWeakPtr &pAttribute)
function allowing to check allowed image buffer types
IPSDKIMAGEPROCESSING_API processor::RulePtr customImageProperty(const ImageAttributeConstWeakPtr &pAttribute, const CustomCheckedImagePropertyPtr &pCustomCheckedImageProperty)
function allowing to check custom image properties
IPSDKIMAGEPROCESSING_API processor::RulePtr homogeneousBufferType(const ImageAttributeConstWeakPtr &pAttribute)
function allowing to check allowed image buffer types
Predefined types for rules allowing to check property of an image attribute.
Predefined types for image initializer management.
eImageBufferType
types associated to image buffers
Definition: ImageTypes.h:78
IPSDKIMAGEPROCESSING_API processor::RulePtr isSingle(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image temporal type
IPSDKIMAGEPROCESSING_API processor::RulePtr is3d(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check image volume type
IPSDKIMAGEPROCESSING_API processor::RulePtr isComplete(const ImageAttributeConstWeakPtr &pAttribute)
functions allowing to check where an image is a complete image (not a sub image)