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
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
sombat supha on 7 Feb 2019
Edited: sombat supha on 7 Feb 2019
I want the way to get numbers to add a1.jpeg and a2.jpeg making them the same brightness..
for example a1.jpeg+x = a2.jpeg+y ; (same brightness)
x=?
y=?

Sign in to comment.

Products

Asked:

on 7 Feb 2019

Edited:

on 7 Feb 2019

Community Treasure Hunt

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

Start Hunting!