[Insight-users] Casting Adaptor?

Luis Ibanez luis.ibanez at kitware.com
Tue Mar 24 14:17:19 EDT 2009


Hi Brad,


The Casting adaptor is the typical use case example
for the ImageAdaptors.

You may want to look at the Example

   Insight/Examples/DataRepresentation/Image/ImageAdaptor1.cxx

You will find it described in the ITK Software Guide.


   Luis


--------------------------
Bradley Lowekamp wrote:
> Hello,
> 
> I am looking for something like itkCastImageAdaptor. I see 
> itkCastImageFilter, but I don't want an extra copy of all my pixels if I 
> don't need it. The definition of a CastPixelAccessor seem like it would 
> be straight forward enough. Perhaps I am missing some complication that 
> this class would  cause?
> 
> Did I miss an obvious adaptor class?
> 
> Thanks,
> Brad
> 
> 
> ========================================================
> 
> Bradley Lowekamp  
> 
> Lockheed Martin Contractor for
> 
> Office of High Performance Computing and Communications
> 
> National Library of Medicine 
> 
> blowekamp at mail.nih.gov <mailto:blowekamp at mail.nih.gov>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _____________________________________
> 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


More information about the Insight-users mailing list