Info

This question is closed. Reopen it to edit or answer.

who can hehp me to solve that

1 view (last 30 days)
frishta fro
frishta fro on 21 Jun 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Write a Matlab program to do the following operations in the attached image.
1- Find the negative of the brain image.
2- Reduce the intensity of Red channel by 80.
3- Increase the intensity of Green channel by 50.
4- Save the output image as a name brain2.jpg.
  6 Comments
Walter Roberson
Walter Roberson on 21 Jun 2020
you do not use a percentage for that. When you read jpg images they are very likely to read in as uint8. You are not reducing by 80 percent, you are reducing by uint8(80)
KALYAN ACHARJYA
KALYAN ACHARJYA on 21 Jun 2020
Edited: KALYAN ACHARJYA on 21 Jun 2020
@Frishta
R_result=round((1-0.8)*image_file(:,:,1));
If OK, do all by yourselt.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!