i want an new image with one pixel differance

i hv lena image of [256 256 3]
now i hv to chnge one pixel .....in it

回答 (1 件)

Walter Roberson
Walter Roberson 2019 年 2 月 7 日

0 投票

imread then make the change then imwrite.
However if the image is a JPEG file then changing just one pixel is not always possible . If you need specific pixel values to be stored then never use jpeg (but jpeg2 might be okay )

この質問は閉じられています。

タグ

質問済み:

2019 年 2 月 7 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by