[ITK-dev] Import volume into ITK image

Miller, James V (GE Global Research) millerjv at ge.com
Tue Jul 28 07:03:31 EDT 2015


Not quite sure what you are referring to as a "dumped memory file".

ImportImageFilter facilitates the creation of an ITK image wrapped around a block of memory that was allocated outside of ITK. This is useful when integrating ITK with image sources (scanners and cameras) or when integrating ITK with other imaging codebases. 

If you just have a file on disk which is just the pixel data, you can read that into ITK by first creating a small ascii header file that describes the data and then references that file. The MetaIO format is great for doing this.  For a file on disk named foo, create a header file called foo.mhd to describe the meta data. There are example mhd files in ITK and documentation on the web. 

Jim
Principal Scientist
Clinical Systems and Signal Processing
GE Research

GE imagination at work

> On Jul 28, 2015, at 2:48 AM, Marco Dev <marco.dev.open at gmail.com> wrote:
> 
> Hi dears,
> Is possible import volume image source as dumped memory file into an itk image
> The volume file size is 130 MB and using with  importimagefilter .... 
> Is any way for importing this kind of memory dump to itk image    
> Thanks in advance.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=AwICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=3zoP8244p5-bYip1v4EUgQ&m=To9FTW6P8ITyCui_w5nMxILgLJQ0_2LrUvLjvHXVRc4&s=l6YOedDIO4dTY-c4AwoqdJ8OlDuGl2-GDVIXmfSk5XI&e= 
> 
> Kitware offers ITK Training Courses, for more information visit:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__kitware.com_products_protraining.php&d=AwICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=3zoP8244p5-bYip1v4EUgQ&m=To9FTW6P8ITyCui_w5nMxILgLJQ0_2LrUvLjvHXVRc4&s=D8bQUVrOcAEbRbQGhbR2xioB--WhJlds61jsqeMkaj4&e= 
> 
> Please keep messages on-topic and check the ITK FAQ at:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.itk.org_Wiki_ITK-5FFAQ&d=AwICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=3zoP8244p5-bYip1v4EUgQ&m=To9FTW6P8ITyCui_w5nMxILgLJQ0_2LrUvLjvHXVRc4&s=2JXafvR5G9MevCaQykedXfbkwAG3CCs9eDA4bPiP1kM&e= 
> 
> Follow this link to subscribe/unsubscribe:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_insight-2Ddevelopers&d=AwICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=3zoP8244p5-bYip1v4EUgQ&m=To9FTW6P8ITyCui_w5nMxILgLJQ0_2LrUvLjvHXVRc4&s=XEHgH_iN2zxfHXxm_gLqwv0w_wwkz6OUkSF3gca8P8c&e= 


More information about the Insight-developers mailing list