I had taken co-relation of image with LOG filter via imfilter command.
z=imfilter(I,fspecial('log',11,1.5));
figure
imshow(z);
Image:
Converting the image to double (double precision) will resolve the issue because imread command took the image in default unit8 (unsigned int) format.
The problem you have is that you are not showing the result properly.
Your result is in range 0-31, but you need to convert it to 0-255 to plot it!
do
imshow(mat2gray(z))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With