1. A method for removing artifacts from a digital image, said method comprising: down-sampling a luminance image associated with a digital image; detecting a background type associated with said down-sampled luminance image; estimating model parameters associated with a morphologically filtered version of said down-sampled luminance image; verifying said estimated model parameters, wherein said verifying comprises: calculating a difference between said filtered image and an image generated using said estimated parameters and a document region-of-interest; comparing said calculated difference to an acceptance threshold; and indicating said estimated model parameters are acceptable when said calculated difference meets a first criterion in relation to said acceptance threshold; and generating a rectified image associated with said luminance image when said verifying indicates said estimated model parameters are acceptable.