how to display convolution of an image with itself?

5 ビュー (過去 30 日間)
Mahnaz Pariyan
Mahnaz Pariyan 2014 年 1 月 16 日
コメント済み: Mahnaz Pariyan 2014 年 1 月 16 日
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.

採用された回答

Walter Roberson
Walter Roberson 2014 年 1 月 16 日
T = double(YourImage);
T2 = conv2(T, T);
imshow(T2, [])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by