code: def template_clustering(start_centers, path):
      sample = read_sample(path)
  
      fcm_instance = fcm(sample, start_centers)
      fcm_instance.process()
  
      clusters = fcm_instance.get_clusters()
      centers = fcm_instance.get_centers()
      membership = fcm_instance.get_membership()
  
      visualizer = cluster_visualizer_multidim()
      visualizer.append_clusters(clusters, sample)
      visualizer.append_cluster(centers, marker="*", markersize=10)
      visualizer.show()
  
imports: import random
  from pyclustering.samples.definitions import SIMPLE_SAMPLES, FCPS_SAMPLES, FAMOUS_SAMPLES
  from pyclustering.cluster import cluster_visualizer_multidim
  from pyclustering.cluster.center_initializer import kmeans_plusplus_initializer
  from pyclustering.cluster.fcm import fcm
  from pyclustering.utils import read_sample
  from pyclustering.utils import timedcall
label_desc: Use image node_id 1 for calling a global function with example usage: template_clustering(start_centers, path) without return types