Adaptive methods of image processing