1. A method comprising: computing a denoising result by a computing device for a patch of an image; locating one or more partitions by the computing device that correspond to the denoising result; obtaining a denoising operator by the computing device that corresponds to the located one or more partitions; and applying the obtained denoising operator by the computing device to the image.