pixel rearrangement in an grayscale image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
siddharth
am 1 Feb. 2016
Beantwortet: Walter Roberson
am 1 Feb. 2016
Hello:
I have an gray scale
image (1620, 1220), this is a noisy speckle image, I would like to rearrange the pixels of this image in a Gaussian fashion, i.e the all the brightest pixels should be put together(near the mean) followed by the less bright pixels away from the mean, can this be done?
2 Kommentare
Walter Roberson
am 1 Feb. 2016
Do you mean that the bright pixels should be put together near the middle? The mean is the average of all of the pixels including the dark ones, and if you put the bright ones together they are going to be brighter than the mean.
Akzeptierte Antwort
Walter Roberson
am 1 Feb. 2016
Sort the values. Then write them into a matrix of the right size in a spiral order. except that then some pixels of the same value might be spread out in a chain which is one definition of together but a different definition would require clumping...
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!