In a method and a device for transmission of S+P transform coded digitized
images a mask is calculated by means of which a region of interest (ROI)
can be transmitted lossless whereby the ROI can be transmitted and
received lossless and still maintaining a good compression ratio for the
image as a whole. This is possible since no or very few bits can be used
for the remaining part of the image. The calculated mask can also be used
for transmitting the coefficients needed for a lossless region of interest
during any stage of the transmission.