how to replace the pixel value

2 Ansichten (letzte 30 Tage)
asthana
asthana am 4 Mär. 2014
Beantwortet: David Sanchez am 4 Mär. 2014
hello i have a question that how to replace the pixel value with other pixel value

Akzeptierte Antwort

David Sanchez
David Sanchez am 4 Mär. 2014
Just assign the value: For pixel (i,j), given a RGB image (n x m x 3 matrix):
p(i,j,:) = [0.2 0.4 0.5];

Weitere Antworten (0)

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by