how draw Image Correlation (horizontal or vertical or diagonal pixel ) in mtlab

3 次查看(过去 30 天)
Hi....
how are you draw this code such as picture attached this code :
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 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by