Do you lose information when processing images that have been grayscaled?

1 visualización (últimos 30 días)
I have a comple double matrix and I mat2gray the matrix for registration. Am I losing information in terms of the image ? Should I instead apply translations that i find on the mat2grayed matrix to the original matrix?

Respuesta aceptada

Matt J
Matt J el 1 de Oct. de 2019
Editada: Matt J el 1 de Oct. de 2019
If you used this syntax
I = mat2gray(A,[amin amax])
with amin>min(A(:)) or amax<max(A(:)), then yes there will be information loss. All pixels above and below amin and amax get thresholded.

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image 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