IPSDK
4.1
IPSDK : Image Processing Software Development Kit
reactivip.com home page
KMeansComputeCompactness algorithm
scalar
=
kMeansComputeCompactness (
inImg
,
classImg
,
inClustersCenters
)
scalar
=
kMeansComputeCompactness (
inImg
,
classImg
,
maskImg
,
inClustersCenters
)
Detailed Description
Compute compactness given an input image of classes and clusters centroids.
Example of Python code :
Example imports
Code Example
Example of C++ code :
Example informations
Header file
Code Example
IPSDK by
Reactiv'IP
Copyright 2025