Azzera filtri
Azzera filtri

how to display convolution of an image with itself?

4 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by