function [final_sum] = newpixel(inputfilea,inputfileb);
rgb1 = imread(inputfilea);
rgb2 = imread(inputfileb);

gray11 = double(rgb2gray(rgb1));
gray21 = double(rgb2gray(rgb2));
graysum = ((gray11-gray21).*(gray11-gray21));
totsum = sum(graysum,1);
totsum1 = sum(totsum,2);
final_sum = sqrt(totsum1);
return;