IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
CartesianToPolarImgLvl3.h
1 // CartesianToPolarImgLvl3.h:
3 // --------------------------
4 //
14 
15 #ifndef __IPSDKIPLARITHMETIC_CARTESIANTOPOLARIMGLVL3_H__
16 #define __IPSDKIPLARITHMETIC_CARTESIANTOPOLARIMGLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InXYStrip2d.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InYYStrip2d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutRhoYStrip2d.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutThetaYStrip2d.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace arithm {
30 
33 
34 // declare processing algorithm
35 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLArithmetic, CartesianToPolarImg,
36  ipsdk::imaproc::matchSize(_pInXYStrip2d, _pInYYStrip2d, _pOutRhoYStrip2d, _pOutThetaYStrip2d),
37  (((ipsdk)(imaproc)(attr))(InXYStrip2d))
38  (((ipsdk)(imaproc)(attr))(InYYStrip2d))
39  (((ipsdk)(imaproc)(attr))(OutRhoYStrip2d))
40  (((ipsdk)(imaproc)(attr))(OutThetaYStrip2d)))
41 
42  // implementation of image processing data identifier retrieval method
43  // for function selector usage
45 
46  // declaration of parsed data during processing
47  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InXYStrip2d))
48  ((RAWSTRIP)(InYYStrip2d))
49  ((RAWSTRIP)(OutRhoYStrip2d))
50  ((RAWSTRIP)(OutThetaYStrip2d)));
51 
52 // methods
53 public:
54 
55 protected:
57  template <ipsdk::eInstructionSet::domain IS>
58  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
59 
61  ipsdk::BoolResult genericGpuProcessFunction(const ipsdk::processor::ProcessingInfo& info);
62 
63 // attributes
64 protected:
65 
66 };
67 
70 
71 } // end of namespace arithm
72 } // end of namespace imaproc
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKIPLARITHMETIC_CARTESIANTOPOLARIMGLVL3_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_NOTYPE_ALGORITHM_FUNCTION_SELECTOR()