how to impliment IMAGE GRADIENT in Script?
조회 수: 1 (최근 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.
댓글 수: 0
답변 (1개)
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!