[Rtk-users] Converting 3D Image to 2d image
    Henry Cope 
    henrydaviscope at gmail.com
       
    Wed Apr  1 19:53:15 CEST 2020
    
    
  
Good Afternoon,
I'm currently trying to create a program to read a given 3D image, perform
one forward projection from a varying rotation (Only one slice is made),
convert that to a 2D image and write it to a PNG file. I've modified the
base rtkforwardprojection.cxx program by adding code from
ImageReadExtractWrite.cxx to convert to a 2d image. However, when I attempt
to output to a PNG file, I receive the error:
Description:  Could not create IO object for writing file projectedImage.png
  Tried to create one of the following:
DCMImagXImageIO
    GDCMImageIO
    HisImageIO
    HncImageIO
    HndImageIO
    ImagXImageIO
    MetaImageIO
    OraImageIO
    TIFFImageIO
    XRadImageIO
    XimImageIO
You probably failed to set a file suffix, or
    set the suffix to an unsupported type.
When I look on the ITK wiki, it states that png is a supported file type,
so I'm wondering what I'm doing wrong
Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20200401/53655587/attachment.htm>
    
    
More information about the Rtk-users
mailing list