Image denoising using collaborative patch-based and local methods