how to replace the pixel value
1 view (last 30 days)
Show older comments
hello i have a question that how to replace the pixel value with other pixel value
0 Comments
Accepted Answer
David Sanchez
on 4 Mar 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];
0 Comments
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!