Image Enhancement: 'Img - JPG'
Image Enhancement: 'Img - JPG'
-----------------------------
% Read the original image
A1 = imread('img.jpg');
subplot(2, 2, 1);
imshow(A1);
title('Original Image');
subplot(2, 2, 2);
imshow(B);
title('High contrast Image');
subplot(2, 2, 3);
imshow(C);
title('Low Contrast Image');
subplot(2, 2, 4);
imshow(N1);
title('Negative Image');
Histogram Equalization
-----------------------------------
% Read an image original image
f = imread('img.jpg');
subplot(1, 3, 1);
imshow(originalImage, []);
title('Original Image');
subplot(1, 3, 2);
imshow(degradedImage, []);
title('Degraded Image');
subplot(1, 3, 3);
imshow(estimatedImage, []);
title('Restored Image');