登录
首页 » Special Effects » awimg = rgb2gray(IM1)

awimg = rgb2gray(IM1)

于 2022-02-04 发布 文件大小:14.53 kB
0 39
下载积分: 2 下载次数: 1

代码说明:

awimg=rgb2gray(im1) tic [accum, circen, cirrad] = CircularHough_Grd(rawimg, [20 30],5,50) circen toc figure(1) imagesc(accum) axis image title( Accumulation Array from Circular Hough Transform ) figure(2) imagesc(rawimg) colormap( gray ) axis image hold on plot(circen(:,1), circen(:,2), r+ ) for k = 1 : size(circen, 1), DrawCircle(circen(k,1), circen(k,2), cirrad(k), 32, b- ) end hold off title([ Raw Image with Circles Detected , ... (center positions and radii marked) ]) figure(3) surf(accum, EdgeColor , none ) a

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696522资源总数
  • 104042会员总数
  • 18今日下载