how to change the pixel value of an image
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have an image and i need to change the pixel value of that image in any co-ordinate.
0 commentaires
Réponses (1)
Jeff E
le 24 Fév 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 commentaires
Voir également
Catégories
En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!