[Insight-developers] Adding ValueType to itk::Image
Luis Ibanez
luis.ibanez@kitware.com
Thu, 21 Feb 2002 17:15:07 -0500
Jisung,
How about managing that at the level of the SampleListAdaptors ?
I guess we have now:
ImageToSampleListAdaptor
PointSetToSampleListAdaptor
We could have two (or more) Adaptors for PointSets.
One of them mapping PointType to ValueType (for points
that are already representing the parametric space) and
another for mapping PixelType to ValueType (for points
in world space with data associated with them)
It will be fun to find names for them though :-)
Luis
---------------------------------
Jisung Kim wrote:
>Hi Jim.
>
>I think you are right. The original idea was using
>only the Point (position in feature space, not in
>normal space(?)). I believe Luis used PointSet to
>represent parameters in parametric space in his
>Curves2DExtractor example, and the original idea was
>extension of his idea. However, as you pointed out,
>since PointSet has distinction between Point and
>PointData, and has two containers for them, simply
>ignoring PointData would not be a good call.
>
>I have to think about a way to allow users to choose
>Point, PointData, or union of both as measurement
>vector type.
>
>And the question of ValueType is really ambiguous
>here.
>
>Without any objection, I will add ValueType to Image
>tomorrow, but not PointSet. If anyone has an good
>idea, please let me know.
>
>Thank you,
>
>Jisung.
>
>