1. A computer-implemented method comprising: receiving a first model associated with an original image; resampling the first model for one or more pixels in the original image; generating a low frequency model from the resampled first model; subtracting the low frequency model from the resampled first model for generating a difference model; generating a correspondence table for pixels in the difference model by mapping each pixel in the difference model to a group of pixels in the original image, wherein the group of pixels are included in a neighborhood adjacent to a pixel in the difference model; and upon extracting grayscale values for the one or more pixels in the original image, constructing a second model by manipulating the grayscale values of the one or more pixels in the original image based on the correspondence table, wherein a resolution of the second model is invariant to scale changes in the original image or characteristics of sensors associated with capturing the original image.