How can I convert a black and white positive image into negative.

1 view (last 30 days)
I have a batch of .tif negative grayscale image files which I want to read on Matlab as a positive file. I converted the negatives into positives with Photoshop but then Matlab said the files got "unknown tags". Does anyone know how I can convert negative images into Matlab-compatible positive ones?

Answers (1)

DGM on 6 Jul 2022
Either use imcomplement(), or do simple additive inversion.

Community Treasure Hunt

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

Start Hunting!

Translated by