D. to the following red part for image enhancement (for each pixel values, take the pixel values in the field of 3 x 3 mean for alternative)
1 2 3 4 5 6 5 4 3 2 1
1 2 5 5 5 6 4 4 2 1
1 2, 5, 7, 7 July 7 7 4 2 1
1 2 5 7 8 8 8 7 4 2 1
1 2 5 7 8 9 8 7 4 2 1
1 2 5 7 8 8 8 7 4 2 1
1 2 5 7 7 8 August 7 4 2 1
1 2, 5, 7, 7 July 7 7 4 2 1
1 2 5 5 5 6 4 2 1
CodePudding user response:
From the top, the great god answers quickly, can give points reward private chatCodePudding user response:
I am here to write a small demo about 3 * 3 image filtering, using vc + + MFC in, will be as you describe all except the boundary pixels into neighborhood average is achievable, this demo can also be extended through the boundary, so the original image boundary can also be processed