Helper struct to provide a generic way to "rebind" template parameters. More...
#include <Image/PixelsTypes.H>
Helper struct to provide a generic way to "rebind" template parameters.
That is, this gives us a way to get Foo<T2> if we are given Foo<T>, or to get Bar<T2, U> if we are given Bar<T, U>. In particular, this lets us write generic functions that can deal with pixel types that have either a single template parameter (e.g. PixRGB<T>, PixHSV<T>), or more than one template parameter (e.g. PixHyper<T, dim>).
Definition at line 214 of file PixelsTypes.H.