The function to calculate the cell graphs for each stage. The cell graphs will be used for the graph convolutional network (GCN) based cell graph construction.
Parameters:
neighbors (int) – the number of neighbors for each cell, default is 25.
threads (int) – the number of threads for the cell graph construction, default is 20.