Clear Filters
Clear Filters

how to display convolution of an image with itself?

4 views (last 30 days)
hi,
I am convolving a gray scale image with itself with "conv2" command. whatever the picture is, the output that I show with command "imshow" is a complete white screen. I wonder if there is something to do with mapping the matrix elements to [0 255] gray levels, but with "imadjust" command, I had to enter values between 0 and 1, while my matrix elements are much much bigger than this. if there is any other problem with it, please let me know. I will appreciate if you can help me with this.

Accepted Answer

Walter Roberson
Walter Roberson on 16 Jan 2014
T = double(YourImage);
T2 = conv2(T, T);
imshow(T2, [])

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!