From: An unsupervised image segmentation algorithm for coronary angiography
FOR each p in IDA Use the k-means algorithm (k = 2) to calculate the optimal threshold δp. Apply δp to the eight adjacent sub-images: pi − 1, j − 1, pi, j − 1, pi + 1, j − 1, pi − 1, j, pi + 1, j, pi − 1, j + 1, pi, j + 1, pi + 1, j + 1, where i = 1⋯16, j = 1⋯16, for vascular image segmentation END FOR |