IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
MaskImgLvl3.h
1 // MaskImgLvl3.h:
3 // --------------------
4 //
16 
17 #ifndef __IPSDKIPLLOGICAL_MASKIMGLVL3_H__
18 #define __IPSDKIPLLOGICAL_MASKIMGLVL3_H__
19 
22 
23 // Attributes headers
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYStrip2d.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InMaskYStrip2d.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutYStrip2d.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Enumerate/InMaskMode.h>
28 
29 namespace ipsdk {
30 namespace imaproc {
31 namespace logic {
32 
35 
36 // declare processing algorithm
37 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLLogical, MaskImg,
38  ipsdk::imaproc::matchSize(_pInYStrip2d, _pInMaskYStrip2d, _pOutYStrip2d) &&
39  ipsdk::imaproc::matchBufferType(_pInYStrip2d, _pOutYStrip2d),
40  (((ipsdk)(imaproc)(attr))(InYStrip2d))
41  (((ipsdk)(imaproc)(attr))(InMaskYStrip2d))
42  (((ipsdk)(imaproc)(attr))(InMaskMode))
43  (((ipsdk)(imaproc)(attr))(OutYStrip2d)))
44 
45  // implementation of image processing data identifier retrieval method
46  // for function selector usage
47  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InYStrip2d)));
48 
49  // declaration of parsed data during processing
50  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InMaskYStrip2d))
51  ((RAWSTRIP)(InYStrip2d))
52  ((RAWSTRIP)(OutYStrip2d)));
53 
54 // methods
55 public:
56 
57 protected:
59  template <typename BufInType,
60  ipsdk::eInstructionSet::domain IS>
61  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
62 
63 // attributes
64 protected:
65 
66 };
67 
70 
71 } // end of namespace logic
72 } // end of namespace imaproc
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKIPLLOGICAL_MASKIMGLVL3_H__
Definition of import/export macro for library.
#define IPSDK_DECLARE_PROCESSING_ALGORITHM(libraryName, algoName, RuleString, attributeSeq)
#define IPSDK_DECLARE_ALGORITHM_PARSED_DATA(dataSeq)
#define IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(dataTypeSeq)