
baseImg = zeros(520,696,'uint16');
for i=1:length(tempX)
    baseImg(round(tempX(i)), round(tempY(i))) = 50000;
end

figure
imshow(baseImg)

rect(1,:) = [355.0000   89.0000   10.0000    7.0000];
rect(2,:) = [528.0000  186.0000   37.0000  193.0000];
rect(3,:) = [398.0000  417.0000   93.0000   78.0000];
rect(4,:) = [231.0000  348.0000   12.0000   13.0000];

for k= 1:4
    for i=rect(k,1):rect(k,1)+rect(k,3)
        for j=rect(k,2):rect(k,2) + rect(k,4)
            baseImg(j,i) = 0;
        end
    end
end
baseImg(281,282) = 50000;

figure
imshow(baseImg)
