Demo entry 6638764

dark_road_3

   

Submitted by anonymous on Sep 08, 2017 at 13:51
Language: Matlab. Code size: 266 Bytes.

%%Gamma correction(伽马校正)
%dark_road_3
im_input = im2double(imread('dark_road_3.jpg'));  %读取图片
im_output1 = im_input.^0.5;  %gamma矫正,取c=1,gamma=0.5
figure, imshow([im_output1]); title('Gamma correction');  %输出
imwrite(im_output1,'dark_road_3_result.jpg');  %写入图片

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).