based also on statistics of image patches