[Insight-developers] [Insight-users] Interpolation and resampling templates
Karthik Krishnan
karthik.krishnan at kitware.com
Fri Mar 6 08:29:17 EST 2009
On Fri, Mar 6, 2009 at 2:13 AM, Emmanuel Christophe <
emmanuel.christophe at gmail.com> wrote:
> Hi Karthik, Brad,
>
>
> - Not sure if NumericTraits is the best place for the Clamp function.
> I put it there as it is closely related to the type and in the case of
> the itk::ResampleImageFilter is used as a precaution before a
> static_cast. I haven't defined it for Vectors, RGB etc.
Thanks for the patch.
I think its good to define it for all pixel types for which it makes sense.
- I don't think the itk::ResampleImageFilter was able to resample RGB
> images.
Right. One would have to use the VectorResampleImageFilter.
--
karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090306/5351251c/attachment.htm>
More information about the Insight-developers
mailing list