...检测并标记。的程序代码,不要c的,顺便加上调用函数的意答:hough变换 RGB = imread('gantrycrane.png');I = rgb2gray(RGB); % convert to intensityBW = edge(I,'canny'); % extract edges[H,T,R] = hough(BW,'RhoResolution',0.5,'ThetaResolution',0.5);% display the original imagesubplot(2,1,1);imshow(RGB);title('gantrycrane.png')...