IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces
KMeansUtils.h File Reference

Utility functions for k-means python wrapping. More...

#include <Python/PyIPSDKIPLClassification/PyIPSDKIPLClassificationExports.h>
#include <IPSDKIPL/IPSDKIPLClassification/Processor/KMeansImg/KMeansImg.h>
#include <IPSDKIPL/IPSDKIPLClassification/Processor/KernelKMeansImg/KernelKMeansImg.h>
#include <boost/python/tuple.hpp>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::python
 Namespace aggregating IPSDK to python base wrappers.
 

Functions

PYIPSDKIPLCLASSIFICATION_API boost::python::tuple ipsdk::python::kMeansImg (const image::ImageConstPtr &pInImg, const ipUInt32 nbClusters)
 wrapper function k-means algorithm More...
 
PYIPSDKIPLCLASSIFICATION_API boost::python::tuple ipsdk::python::kMeansImg (const image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbAttempts, const ipUInt32 nbMaxIterPerAttempt, const ipReal64 centersShiftTol, const ipsdk::image::ImagePtr &pOutClassImg)
 wrapper function k-means algorithm More...
 
PYIPSDKIPLCLASSIFICATION_API boost::python::tuple ipsdk::python::kMeansImg (const image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipUInt32 nbClusters)
 wrapper function k-means algorithm using a mask More...
 
PYIPSDKIPLCLASSIFICATION_API boost::python::tuple ipsdk::python::kMeansImg (const image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipUInt32 nbClusters, const ipUInt32 nbAttempts, const ipUInt32 nbMaxIterPerAttempt, const ipReal64 centersShiftTol, const ipsdk::image::ImagePtr &pOutClassImg)
 wrapper function k-means algorithm using a mask More...
 
PYIPSDKIPLCLASSIFICATION_API boost::python::tuple ipsdk::python::getAsyncProcessorOutput (boost::shared_ptr< ipsdk::imaproc::classif::KMeansImgLvl1 > pProcessor)
 Wrapper to retrieve the result of an asynchronous processor.
 
PYIPSDKIPLCLASSIFICATION_API boost::python::tuple ipsdk::python::getAsyncProcessorOutput (boost::shared_ptr< ipsdk::imaproc::classif::KernelKMeansImgLvl1 > pProcessor)
 Wrapper to retrieve the result of an asynchronous processor.
 

Detailed Description

Utility functions for k-means python wrapping.

Author
H. Delestre
Date
2017/01/12