how to change pixel value after applying dwt on image?
1 次查看(过去 30 天)
显示 更早的评论
hi. i want to change pixel value of an image after apply dwt on one of rgb channel like red channel but after applying dwt pixel value are negative and float and if use uint8 to bring values into [0 255] and chnging pixels and apply idwt and saving image as one of image format like png in extraction part some of pixel value has changed .how can i prevent it?
0 个评论
回答(1 个)
Image Analyst
2016-11-5
You can either use mat2gray() to change the array values into the range 0-1 and then set the red channel, OR you can figure out what pixels need to be red and make up an image for the overlay and then tint those pixels red by using the overlay. Which do you want?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Multiresolution Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!