how to change the pixel value of an image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i have an image and i need to change the pixel value of that image in any co-ordinate.
0 comentarios
Respuestas (1)
Jeff E
el 24 de Feb. de 2012
Assuming a grayscale image:
>> img = uint8([10 30 50 ; 3 4 10])
img =
10 30 50
3 4 10
>> img(2,2) = 0
img =
10 30 50
3 0 10
>>
0 comentarios
Ver también
Categorías
Más información sobre Image Processing Toolbox 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!