this code is for contrast adjustment how to fix this error

2 views (last 30 days)

Accepted Answer

Steven Lord
Steven Lord on 9 Jan 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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!