Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
who can hehp me to solve that
조회 수: 1 (최근 30일)
이전 댓글 표시
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. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/319753/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/319753/image.jpeg)
댓글 수: 6
Walter Roberson
2020년 6월 21일
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
2020년 6월 21일
편집: KALYAN ACHARJYA
2020년 6월 21일
@Frishta
R_result=round((1-0.8)*image_file(:,:,1));
If OK, do all by yourselt.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!