this code is for contrast adjustment how to fix this error

1 view (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)

Categories

Find more on Image Processing Toolbox 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!