this code is for contrast adjustment how to fix this error

 Accepted Answer

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.

1 Comment

here is the code for the app designer if u could help i would appreciate it

Sign in to comment.

More Answers (0)

Asked:

on 9 Jan 2023

Commented:

on 10 Jan 2023

Community Treasure Hunt

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

Start Hunting!