<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV style="LINE-HEIGHT: 1.7; FONT-FAMILY: arial; COLOR: #000000; FONT-SIZE: 14px">
<DIV>Hi,</DIV>
<DIV>We filter an image (noised.tif 606*601) with BilateralImageFilter like this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>//instance reader</DIV>
<DIV>&nbsp;ReaderType::Pointer reader = ReaderType::New();<BR>&nbsp;reader-&gt;SetFileName( argv[1] );</DIV>
<DIV>&nbsp;</DIV>
<DIV>//instance filter</DIV>
<DIV>&nbsp;typedef itk::BilateralImageFilter&lt;InputImageType, OutputImageType &gt;&nbsp; FilterType;<BR>&nbsp; FilterType::Pointer filter = FilterType::New();</DIV>
<DIV>filter-&gt;SetInput( reader-&gt;GetOutput() );</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;...........</DIV>
<DIV>//instance writer</DIV>
<DIV>&nbsp;typedef itk::ImageFileWriter&lt; WriteImageType &gt;&nbsp; WriterType;<BR>&nbsp; WriterType::Pointer writer = WriterType::New();<BR>&nbsp; writer-&gt;SetFileName( argv[2] );</DIV>
<DIV><BR>&nbsp; writer-&gt;SetInput(&nbsp; filter-&gt;GetOutput() );</DIV>
<DIV>&nbsp;</DIV>
<DIV>//update<BR>&nbsp; writer-&gt;Update();</DIV>
<DIV>&nbsp;</DIV>
<DIV>Run the program, <STRONG>CPU </STRONG>utilization last for 100% . It takes several quarters to filter the TIF image. IS there some </DIV>
<DIV>efficient method to filter the TIF iamge?</DIV>
<DIV>Thanks.</DIV>
<DIV>XiongXiang Zhang</DIV></DIV></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>