[Insight-users] image with stractural voxels

Bradley Lowekamp blowekamp at mail.nih.gov
Wed Mar 7 11:24:06 EST 2012


Hello,

What do you want to be able to do with this image?

What is that advantage over just having 3 images, itk::Image<bool, 3> itk::VectorImage<double, 3>, itk::Image<Int, 3>?

There would be a monstrous cost to have each pixel be non-POD( Plain Old Data ) and additionally, have a dynamically allocated object per pixel. Then it's not clear how you expect standard filters to interact with this structure.

On Mar 7, 2012, at 11:19 AM, Hila Hiler wrote:

> Hi All,
> 
> How do I generate an image which each of its voxel consists of:
> (for example)
> 
> class voxel //or structure
>  {
> bool flag;
> vector<double> vec;
> int val;
> };
> 
> Is it possible to achieve the same image by a different method (tuples, a vector image etc ...)?
> 
> Best Regards,
> Hila
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.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

========================================================
Bradley Lowekamp  
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120307/2120279a/attachment.htm>


More information about the Insight-users mailing list