Progressive lossy-to-lossless coding of arbitrarily-sampled image data using the modified scattered data coding method