how draw Image Correlation (horizontal or vertical or diagonal pixel ) in mtlab
4 ビュー (過去 30 日間)
古いコメントを表示
Hi....
how are you draw this code such as picture attached this code :![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/326921/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/326921/image.jpeg)
I=rgb2gray(im2double(P));
c_diag = corrcoef(I(1:end-1, 1:end-1), I(2:end, 2:end));
c_vert = corrcoef(I(1:end-1, :), I(2:end, :));
c_horz = corrcoef(I(:, 1:end-1, :), I(:, 2:end));
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!