필터 지우기
필터 지우기

how to find derivative of an image with respect to x and y axis ?

조회 수: 3 (최근 30일)
ajeet verma
ajeet verma 2017년 2월 22일
댓글: Rik 2017년 2월 22일
i have matlab code for an image matrix as given below and i have to find derivative along x and y axis then how to get?
m=1000; n=m; f1=20; f2=0; for i=1:m; for j=1:n; a(i,j)=exp(1i*2*pi*(f1*j/n+f2*i/m)); end end subplot(2,2,2),imshow(a,[]);
  댓글 수: 1
Rik
Rik 2017년 2월 22일
You should probably have a read here.
You should also have a look at the documentation for diff and meshgrid
doc diff
doc meshgrid

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by