<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Gang,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I think that those "*ImageFilter" arguments are typos and should be *ImageFile.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The three last arguments are output filenames and the final argument, I think, needs to be a format that supports vector images such as NRRD or Metaheader (MHD).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I suggest reading section 6.8 of the ITK Software Guide which takes you through this code virtually line by line.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://www.itk.org/ItkSoftwareGuide.pdf">http://www.itk.org/ItkSoftwareGuide.pdf</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Neil</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><DIV>On May 7, 2007, at 11:35 PM, Gang Cheng wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">Hi, all,<BR> <BR> I’m a newcomer to ITK and am trying to use the DanielssonDistanceMapImageFilter to process some tif images. According to the usage of <BR> this filter (see below), I set the outputDistanceMapImageFile to be in tif format, but what format should the outputVoronoiMapImageFilter and <BR> outputVectorMapImageFilter be? <BR> <BR> Usage: ./DanielssonDistanceMapImageFilter inputImageFile outputDistanceMapImageFile  outputVoronoiMapImageFilter  outputVectorMapImageFilter<BR> <BR> Thanks in advance for any advice!<BR> <BR> -Gang<BR> </SPAN></FONT> The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. <DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Insight-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Insight-users@itk.org">Insight-users@itk.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>