pixel rearrangement in an grayscale image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
siddharth
el 1 de Feb. de 2016
Respondida: Walter Roberson
el 1 de Feb. de 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 comentarios
Walter Roberson
el 1 de Feb. de 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.
Respuesta aceptada
Walter Roberson
el 1 de Feb. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!