how to increase a pixel value
조회 수: 1 (최근 30일)
이전 댓글 표시
I have an M X N image named H. How can I increase the value of a particular pixel? Please help
댓글 수: 0
채택된 답변
Algorithms Analyst
2013년 1월 18일
you need to find the location of that pixel and then need some operations. like
[Rows Cols NumberofColorChannels]=size(H) for i=1:Rows for j=1:Cols
%Now find the location e.g you want to change the vale at 3 row and 3col initially its 2 then u can
if i==3 && j==3 do it further
댓글 수: 2
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!