필터 지우기
필터 지우기

how to display convolution of an image with itself?

조회 수: 4 (최근 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개)

Community Treasure Hunt

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

Start Hunting!

Translated by