Why bit plane 8 of my image is almost black?

1 visualización (últimos 30 días)
Fatmanur Özdemir
Fatmanur Özdemir el 29 de Mzo. de 2021
Respondida: Mahesh Taparia el 1 de Abr. de 2021
I am trying to reconstruct an image by combining bit plane 8 and bit plane 7 of my original gray image. However I get an almost black picture which I think it shouldn't be like that. When I display image in matlab without any process on it, it is different from the original image. What should I do?
  1 comentario
KSSV
KSSV el 29 de Mzo. de 2021
Check the class of the image......and change it accordingly.

Iniciar sesión para comentar.

Respuestas (1)

Mahesh Taparia
Mahesh Taparia el 1 de Abr. de 2021
Hi
It seems, the image which you are displaying might be in double or single format. Convert it to uint8 format using uint8 command. Also, make sure the range of image pixels value to be lies between 0 and 255.
If it won't work, then can you share a samle image? It will be more helpful.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by