this code is for contrast adjustment how to fix this error

2 visualizzazioni (ultimi 30 giorni)

Risposta accettata

Steven Lord
Steven Lord il 9 Gen 2023
You're passing a 2-by-3 matrix into imadjust as its second input argument. According to that documentation page this is valid if the input is an "RGB image or colormap". From the fact that you receive an error I'm guessing your data is actually a "Grayscale image". But I can't see a definition for app.Modified so I can't be certain.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by