Borrar filtros
Borrar filtros

how to change pixel value after applying dwt on image?

1 visualización (últimos 30 días)
Jack Moriss
Jack Moriss el 5 de Nov. de 2016
Respondida: Image Analyst el 5 de Nov. de 2016
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?

Respuestas (1)

Image Analyst
Image Analyst el 5 de Nov. de 2016
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?

Categorías

Más información sobre Discrete Multiresolution Analysis en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by