thresh = graythresh(I);
% 调用hough_circle函数进行霍夫变换检测圆
[hough_space,hough_circle,para] = hough_circle...***************
% 参数输入
% BW:二值图像;
% step_r:检测的圆半径步长
% step_angle:角度步长,单位为弧度
% r_min:...*****************
% 参数返回
% hough_space:参数空间,h(a,b,r)表示圆心在(a,b)半径为r的圆上的点数
% hough_circl:二值图像,检测到的圆...,cols] = find(BW);%查找非零元素的行列坐标
ecount = size(rows);%非零坐标的个数
% Hough变换
% 将图像空间(x,y)对应到参数空间(a,b,...0,0);
for t1=1:row1
t2=col1;
while t2<=310
%第一像限的图像对角变换