15 #ifndef __IPSDKIPLCLASSIFICATION_KMEANSIMG_H__ 16 #define __IPSDKIPLCLASSIFICATION_KMEANSIMG_H__ 115 #endif // __IPSDKIPLCLASSIFICATION_KMEANSIMG_H__ IPSDKIPLCLASSIFICATION_API KMeansResults kMeansImg(const ipsdk::image::ImageConstPtr &pInImg, const ipUInt32 nbClusters)
wrapper function for classifies pixels of an image using k-means algorithm
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansImgLvl1 > kMeansImg_async(const ipsdk::image::ImageConstPtr &pInImg, const ipUInt32 nbClusters)
asynchronous wrappers
Predefined types for KMeansImg management.
#define IPSDKIPLCLASSIFICATION_API
Import/Export macro for library IPSDKIPLClassification.
Definition: IPSDKIPLClassificationExports.h:25
boost::shared_ptr< BaseImage > ImagePtr
Definition of import/export macro for library.
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDKIPLCLASSIFICATION_API image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< KernelKMeansAssignImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor