Hello everybody
I'm trying to segment an image, but it's giving this error. It only segments if the nun_clust is below 5 and the segmentation is horrible,
The error is this
rsgislib.imagecalc.kmeans_clustering(
_imagecalc.error: All data points are already assigned to cluster centres. Not enough unique cluster centres. swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.
swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.
swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.
swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.
swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.
swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.