IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KernelKMeansAssignImgLvl3.h
1 // KernelKMeansAssignImgLvl3.h:
3 // ----------------------------
4 //
14 
15 #ifndef __IPSDKIPLCLASSIFICATION_KERNELKMEANSASSIGNIMGLVL3_H__
16 #define __IPSDKIPLCLASSIFICATION_KERNELKMEANSASSIGNIMGLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InSeqYStrip2d.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InKKMeansCentroids.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/OutClassYStrip2d.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace classif {
29 
32 
33 // declare processing algorithm
34 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLClassification, KernelKMeansAssignImg,
35  ipsdk::imaproc::matchPlanarSize(_pInSeqYStrip2d, _pOutClassYStrip2d),
36  (((ipsdk)(imaproc)(attr))(InSeqYStrip2d))
37  (((ipsdk)(imaproc)(attr))(InKKMeansCentroids))
38  (((ipsdk)(imaproc)(attr))(OutClassYStrip2d)))
39 
40  // implementation of image processing data identifier retrieval method
41  // for function selector usage
42  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InSeqYStrip2d))
43  ((STRIP)(OutClassYStrip2d)));
44 
45  // declaration of parsed data during processing
46  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InSeqYStrip2d))
47  ((RAWSTRIP)(OutClassYStrip2d)));
48 
49 // methods
50 public:
51 
52 protected:
53 
55  template <typename BufInType, typename BufOutType,
56  ipsdk::eInstructionSet::domain IS>
57  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
58 
59 // attributes
60 protected:
61 
62 };
63 
66 
67 } // end of namespace classif
68 } // end of namespace imaproc
69 } // end of namespace ipsdk
70 
71 #endif // __IPSDKIPLCLASSIFICATION_KERNELKMEANSASSIGNIMGLVL3_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)