关于cvCanny

1 view
Skip to first unread message

zhaojin lu

unread,
Sep 6, 2007, 4:29:13 AM9/6/07
to fsac...@googlegroups.com
大家好,我想问个问题
 
void cvCanny( const CvArr* image, CvArr* edges, double threshold1,
              double threshold2, int aperture_size=3 );

image
Input image.
edges
Image to store the edges found by the function.
threshold1
The first threshold.
threshold2
The second threshold.
aperture_size
Aperture parameter for Sobel operator (see cvSobel).
中的 threshold1 和 threshold2 的范围是多少, 是[0 1] 还是[0 255]; 还有一个问题就是, 有没有什么方法可以自动设定这两个参数的, 谢谢.

--
卢昭金 ( Lu Zhaojin )

Ph.D candidate
Intelligent Systems Research Center,
2nd Research Complex 6th floor,
Sungkyunkwan University,
300 Cheoncheon-dong, Jangan-gu,
Suwon, Gyeonggi-do,
440-746, Korea

Tel: +82-31-299-6477
Mobile:+82-10-2970-1937
Fax: +82-31-299-6478

luzh...@gmail.com

xjlu

unread,
Sep 6, 2007, 8:57:22 PM9/6/07
to fsac...@googlegroups.com
1. 0-255
2. 可以,具体方法可以参照MATLAB里CANNY自动阈值的设定方法.也可以网上搜一下,有人写好的代码可以参考.
 

xjlu
2007-09-07

发件人: zhaojin lu
发送时间: 2007-09-06 16:35:29
抄送:
主题: [FSA] 关于cvCanny
Reply all
Reply to author
Forward
0 new messages