I Read the image 'abc.jpg'
im MATLAB and covert its data type to double.Display the image.
Store the size of image in M and N. All the loops of x, y, u and v runs till image size.
Now I want to know
1:how Multiply the above input image by (-1)^x+y
To Center the Transform To U = M/2 And V = N/2
.
2:multiply it with ideal HPF(High Pass Filter) with value of D=50.
where D is the radius size of Ideal HPF.
After Multiplying with Ideal HPF the resulting image will look like this.