Wiener filter for image
imout = imwiener2(imin,mn,noise)
Source Image
Block size
Noise ratio
Output Image
Wiener filter is used tp filter out noise that has corrupted an image based on a statistical approach.
S = imread(fullpath(getIPCVpath() + "/images/measure_gray.jpg")); S2 = imnoise(S,'gaussian'); imshow(S2); S3 = imwiener2(S2,[3 3],0.2); imshow(S3); | ![]() | ![]() |