15 #ifndef __IPSDKIPLCLASSIFICATION_KERNELKMEANSASSIGNIMGLVL1_H__ 16 #define __IPSDKIPLCLASSIFICATION_KERNELKMEANSASSIGNIMGLVL1_H__ 23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InHomogeneousImg.h> 24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InKKMeansCentroids.h> 25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutClassImg.h> 38 (((
ipsdk)(imaproc)(attr))(InHomogeneousImg))
39 (((
ipsdk)(imaproc)(attr))(InKKMeansCentroids))
66 #endif // __IPSDKIPLCLASSIFICATION_KERNELKMEANSASSIGNIMGLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKIPLCLASSIFICATION_API CustomCheckedImagePropertyPtr matchKernelKMeansClassImg(const ImageAttributeConstPtr &pInHomogeneousImgAttribute, const boost::shared_ptr< const attr::InNbClusters > &pInNbClustersAttribute)
function allowing to check that output class image matches input image and expected number of cluster...
ipsdk::core::ExecResult preProcess()
method called before processing
IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr outputKernelKMeans(const ImageAttributeConstPtr &pInputAttribute, const boost::shared_ptr< const attr::InNbClusters > &pInNbClustersAttribute)
function allowing to create a Kernel KMeans output image initializer
Definition of import/export macro for library.
processor::OutputInitializerPtr customOutput(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const CustomImageInfoPtr &pCustomImageInfo)
Utility functions for Kernel KMeans attribute rules management.
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDK_DECLARE_GPU_PROCESSING_ALGORITHM(IPSDKIPLFiltering, Convolution2dImg, ipsdk::imaproc::matchSize(_pInSubGpuImg, _pOutImg),(((ipsdk)(imaproc)(attr))(InSubGpuImg))(((ipsdk)(imaproc)(attr))(InKnlXY))(((ipsdk)(imaproc)(attr))(InNormalize))(((ipsdk)(imaproc)(attr))(InConvolBorder2d))(((ipsdk)(imaproc)(attr))(OutImg))) IPSDKCUDA_DECLARE_ALGORITHM_FUNCTION_SELECTOR((InSubGpuImg)(OutImg)) public void clearIntermediateData()
method called before processing
Utility functions for Kernel KMeans attribute output initialization management.