function [normdata]=RPCnormalization_array(undata,offset,scale)
    normdata=(undata-offset)./scale;
end