function K21 = IAS_map(K1,K2)
%

[M,N] = size(K1);
K21 = zeros(M,N);

min1 = min(K1(:));
max1 = max(K1(:));
min2 = min(K2(:));
max2 = max(K2(:));

for r = 1:M
    for c = 1:N
        v2 = K2(r,c);
        K21(r,c) = min1 + (max1-min1)*(v2-min2)/(max2-min2);
    end
end
