[ITK] getting RawImageIO to work
Bill Lorensen
bill.lorensen at gmail.com
Wed Dec 24 14:07:45 EST 2014
Please provide a small, complete compilable example and I'm sure we can help.
On Wed, Dec 24, 2014 at 1:14 PM, Ronn Kling <ronn at rlkling.com> wrote:
> Hello All,
>
> I am trying to read in a binary data file using RawImageIO. When I step
> through with the debugger I get an error on the last line below about memory
> corruption. As far as I can tell I have everything correct, what am I
> missing?
>
> typedef unsigned char fixedPixelType;
> typedef unsigned char movingPixelType;
>
> typedef itk::Image<fixedPixelType, 3> fixedImageType;
> typedef itk::Image<movingPixelType, 3> movingImageType;
> // create a ImageIO for the raw data files
> typedef itk::RawImageIO<fixedPixelType, 2> ImageIOType;
> ImageIOType::Pointer fixedimageio = ImageIOType::New();
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
--
Unpaid intern in BillsBasement at noware dot com
More information about the Community
mailing list