Unrecognized function or variable

조회 수: 7 (최근 30일)
Rd
Rd 2020년 7월 17일
답변: madhan ravi 2020년 7월 17일
code :
edge_img = zeros(size(img));
edge_img(edges(1,:) + size(img,1)*[0:size(img,2)-1]) = 1;
edge_img(edges(2,:) + size(img,1)*[0:size(img,2)-1]) = 1;
error shown:
Unrecognized function or variable 'edges'.
Error in linebyline (line 16)
edge_img(edges(1,:) + size(img,1)*[0:size(img,2)-1]) = 1;
kindly help me to remove this issue.

채택된 답변

madhan ravi
madhan ravi 2020년 7월 17일
edges not defined

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by