IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Enumerations | Functions
ipsdk::imaproc::classif Namespace Reference

Namespace aggregating classification operations on images. More...

Classes

class  IPSDKIPLClassificationException
 Exception class for library IPSDKIPLClassification. More...
 
class  KernelKMeansAssignImgLvl1
 Level 1 algorithm: assignment part of Kernel based KMeans clustering algorithm. More...
 
class  KernelKMeansAssignImgLvl2
 Level 2 algorithm: assignment part of Kernel based KMeans clustering algorithm. More...
 
class  KernelKMeansAssignImgLvl3
 Level 3 algorithm: assignment part of Kernel based KMeans clustering algorithm. More...
 
class  KernelKMeansImgLvl1
 Level 1 algorithm: Kernel KMeans clustering algorithm. More...
 
struct  KernelKMeansResults
 Structure allowing to encaspulate image of classes and coordinates of clusters centroids resulting from the application of the K-means algorithm. More...
 
class  KMeansAssignImgLvl1
 Level 1 algorithm: Assigns pixels of an input image to clusters given clusters centroids. More...
 
class  KMeansAssignImgLvl2
 Level 2 algorithm: Assigns pixels of an input image to clusters given clusters centroids. More...
 
class  KMeansAssignImgLvl3
 Level 3 algorithm: Assigns pixels of an input image to clusters given clusters centroids. More...
 
struct  KMeansAssignResults
 
class  KMeansComputeCentersLvl1
 Level 1 algorithm: Compute clusters centroids given an input image and the image of classes. More...
 
class  KMeansComputeCentersLvl2
 Level 2 algorithm: Compute clusters centroids given an input image and the image of classes. More...
 
class  KMeansComputeCentersLvl3
 Level 3 algorithm: Compute clusters centroids given an input image and the image of classes. More...
 
class  KMeansComputeCompactnessLvl1
 Level 1 algorithm: Compute compactness given an input image of classes and clusters centroids. More...
 
class  KMeansComputeCompactnessLvl2
 Level 2 algorithm: Compute compactness given an input image of classes and clusters centroids. More...
 
class  KMeansComputeCompactnessLvl3
 Level 3 algorithm: Compute compactness given an input image of classes and clusters centroids. More...
 
class  KMeansImgLvl1
 See K-means algorithm for a complete algorithm description. More...
 
class  KMeansPosterizeImgLvl1
 Level 1 algorithm: Posterize an image using the results from k-means algorithm. More...
 
class  KMeansPosterizeImgLvl2
 Level 2 algorithm: Posterize an image using the results from k-means algorithm. More...
 
class  KMeansPosterizeImgLvl3
 Level 3 algorithm: Posterize an image using the results from k-means algorithm. More...
 
class  KMeansPPClusterInitLvl1
 Level 1 algorithm: Initializes the clusters for K-Mean classification. More...
 
struct  KMeansResults
 Structure allowing to encaspulate image of classes, coordinates of centers of clusters and compactness resulting from the application of the K-means algorithm. More...
 
class  PCAReductionImgLvl1
 Level 1 algorithm: Applies PCA to a sequence image to reduce its dimensionality. More...
 
struct  PCAReductionResults
 Structure allowing to encaspulate the result of a PCA image reduction. More...
 

Enumerations

enum  eIPSDKIPLClassificationMessage { eKernelKMeansImgReturnTypeChanged }
 Enumerate describing messages. More...
 
enum  eOutputInitializerMessage { eNullInputAttribute }
 
enum  eProcessorMessage {
  eKMeansAssignImgLvl1ToolTipId, eKMeansAssignImgLvl2ToolTipId, eKMeansAssignImgLvl3ToolTipId, eKMeansCentersRandomInitLvl1ToolTipId,
  eKMeansComputeCentersLvl1ToolTipId, eKMeansComputeCentersLvl2ToolTipId, eKMeansComputeCentersLvl3ToolTipId, eKMeansComputeCompactnessLvl1ToolTipId,
  eKMeansComputeCompactnessLvl2ToolTipId, eKMeansComputeCompactnessLvl3ToolTipId, eKMeansImgLvl1ToolTipId, eKMeansPPClusterInitLvl1ToolTipId,
  eKMeansPPClusterInitNonRandomLvl2ToolTipId, eKMeansPPClusterInitNonRandomLvl3ToolTipId, eKMeansPPClusterInitRandomFirstPassLvl3ToolTipId, eKMeansPPClusterInitRandomLvl2ToolTipId,
  eKMeansPPClusterInitRandomSecondPassLvl3ToolTipId, eKMeansPosterizeImgLvl1ToolTipId, eKMeansPosterizeImgLvl2ToolTipId, eKMeansPosterizeImgLvl3ToolTipId,
  eKernelKMeansAssignImgLvl1ToolTipId, eKernelKMeansAssignImgLvl2ToolTipId, eKernelKMeansAssignImgLvl3ToolTipId, eKernelKMeansImgLvl1ToolTipId,
  eLocateMostEccentricClusterEltLvl1ToolTipId, eLocateMostEccentricClusterEltLvl2ToolTipId, eLocateMostEccentricClusterEltLvl3ToolTipId, ePCADecompositionLvl1ToolTipId,
  ePCADecompositionLvl2ToolTipId, ePCADecompositionLvl3ToolTipId, ePCAProjectionLvl1ToolTipId, ePCAProjectionLvl2ToolTipId,
  ePCAProjectionLvl3ToolTipId, ePCAReductionImgLvl1ToolTipId, ePCAReductionImgLvl2ToolTipId, ePCAReductionImgLvl3ToolTipId
}
 
enum  eRuleMessage {
  eClustersCentersCollMatchImgSizeEvalMsg, eClustersCentersCollMatchImgSizeFormalMsg, eExpectedEltInOutSeqLowerEqualInImgSizeCSizeTProductEvaluated, eExpectedEltInOutSeqLowerEqualInImgSizeCSizeTProductFormal,
  eExpiredAttributeWeakPtr, eImg1SizeTLowerEqualImg2SizeCSizeTProductEvalMsg, eImg1SizeTLowerEqualImg2SizeCSizeTProductFormalMsg, eNullInputAttribute,
  eRuleFailed, eRuleNotInit, eRuleSuccessful
}
 

Functions

IPSDKIPLCLASSIFICATION_API const std::string & getIPSDKIPLClassificationLoggerName ()
 Recovery of logger name associated to library.
 
IPSDKIPLCLASSIFICATION_API log4cplus::Logger & getIPSDKIPLClassificationLogger ()
 Recovery of logger associated to library.
 
IPSDKIPLCLASSIFICATION_API const ipsdk::LogMessageManagergetIPSDKIPLClassificationLogMessageManager ()
 Recovery of message manager associated to library.
 
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
 
IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr outputKernelKMeans (const ImageAttributeConstPtr &pInputAttribute, const boost::shared_ptr< const attr::InKKMeansCentroids > &pInKKMeansCentroidsAttribute)
 function allowing to create a Kernel KMeans output image initializer
 
IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr outputKMeans (const ImageAttributeConstPtr &pInputAttribute, const boost::shared_ptr< const attr::InNbClusters > &pNbClustersAttribute)
 
IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr outputKMeans (const ImageAttributePtr &pOutClassImgAttribute, const ImageAttributeConstPtr &pInputAttribute, const boost::shared_ptr< const attr::InNbClusters > &pNbClustersAttribute)
 
IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr outputKMeans (const ImageAttributeConstPtr &pInputAttribute, const boost::shared_ptr< const attr::InClustersCenters > &pClustersPptiesCollAttribute)
 
IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr outputPCADecomposition (const ImageAttributePtr &pOutImgAttribute, const ImageAttributeConstPtr &pInputAttribute, ipUInt64 nbEltsInOutputSequence)
 
IPSDKIPLCLASSIFICATION_API image::ImagePtr kernelKMeansAssignImg (const image::ImageConstPtr &pInImg, const attr::KKMeansCentroidsConstPtr &pInKKMeansCentroids)
 wrapper function for assignment part of Kernel based KMeans clustering algorithm More...
 
IPSDKIPLCLASSIFICATION_API void kernelKMeansAssignImg (const image::ImageConstPtr &pInImg, const attr::KKMeansCentroidsConstPtr &pInKKMeansCentroids, const image::ImagePtr &pOutClassImg)
 wrapper function for assignment part of Kernel based KMeans clustering algorithm More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KernelKMeansAssignImgLvl1kernelKMeansAssignImg_async (const image::ImageConstPtr &pInImg, const attr::KKMeansCentroidsConstPtr &pInKKMeansCentroids)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KernelKMeansAssignImgLvl1kernelKMeansAssignImg_async (const image::ImageConstPtr &pInImg, const attr::KKMeansCentroidsConstPtr &pInKKMeansCentroids, const image::ImagePtr &pOutClassImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API image::ImagePtr getAsyncProcessorOutput (boost::shared_ptr< KernelKMeansAssignImgLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
IPSDKIPLCLASSIFICATION_API KernelKMeansResults kernelKMeansImg (const image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbSamples)
 wrapper function for Kernel KMeans clustering algorithm More...
 
IPSDKIPLCLASSIFICATION_API void kernelKMeansImg (const image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbSamples, const ipUInt32 nbAttempts, const attr::KernelKMeansParamsConstPtr &pKernelKMeansParams, const image::ImagePtr &pOutClassImg, const attr::KKMeansCentroidsPtr &pOutKKMeansCentroids)
 wrapper function for Kernel KMeans clustering algorithm More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KernelKMeansImgLvl1kernelKMeansImg_async (const image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbSamples)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KernelKMeansImgLvl1kernelKMeansImg_async (const image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbSamples, const ipUInt32 nbAttempts, const attr::KernelKMeansParamsConstPtr &pKernelKMeansParams, const image::ImagePtr &pOutClassImg, const attr::KKMeansCentroidsPtr &pOutKKMeansCentroids)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API KernelKMeansResults getAsyncProcessorOutput (boost::shared_ptr< KernelKMeansImgLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
IPSDKIPLCLASSIFICATION_API image::ImagePtr kMeansAssignImg (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters)
 wrapper function for Assigns pixels of an input image to clusters given clusters centroids More...
 
IPSDKIPLCLASSIFICATION_API image::ImagePtr kMeansAssignImg (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters)
 wrapper function for Assigns pixels of an input image to clusters given clusters centroids More...
 
IPSDKIPLCLASSIFICATION_API void kMeansAssignImg (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters, const ipsdk::image::ImagePtr &pOutClassImg)
 wrapper function for Assigns pixels of an input image to clusters given clusters centroids More...
 
IPSDKIPLCLASSIFICATION_API void kMeansAssignImg (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters, const ipsdk::image::ImagePtr &pOutClassImg)
 wrapper function for Assigns pixels of an input image to clusters given clusters centroids More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansAssignImgLvl1kMeansAssignImg_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansAssignImgLvl1kMeansAssignImg_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansAssignImgLvl1kMeansAssignImg_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters, const ipsdk::image::ImagePtr &pOutClassImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansAssignImgLvl1kMeansAssignImg_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters, const ipsdk::image::ImagePtr &pOutClassImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API image::ImagePtr getAsyncProcessorOutput (boost::shared_ptr< KMeansAssignImgLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr kMeansComputeCenters (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg)
 wrapper function for Compute clusters centroids given an input image and the image of classes More...
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr kMeansComputeCenters (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg)
 wrapper function for Compute clusters centroids given an input image and the image of classes More...
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr kMeansComputeCenters (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipUInt32 nbClusters)
 wrapper function for Compute clusters centroids given an input image and the image of classes More...
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr kMeansComputeCenters (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipUInt32 nbClusters)
 wrapper function for Compute clusters centroids given an input image and the image of classes More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansComputeCentersLvl1kMeansComputeCenters_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansComputeCentersLvl1kMeansComputeCenters_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansComputeCentersLvl1kMeansComputeCenters_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipUInt32 nbClusters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansComputeCentersLvl1kMeansComputeCenters_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipUInt32 nbClusters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr getAsyncProcessorOutput (boost::shared_ptr< KMeansComputeCentersLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
IPSDKIPLCLASSIFICATION_API ipsdk::ipReal64 kMeansComputeCompactness (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters)
 wrapper function for Compute compactness given an input image of classes and clusters centroids More...
 
IPSDKIPLCLASSIFICATION_API ipsdk::ipReal64 kMeansComputeCompactness (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters)
 wrapper function for Compute compactness given an input image of classes and clusters centroids More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansComputeCompactnessLvl1kMeansComputeCompactness_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansComputeCompactnessLvl1kMeansComputeCompactness_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pInClustersCenters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API ipsdk::ipReal64 getAsyncProcessorOutput (boost::shared_ptr< KMeansComputeCompactnessLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
IPSDKIPLCLASSIFICATION_API KMeansResults kMeansImg (const ipsdk::image::ImageConstPtr &pInImg, const ipUInt32 nbClusters)
 wrapper function for classifies pixels of an image using k-means algorithm More...
 
IPSDKIPLCLASSIFICATION_API KMeansResults kMeansImg (const ipsdk::image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbAttempts, const ipUInt32 nbMaxIterPerAttempt, const ipReal64 centersShiftTol, const ipsdk::image::ImagePtr &pOutClassImg)
 wrapper function for classifies pixels of an image using k-means algorithm More...
 
IPSDKIPLCLASSIFICATION_API KMeansResults kMeansImg (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipUInt32 nbClusters)
 wrapper function for classifies pixels of an image using k-means algorithm using a mask More...
 
IPSDKIPLCLASSIFICATION_API KMeansResults kMeansImg (const ipsdk::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 for classifies pixels of an image using k-means algorithm using a mask More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansImgLvl1kMeansImg_async (const ipsdk::image::ImageConstPtr &pInImg, const ipUInt32 nbClusters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansImgLvl1kMeansImg_async (const ipsdk::image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbAttempts, const ipUInt32 nbMaxIterPerAttempt, const ipReal64 centersShiftTol, const ipsdk::image::ImagePtr &pOutClassImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansImgLvl1kMeansImg_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipUInt32 nbClusters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansImgLvl1kMeansImg_async (const ipsdk::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)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API KMeansResults getAsyncProcessorOutput (boost::shared_ptr< KMeansImgLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
IPSDKIPLCLASSIFICATION_API image::ImagePtr kMeansPosterizeImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pClassImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pClustersCenters)
 wrapper function for Posterize an image using the results from k-means algorithm More...
 
IPSDKIPLCLASSIFICATION_API image::ImagePtr kMeansPosterizeImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pClustersCenters)
 wrapper function for Posterize an image using the results from k-means algorithm More...
 
IPSDKIPLCLASSIFICATION_API void kMeansPosterizeImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pClassImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pClustersCenters, const image::ImagePtr &pOutImg)
 wrapper function for Posterize an image using the results from k-means algorithm More...
 
IPSDKIPLCLASSIFICATION_API void kMeansPosterizeImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pClustersCenters, const image::ImagePtr &pOutImg)
 wrapper function for Posterize an image using the results from k-means algorithm More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansPosterizeImgLvl1kMeansPosterizeImg_async (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pClassImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pClustersCenters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansPosterizeImgLvl1kMeansPosterizeImg_async (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pClustersCenters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansPosterizeImgLvl1kMeansPosterizeImg_async (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pClassImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pClustersCenters, const image::ImagePtr &pOutImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansPosterizeImgLvl1kMeansPosterizeImg_async (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pClassImg, const ipsdk::image::ImageConstPtr &pMaskImg, const ipsdk::imaproc::attr::ClustersCentersConstPtr &pClustersCenters, const image::ImagePtr &pOutImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API image::ImagePtr getAsyncProcessorOutput (boost::shared_ptr< KMeansPosterizeImgLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr kMeansPPClusterInit (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::ipUInt32 inNbClusters)
 wrapper function for Initializes the clusters for K-Mean classification The algorithm used is K-Mean++ and is based on random cluster selection More...
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr kMeansPPClusterInit (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipsdk::ipUInt32 inNbClusters)
 wrapper function for Initializes the clusters for K-Mean classification The algorithm used is K-Mean++ and is based on random cluster selection More...
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr nonRandomKMeansPPClusterInit (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::ipUInt32 inNbClusters)
 wrapper function for Initializes the clusters for K-Mean classification The algorithm used a non-random version of the K-Mean++ algorithm More...
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr nonRandomKMeansPPClusterInit (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipsdk::ipUInt32 inNbClusters)
 wrapper function for Initializes the clusters for K-Mean classification The algorithm used a non-random version of the K-Mean++ algorithm More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansPPClusterInitLvl1kMeansPPClusterInit_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::ipUInt32 inNbClusters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansPPClusterInitLvl1kMeansPPClusterInit_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipsdk::ipUInt32 inNbClusters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansPPClusterInitLvl1nonRandomKMeansPPClusterInit_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::ipUInt32 inNbClusters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KMeansPPClusterInitLvl1nonRandomKMeansPPClusterInit_async (const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipsdk::ipUInt32 inNbClusters)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API attr::ClustersCentersPtr getAsyncProcessorOutput (boost::shared_ptr< KMeansPPClusterInitLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
IPSDKIPLCLASSIFICATION_API PCAReductionResults pcaReductionImg (const ipsdk::image::ImageConstPtr &pInSeqImg)
 wrapper function for reduction of the dimensionality of a sequence image using PCA More...
 
IPSDKIPLCLASSIFICATION_API PCAReductionResults pcaReductionImg (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::imaproc::attr::PCAReductionParamsConstPtr &pParams)
 wrapper function for reduction of the dimensionality of a sequence image using PCA More...
 
IPSDKIPLCLASSIFICATION_API PCAReductionResults pcaReductionImg (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::image::ImagePtr &pOutImg)
 wrapper function for reduction of the dimensionality of a sequence image using PCA More...
 
IPSDKIPLCLASSIFICATION_API PCAReductionResults pcaReductionMaskImg (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg)
 wrapper function for reduction of the dimensionality of a sequence image using PCA and using a mask More...
 
IPSDKIPLCLASSIFICATION_API PCAReductionResults pcaReductionMaskImg (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::imaproc::attr::PCAReductionParamsConstPtr &pParams, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg)
 wrapper function for reduction of the dimensionality of a sequence image using PCA and using a mask More...
 
IPSDKIPLCLASSIFICATION_API PCAReductionResults pcaReductionMaskImg (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipsdk::image::ImagePtr &pOutImg)
 wrapper function for reduction of the dimensionality of a sequence image using PCA and using a mask More...
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< PCAReductionImgLvl1pcaReductionImg_async (const ipsdk::image::ImageConstPtr &pInSeqImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< PCAReductionImgLvl1pcaReductionImg_async (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::imaproc::attr::PCAReductionParamsConstPtr &pParams)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< PCAReductionImgLvl1pcaReductionImg_async (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::image::ImagePtr &pOutImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< PCAReductionImgLvl1pcaReductionMaskImg_async (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< PCAReductionImgLvl1pcaReductionMaskImg_async (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::imaproc::attr::PCAReductionParamsConstPtr &pParams, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< PCAReductionImgLvl1pcaReductionMaskImg_async (const ipsdk::image::ImageConstPtr &pInSeqImg, const ipsdk::image::ImageConstPtr &pInOptSingleGreyMaskImg, const ipsdk::image::ImagePtr &pOutImg)
 asynchronous wrappers
 
IPSDKIPLCLASSIFICATION_API PCAReductionResults getAsyncProcessorOutput (boost::shared_ptr< PCAReductionImgLvl1 > pProcessor)
 function to retrieve the result of an asynchronous processor
 
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 clusters requirements
 
IPSDKIPLCLASSIFICATION_API CustomCheckedImagePropertyPtr matchKernelKMeansClassImg (const ImageAttributeConstPtr &pInHomogeneousImgAttribute, const boost::shared_ptr< const attr::InKKMeansCentroids > &pInKKMeansCentroidsAttribute)
 function allowing to check that output class image matches input image and expected number of clusters requirements
 
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< processor::BaseNodeCollRuleclustersCentersCollMatchImgSize (const boost::shared_ptr< const attr::InClustersCenters > &pClustersCentersAttribute, const ImageAttributeConstPtr &pImgAttribute)
 
IPSDKIPLCLASSIFICATION_API CustomCheckedImagePropertyPtr allowedClassImgBuffersFromNbClusters (const boost::shared_ptr< const attr::InNbClusters > &pInNbClustersAttribute)
 
IPSDKIPLCLASSIFICATION_API CustomCheckedImagePropertyPtr allowedClassImgBuffersFromNbClusters (const boost::shared_ptr< const attr::InClustersCenters > &pInClustersPptiesCollAttribute)
 

Detailed Description

Namespace aggregating classification operations on images.

Enumeration Type Documentation

◆ eIPSDKIPLClassificationMessage

Enumerate describing messages.

Note
This enumerate is associated to a message map
See also
IPSDK_Message_Map
Enumerator
eKernelKMeansImgReturnTypeChanged 

[KMeansImg] The data type returned by this function has changed and now returns a KMeansResults (3 results)

◆ eOutputInitializerMessage

Enumerator
eNullInputAttribute 

Input attribute should not be null.

◆ eProcessorMessage

Enumerator
eKMeansAssignImgLvl1ToolTipId 

Level 1 algorithm: Assigns pixels of an input image to clusters given clusters centroids.

eKMeansAssignImgLvl2ToolTipId 

Level 2 algorithm: Assigns pixels of an input image to clusters given clusters centroids.

eKMeansAssignImgLvl3ToolTipId 

Level 3 algorithm: Assigns pixels of an input image to clusters given clusters centroids.

eKMeansCentersRandomInitLvl1ToolTipId 

Level 1 algorithm: generates the expected number of clusters centers for the initialization of the k-means algorithm, using a random sampling method.

eKMeansComputeCentersLvl1ToolTipId 

Level 1 algorithm: Compute clusters centroids given an input image and the image of classes.

eKMeansComputeCentersLvl2ToolTipId 

Level 2 algorithm: Compute clusters centroids given an input image and the image of classes.

eKMeansComputeCentersLvl3ToolTipId 

Level 3 algorithm: Compute clusters centroids given an input image and the image of classes.

eKMeansComputeCompactnessLvl1ToolTipId 

Level 1 algorithm: Compute compactness given an input image of classes and clusters centroids.

eKMeansComputeCompactnessLvl2ToolTipId 

Level 2 algorithm: Compute compactness given an input image of classes and clusters centroids.

eKMeansComputeCompactnessLvl3ToolTipId 

Level 3 algorithm: Compute compactness given an input image of classes and clusters centroids.

eKMeansImgLvl1ToolTipId 

Level 1 algorithm: classifies pixels of an image using k-means algorithm.

eKMeansPPClusterInitLvl1ToolTipId 

Level 1 algorithm: Initializes the clusters for K-Mean classification.

eKMeansPPClusterInitNonRandomLvl2ToolTipId 

Level 2 algorithm: Initializes the clusters for non random K-Mean classification.

eKMeansPPClusterInitNonRandomLvl3ToolTipId 

Level 3 algorithm: Initializes the clusters for non random K-Mean classification.

eKMeansPPClusterInitRandomFirstPassLvl3ToolTipId 

Level 3 algorithm: Initializes the clusters for random K-Mean classification : Distance map calculation.

eKMeansPPClusterInitRandomLvl2ToolTipId 

Level 2 algorithm: Initializes the clusters for random K-Mean classification.

eKMeansPPClusterInitRandomSecondPassLvl3ToolTipId 

Level 3 algorithm: Initializes the clusters for random K-Mean classification : Cumulated distance map calculation.

eKMeansPosterizeImgLvl1ToolTipId 

Level 1 algorithm: Posterize an image using the results from k-means algorithm.

eKMeansPosterizeImgLvl2ToolTipId 

Level 2 algorithm: Posterize an image using the results from k-means algorithm.

eKMeansPosterizeImgLvl3ToolTipId 

Level 3 algorithm: Posterize an image using the results from k-means algorithm.

eKernelKMeansAssignImgLvl1ToolTipId 

Level 1 algorithm: assignment part of Kernel based KMeans clustering algorithm.

eKernelKMeansAssignImgLvl2ToolTipId 

Level 2 algorithm: assignment part of Kernel based KMeans clustering algorithm.

eKernelKMeansAssignImgLvl3ToolTipId 

Level 3 algorithm: assignment part of Kernel based KMeans clustering algorithm.

eKernelKMeansImgLvl1ToolTipId 

Level 1 algorithm: Kernel KMeans clustering algorithm.

eLocateMostEccentricClusterEltLvl1ToolTipId 

Level 1 algorithm: Locate the element in a cluster that is the farthest from the center.

eLocateMostEccentricClusterEltLvl2ToolTipId 

Level 2 algorithm: Locate the element in a cluster that is the farthest from the center.

eLocateMostEccentricClusterEltLvl3ToolTipId 

Level 3 algorithm: Locate the element in a cluster that is the farthest from the center.

ePCADecompositionLvl1ToolTipId 

Level 1 algorithm: Compute the eigenvectors and eigenvalues within the framework of PCA.

ePCADecompositionLvl2ToolTipId 

Level 2 algorithm: Compute the eigenvectors and eigenvalues within the framework of PCA.

ePCADecompositionLvl3ToolTipId 

Level 3 algorithm: Compute the eigenvectors and eigenvalues within the framework of PCA.

ePCAProjectionLvl1ToolTipId 

Level 1 algorithm: Project vectors describes by the pixels of a sequence image along given direction, within the framework of PCA.

ePCAProjectionLvl2ToolTipId 

Level 2 algorithm: Project vectors describes by the pixels of a sequence image along given direction, within the framework of PCA.

ePCAProjectionLvl3ToolTipId 

Level 3 algorithm: Project vectors describes by the pixels of a sequence image along given direction, within the framework of PCA.

ePCAReductionImgLvl1ToolTipId 

Level 1 algorithm: Applies PCA to a sequence image to reduce its dimensionality.

ePCAReductionImgLvl2ToolTipId 

Level 2 algorithm: Applies PCA to a sequence image to reduce its dimensionality.

ePCAReductionImgLvl3ToolTipId 

Level 3 algorithm: Applies PCA to a sequence image to reduce its dimensionality.

◆ eRuleMessage

Enumerator
eClustersCentersCollMatchImgSizeEvalMsg 

Dimension of elements in clusters centers collection (d for element #d) matches imgSizeC()*imgSizeT() (d*d);.

eClustersCentersCollMatchImgSizeFormalMsg 

Dimension of elements in clusters centers collection matches imgSizeC()*imgSizeT();.

eExpectedEltInOutSeqLowerEqualInImgSizeCSizeTProductEvaluated 

expected nb. of elements in output sequence s[d] is lower than or equal to image s sizeC*sizeT[d*d]");

eExpectedEltInOutSeqLowerEqualInImgSizeCSizeTProductFormal 

expected nb. of elements in output sequence s is lower than or equal to image s sizeC*sizeT");

eExpiredAttributeWeakPtr 

Attribute weak pointer has expired, can't get it.

eImg1SizeTLowerEqualImg2SizeCSizeTProductEvalMsg 

Image s[s] size t (d) is lower than or equal to image s[s] size c * size t (d*d)

eImg1SizeTLowerEqualImg2SizeCSizeTProductFormalMsg 

Image s size t is lower than or equal to image s size c * size t.

eNullInputAttribute 

Input attribute should not be null.

eRuleFailed 

Failed.

eRuleNotInit 

Initialize rule before trying to use its data.

eRuleSuccessful 

Successful.

Function Documentation

◆ outputKMeans() [1/3]

IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr ipsdk::imaproc::classif::outputKMeans ( const ImageAttributeConstPtr pInputAttribute,
const boost::shared_ptr< const attr::InNbClusters > &  pNbClustersAttribute 
)

function allowing to create a k-means output image initializer

◆ outputKMeans() [2/3]

IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr ipsdk::imaproc::classif::outputKMeans ( const ImageAttributePtr pOutClassImgAttribute,
const ImageAttributeConstPtr pInputAttribute,
const boost::shared_ptr< const attr::InNbClusters > &  pNbClustersAttribute 
)

function allowing to create a k-means output image initializer

◆ outputKMeans() [3/3]

IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr ipsdk::imaproc::classif::outputKMeans ( const ImageAttributeConstPtr pInputAttribute,
const boost::shared_ptr< const attr::InClustersCenters > &  pClustersPptiesCollAttribute 
)

function allowing to create a k-means output image initializer

◆ outputPCADecomposition()

IPSDKIPLCLASSIFICATION_API CustomImageInfoPtr ipsdk::imaproc::classif::outputPCADecomposition ( const ImageAttributePtr pOutImgAttribute,
const ImageAttributeConstPtr pInputAttribute,
ipUInt64  nbEltsInOutputSequence 
)

function allowing to create a k-means output image initializer

◆ clustersCentersCollMatchImgSize()

IPSDKIPLCLASSIFICATION_API boost::shared_ptr<processor::BaseNodeCollRule> ipsdk::imaproc::classif::clustersCentersCollMatchImgSize ( const boost::shared_ptr< const attr::InClustersCenters > &  pClustersCentersAttribute,
const ImageAttributeConstPtr pImgAttribute 
)

functions allowing to define dimension of each cluster center given the input image

◆ allowedClassImgBuffersFromNbClusters() [1/2]

IPSDKIPLCLASSIFICATION_API CustomCheckedImagePropertyPtr ipsdk::imaproc::classif::allowedClassImgBuffersFromNbClusters ( const boost::shared_ptr< const attr::InNbClusters > &  pInNbClustersAttribute)

function allowing to check that output class image buffer type matches expected number of clusters

◆ allowedClassImgBuffersFromNbClusters() [2/2]

IPSDKIPLCLASSIFICATION_API CustomCheckedImagePropertyPtr ipsdk::imaproc::classif::allowedClassImgBuffersFromNbClusters ( const boost::shared_ptr< const attr::InClustersCenters > &  pInClustersPptiesCollAttribute)

function allowing to check that output class image buffer type matches expected number of clusters