[Insight-users] ImageReadExtractFilterInsertWrite.exe
Luis Ibanez
luis.ibanez at kitware.com
Sat Aug 15 16:20:49 EDT 2009
Hi Toni,
Thanks for pointing this out.
This is a bug in the Example. :-/
The code should use the PasteImageFilter instead of the TileImageFilter.
We have committed to CVS a fix for this example,
based on your report.
http://public.kitware.com/cgi-bin/viewcvs.cgi/Examples/IO/ImageReadExtractFilterInsertWrite.cxx?root=Insight&r1=1.2&r2=1.3&sortby=date
The example now uses the pipeline
- ImageFileReader
- ExtractImageFilter
- MedianImageFilter
- PasteImageFilter
- ImageFileWriter
For your convenience,
please find the corrected file attached.
Regards,
Luis
-----------------------------------------------------------------------------------------------
On Mon, Aug 10, 2009 at 10:22 AM, Toni Uusimäki <tonimuusimaki at gmail.com>wrote:
>
> Hello ITKers,
>
> can someone specify why the ImageReadExtractFilterInsertWrite example
> does not work with either .mha files nor .png files. It says
> ImageReadExtractFilterInsertWrite.exe has encountered a problem and needs
> to close. I tried it with
> BrainProtonDensity3Slices.mha and BrainProtonDensity3Slices.png converted
> with Paraview.
> I am using cmake 2.6 and visual c++ 2008. All the other examples has been
> working this far...
>
> Any help much appreciated!!!
>
> T: Don I
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090815/646c5802/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageReadExtractFilterInsertWrite.cxx
Type: text/x-c++src
Size: 10513 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090815/646c5802/attachment.cxx>
More information about the Insight-users
mailing list