IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KMeansComputeCompactnessLvl3.h
1 // KMeansComputeCompactnessLvl3.h:
3 // -------------------------------
4 //
14 
15 #ifndef __IPSDKIPLCLASSIFICATION_KMEANSCOMPUTECOMPACTNESSLVL3_H__
16 #define __IPSDKIPLCLASSIFICATION_KMEANSCOMPUTECOMPACTNESSLVL3_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InFlattenedClustersCenters.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutKMeansCompactnessInfo.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InClassYStrip2d.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InOptSingleGreyMaskYStrip2d.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Strip/YStrip2d/InSeqYStrip2d.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 namespace classif {
31 
34 
35 // declare processing algorithm
36 IPSDK_DECLARE_PROCESSING_ALGORITHM(IPSDKIPLClassification, KMeansComputeCompactness,
38  (((ipsdk)(imaproc)(attr))(InSeqYStrip2d))
39  (((ipsdk)(imaproc)(attr))(InClassYStrip2d))
40  (((ipsdk)(imaproc)(attr))(InOptSingleGreyMaskYStrip2d))
41  (((ipsdk)(imaproc)(attr))(InFlattenedClustersCenters))
42  (((ipsdk)(imaproc)(attr))(OutKMeansCompactnessInfo)))
43 
44  // implementation of image processing data identifier retrieval method
45  // for function selector usage
46  IPSDK_DECLARE_ALGORITHM_FUNCTION_SELECTOR(((STRIP)(InSeqYStrip2d))
47  ((STRIP)(InClassYStrip2d)));
48 
49  // declaration of parsed data during processing
50  IPSDK_DECLARE_ALGORITHM_PARSED_DATA(((RAWSTRIP)(InSeqYStrip2d))
51  ((RAWSTRIP)(InClassYStrip2d))
52  ((RAWSTRIP)(InOptSingleGreyMaskYStrip2d)));
53 
54 // methods
55 public:
56 
57 protected:
59 
61  template <typename BufInType, typename BufClassType,
62  ipsdk::eInstructionSet::domain IS>
63  ipsdk::BoolResult genericProcessFunction(const ipsdk::processor::ProcessingInfo& info);
64 
65 // attributes
66 protected:
67 
68 };
69 
72 
73 } // end of namespace classif
74 } // end of namespace imaproc
75 } // end of namespace ipsdk
76 
77 #endif // __IPSDKIPLCLASSIFICATION_KMEANSCOMPUTECOMPACTNESSLVL3_H__
IPSDKBASEPROCESSING_API RulePtr none()
ipsdk::core::ExecResult preProcess()
method called before processing
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)