1. A system for computing invertible wavelet transforms of a masked image comprising: applying a binary mask to an input image; determining which pixels in the input image are unmasked; automatically determining a linear combination of neighboring unmasked pixels for each unmasked image pixel; for each of the unmasked pixels in the input image, using the linear combination of neighboring unmasked pixels to automatically determine at least one polynomial sufficient to compute an invertible wavelet transform using a lifting algorithm having at least one lifting stage; and using the polynomials for each unmasked pixel to compute an invertible wavelet transform for each unmasked pixel by using the lifting algorithm.