1. A method for determining an image of a mask pattern in a resist coated on a substrate, the method comprising: determining an aerial image of the mask pattern at substrate level; and convolving the aerial image with a number of orthogonal convolution kernels to determine a resist image that is representative of the mask pattern in the resist.