how to replace the pixel value

2 次查看(过去 30 天)
hello i have a question that how to replace the pixel value with other pixel value

采纳的回答

David Sanchez
David Sanchez 2014-3-4
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 个)

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by