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

1 vue (au cours des 30 derniers jours)
raheem mian
raheem mian le 1 Oct 2019
Modifié(e) : Matt J le 1 Oct 2019
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?

Réponse acceptée

Matt J
Matt J le 1 Oct 2019
Modifié(e) : Matt J le 1 Oct 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.

Plus de réponses (0)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by