Is there any way to avoid overlapping of randomly placed gaussian spots on an image?
Mostra commenti meno recenti
I am writing a super resolution simulation to analyze microscopy images. I am adding a large number of randomly placed gaussian spots that are 5x5 pixels large onto a 512x512 pixel image.Is there any way to avoid overlapping of the randomly placed gaussian spots on an image? I am randomly generating the cooridinates for the center pixel of the spot using
r1 = randi(ArraySizeX-6,1,1)+3; r2 = randi(ArraySizeY-6,1,1)+3;
Any help would be appreciated.
Thanks!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Biomedical Imaging in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!