how to correlation plots from image
이전 댓글 표시
I = imread('Figure_1.png');
J = medfilt2(I);
R = corr2(I,J)
it showing error like
Error using medfilt2
Expected input number 1, A, to be two-dimensional.
Error in medfilt2>parse_inputs (line 107)
validateattributes(a, ...
Error in medfilt2 (line 49)
[a, mn, padopt] = parse_inputs(args{:});
Error in untitled15 (line 6)
J = medfilt2(I);
>>
답변 (2개)
Tala
2022년 4월 5일
0 개 추천
I needs to be grayscale image. you want to convert your image to grayscale before passing ut to your filter. use imgtype = getImageType(I) and then convert it to grayscale
카테고리
도움말 센터 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!