% This is the matlab code for the question asked
% save the input image as 'test.jpg' in the same folder where the code is saved
clear all; close all; clc;
test = imread('test.jpg');
imshow(test);
title('Original Test Image')
%% median filtering each channels
outR = medfilt2(test(:,:,1));
outG = medfilt2(test(:,:,2));
outB = medfilt2(test(:,:,3));
%combining channels together
out1 = zeros(size(test),'uint8');
out1(:,:,1) = outR;
out1(:,:,2) = outG;
out1(:,:,3) = outB;
figure, imshow(out1);
title('Image after median filtering');
%% Histogram Equalization of individual channels
outR = histeq(outR);
outG = histeq(outG);
outB = histeq(outB);
%combining different channels together
out2 = zeros(size(out1),'uint8');
out2(:,:,1) = outR;
out2(:,:,2) = outG;
out2(:,:,3) = outB;
figure, imshow(out2);
title('Image after histogram equalization');
%% Robert's operator for edge detection
edgeR = edge(outR,'Roberts');
edgeG = edge(outG,'Roberts');
edgeB = edge(outB,'Roberts');
% ORing all three channels, since output of edge are logical
EdgeImg = edgeR + edgeB + edgeG;
figure, imshow(EdgeImg);
title('Image after applying Roberts operator for edge
detection');
2. (20 marks) Given a noised color image test.jpg', first use media filter to remove noise...
2. If two different compounds have the same Rr value, how might they be identified using paper chromatography? 3. Why is it important to keep the spots on the paper as small as possible? 4. If the solvent pool at the bottom of the beaker touched the spots on the 1.5cm line, what would happen to the spots? How would you address this error? 5. If you were teaching a student how to do paper chromatography, what three pieces of...