adjust the two images
4 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
KSSV
2019-2-7
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) ;
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!