<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm fine with that since NthElementImageAdaptor will provide that same functionality that VectorImageToImageAdaptor was attempting. I'll need to modify the denoising filter to use NthElementImageAdaptor instead, but that should be no problem. It should be easy enough to modify VectorImageTest to use NthElementImageAdaptor as well.<div>-Kris</div><div><br><div><div>On May 29, 2012, at 12:12 PM, Bradley Lowekamp wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I would like to declare the VectorImageToImageAdaptor dysfunctional and deprecate it to clarify the robust behavior and more favored usage of the NthElementImageAdaptor.</div><div><br></div><div>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].</div><div><br></div><div>While there is currently the NthElementImageAdaptor which currently working only with itk::Images of pixel types like RGBPixel or Vector etc.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div>Brad</div><div><br></div><div>[1] <a href="http://www.itk.org/Wiki/ITK/Examples/VectorImages/VectorImageToImageAdaptor">http://www.itk.org/Wiki/ITK/Examples/VectorImages/VectorImageToImageAdaptor</a></div><div>[2] <a href="http://review.source.kitware.com/#/c/5842/">http://review.source.kitware.com/#/c/5842/</a><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">========================================================</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bradley Lowekamp<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medical Science and Computing for</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office of High Performance Computing and Communications</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">National Library of Medicine<span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></div><br class="Apple-interchange-newline"></span></div></span></span><br class="Apple-interchange-newline"> </div> <br></div></div></blockquote></div><br></div></body></html>