![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
assignment part of Kernel based KMeans clustering algorithm More...
| IPSDKIPLCLASSIFICATION_API image::ImagePtr | ipsdk::imaproc::classif::kernelKMeansAssignImg (const image::ImageConstPtr &pInImg, const attr::KKMeansCentroidsConstPtr &pInKKMeansCentroids) |
| wrapper function for assignment part of Kernel based KMeans clustering algorithm More... | |
| IPSDKIPLCLASSIFICATION_API void | ipsdk::imaproc::classif::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... | |
assignment part of Kernel based KMeans clustering algorithm
This algorithm used results from a Kernel K-means algorithm (Kernel K-means algorithm) to classify some new data. This can be seen as the second part of a classical training/assignment clustering process.
Given an input sequence image
of size {x, y, z, c, t}, with c the number of color channels and t the number of elements in temporal sequence, the algorithm will assign a cluster index to each pixels of the output classes image
. Assignments are computed with respect to input Kernel centroids parameter
.
Here is an example of Kernel K-means assignment process where the left part of an input image is used as 'training data' generating centroids coordinates and the right part is then assigned to cluster indices using these centroids coordinates :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InHomogeneousImg | [Input] Homogeneous image | X |
| ipsdk::imaproc::attr::InKKMeansCentroids | [Input] collection of kernel cluster centroid representation | X |
| ipsdk::imaproc::attr::OutClassImg | [Output] Image of classes | customOutput (_pOutClassImg, outputKernelKMeans(_pInHomogeneousImg,_pInKKMeansCentroids)) |
Global rule description for algorithm :
ipsdk::imaproc::customImageProperty (_pOutClassImg,
matchKernelKMeansClassImg (_pInHomogeneousImg,_pInKKMeansCentroids))
| IPSDKIPLCLASSIFICATION_API image::ImagePtr ipsdk::imaproc::classif::kernelKMeansAssignImg | ( | const image::ImageConstPtr & | pInImg, |
| const attr::KKMeansCentroidsConstPtr & | pInKKMeansCentroids | ||
| ) |
wrapper function for assignment part of Kernel based KMeans clustering algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLCLASSIFICATION_API void ipsdk::imaproc::classif::kernelKMeansAssignImg | ( | const image::ImageConstPtr & | pInImg, |
| const attr::KKMeansCentroidsConstPtr & | pInKKMeansCentroids, | ||
| const image::ImagePtr & | pOutClassImg | ||
| ) |
wrapper function for assignment part of Kernel based KMeans clustering algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14