adjust the two images
Show older comments
I will adjust the color of the two images. (a1.jpeg, a2.jpeg) to have the same brightness How to write a program by matlab? Thanks

Answers (1)
KSSV
on 7 Feb 2019
Read the image using imread, to the output add any number, it will increase the brightness. There are other methods to do this, adding number is one of the method.
I = imread('peppers.png') ;
I1 = I+50 ;
figure(1) ; imshow(I) ;
figure(2) ; imshow(I1) ;
1 Comment
sombat supha
on 7 Feb 2019
Edited: sombat supha
on 7 Feb 2019
Categories
Find more on Image Preview and Device Configuration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!