Point Processing RGB
clear
close all;
clc;
img = imread('C:\Users\US\Desktop\Image Processing Practice\Images\4.jpg');
imgg = double(img);
img = imresize(img, 0.25);
figure('units','normalized','outerposition',[0 0 1 1]),
subplot(241), imshow(img), title('Original Resized Image');
img_1 = img-128;
subplot(242), imshow(img_1), title('Darkened Image');
img_2 = img/2;
subplot(243), imshow(img_2), title('low Contrast Image');
img_3 = ((imgg/255.0).^0.33);
subplot(244), imshow(img_3), title('Non-Linear Low Contrast Image');
img_4 = 255-img;
subplot(245), imshow(img_4), title('Inverted Image');
img_5 = img+128;
subplot(246), imshow(img_5), title('Lightened Image');
img_6 = img*2;
subplot(247), imshow(img_6), title('Rise Contrast Image');
img_7 = ((imgg/255.0).^2);
subplot(248), imshow(img_7), title('Non-Linear Rise Contrast Image');
0 Comments