I have a binary map, BW, and the Centroids for each region in BW. If I randomize the Centroids, how can I create another binary map with the same region shapes as BW but whose centers corresponds to the randomized Centroids?
MATLAB: Rearrange Binary regions based on centroids
binarycentroidImage Processing Toolboxrandomizeregionprops
Best Answer