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

8 views (last 30 days)
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));

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!