[Insight-developers] Hough transform examples

Miller, James V (Research) millerjv at crd.ge.com
Wed, 14 Jan 2004 09:24:00 -0500


Julien, 

Can you handle this?

Jim

-----Original Message-----
From: Julien Jomier [mailto:jjomier at cs.unc.edu]
Sent: Monday, January 12, 2004 10:11 AM
To: 'Miller, James V (Research)'; 'Insight-developers (E-mail)'
Subject: RE: [Insight-developers] Hough transform examples


Hi Jim,

That's a bug. The intention was to leave these values as options for the
user since the example should work with the default values but can do a
better job with optimal values.

Let me know if I should fix this, or if you already did it,

Thanks,

Julien

-----Original Message-----
From: insight-developers-admin at itk.org
[mailto:insight-developers-admin at itk.org] On Behalf Of Miller, James V
(Research)
Sent: Monday, January 12, 2004 10:01 AM
To: Insight-developers (E-mail)
Subject: [Insight-developers] Hough transform examples


If you run the Hough transform examples with not command line arguments,
they print out a message like:

$ HoughTransform2DLinesImageFilter.exe

Missing Parameters 
Usage:
c:\projects\I2\Insight-net2003\bin\relwithdebinfo\HoughTransform2DLinesImage
Filter.exe
 inputImage 
 outputImage
 numberOfLines 
 variance of the accumulator blurring (default = 5) 
 radius of the disk to remove from the accumulator (default = 10) 

>From the last two lines, I infer the last two parameters do not have to be
set.  But if I do not specify them then the programs crash.  The Hough
transform filter may have useful defaults, but the examples are blindly
passing in argv[4] and argv[5] regardless of whether the user provided them.

I am not sure what the intentions were.  Should the user of the examples not
have to specify these arguments or do these values have to be specified by
the user (in which case the printout about is merely a "suggestion" of
reasonable values)?



Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv at research.ge.com
james.miller at research.ge.com
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981 

_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers