Hello,

I would like to declare the VectorImageToImageAdaptor dysfunctional and 
deprecate it to clarify the robust behavior and more favored usage of the 
NthElementImageAdaptor.

Currently, the VectorImageToImageAdaptor does not work with Iterators, and 
therefore does not work with just about every ImageFilter. This adaptor is only 
for VectorImages, and it is currently little used and does not have a practical 
example[1].

While there is currently the NthElementImageAdaptor which currently working 
only with itk::Images of pixel types like RGBPixel or Vector etc.

I propose deprecating the VectorImageToimageAdaptor, and it's related Accessor 
so that the NthElementImageAdaptor can uniformly be used for ITK's  image 
class. This greatly simplifies is usage and make writing filters which use it 
easier.

I have already implemented the specialization of the NthElementPixelAccessor, 
and just need to improve the documentation[2]. I however am reluctant to invest 
in deprecating  the VectorImageToImageAdaptor until it is agreed that is the 
best way to proceed.

Thanks,
Brad

[1] http://www.itk.org/Wiki/ITK/Examples/VectorImages/VectorImageToImageAdaptor
[2] http://review.source.kitware.com/#/c/5842/
========================================================
Bradley Lowekamp  
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine 
[email protected]



_______________________________________________
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://kitware.com/products/protraining.php

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-developers

Reply via email to