how to impliment IMAGE GRADIENT in Script?

3 次查看(过去 30 天)
hi, i wish t write a generalized code for sobel/prewitt operator for evaluation of image gradient as well as the direction of the gradient. How to save vector of the gradient according to direction.

回答(1 个)

Image Analyst
Image Analyst 2012-11-23
编辑:Image Analyst 2012-11-23
There is code for that in the Image Processing Toolbox in the edge() function. However if you don't have that and want to try to write your own, then you need to learn how to program MATLAB, and a script is the most basic thing there is. Since you don't know MATLAB yet, try this link: http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab
  1 个评论
Srinibas Bhuyan
Srinibas Bhuyan 2012-11-30
Thank You.... Actually i do't have much knowledge in Image processing, so i am unable to start code. Please mention the steps to write my own code in matlab for image gradient. i'm quite familiar with Matlab.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by