<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> </DIV>
<DIV>//instance reader</DIV>
<DIV> ReaderType::Pointer reader = ReaderType::New();<BR> reader->SetFileName( argv[1] );</DIV>
<DIV> </DIV>
<DIV>//instance filter</DIV>
<DIV> typedef itk::BilateralImageFilter<InputImageType, OutputImageType > FilterType;<BR> FilterType::Pointer filter = FilterType::New();</DIV>
<DIV>filter->SetInput( reader->GetOutput() );</DIV>
<DIV> </DIV>
<DIV> ...........</DIV>
<DIV>//instance writer</DIV>
<DIV> typedef itk::ImageFileWriter< WriteImageType > WriterType;<BR> WriterType::Pointer writer = WriterType::New();<BR> writer->SetFileName( argv[2] );</DIV>
<DIV><BR> writer->SetInput( filter->GetOutput() );</DIV>
<DIV> </DIV>
<DIV>//update<BR> writer->Update();</DIV>
<DIV> </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>