IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ResampleCustomZStack3dImgLvl3.h
1 // ResampleCustomZStack3dImgLvl3.h:
3 // --------------------------------
4 //
14 
15 #ifndef __IPSDKIPLGEOMETRICTRANSFORM_RESAMPLECUSTOMZSTACK3DIMGLVL3_H__
16 #define __IPSDKIPLGEOMETRICTRANSFORM_RESAMPLECUSTOMZSTACK3DIMGLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InZSteps.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Enumerate/InInterpolationPolicy.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/ZStrip3d/InZStrip3d.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/ZStrip3d/OutZStrip3d.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace gtrans {
30 
33 
34 // declare processing algorithm
35 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLGeometricTransform, ResampleCustomZStack3dImg,
37  (((ipsdk)(imaproc)(attr))(InZStrip3d))
38  (((ipsdk)(imaproc)(attr))(InZSteps))
39  (((ipsdk)(imaproc)(attr))(InInterpolationPolicy))
40  (((ipsdk)(imaproc)(attr))(OutZStrip3d)))
41 
42  // implementation of image processing data identifier retrieval method
43  // for function selector usage
44  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InZStrip3d))
45  ((STRIP)(OutZStrip3d)));
46 
47  // declaration of parsed data during processing
49 
50 // methods
51 public:
52 
53 protected:
54 
56  template <typename BufInType, typename BufOutType,
57  ipsdk::eInstructionSet::domain IS>
58  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
59 
61  template <typename BufInType, typename BufOutType, ipsdk::eInstructionSet::domain IS>
62  ipsdk::BoolResult nearestNeighbourProcessFunction(const ipsdk::processor::ProcessingInfo& info);
63 
65  template <typename BufInType, typename BufOutType, ipsdk::eInstructionSet::domain IS>
66  ipsdk::BoolResult linearInterpolProcessFunction(const ipsdk::processor::ProcessingInfo& info);
67 
69  template <typename BufInType, typename BufOutType, ipsdk::eInstructionSet::domain IS>
70  ipsdk::BoolResult cubicHermiteSplineInterpolProcessFunction(const ipsdk::processor::ProcessingInfo& info);
71 
72 // attributes
73 protected:
74  std::vector<ipReal32> _inZValues;
75 };
76 
79 
80 } // end of namespace gtrans
81 } // end of namespace imaproc
82 } // end of namespace ipsdk
83 
84 #endif // __IPSDKIPLGEOMETRICTRANSFORM_RESAMPLECUSTOMZSTACK3DIMGLVL3_H__
#define IPSDK_DECLARE_ALGORITHM_NOPARSED_DATA()
IPSDKBASEPROCESSING_API RulePtr none()
Definition of import/export macro for library.
#define IPSDK_DECLARE_PROCESSING_ALGORITHM(libraryName, algoName, RuleString, attributeSeq)
#define IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(dataTypeSeq)