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

1 view (last 30 days)
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?

Accepted Answer

Matt J
Matt J on 1 Oct 2019
Edited: Matt J on 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.

More Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!