[Rtk-users] question about rtkDraw*ImageFilter
Mathieu Dupont
mdupont at cppm.in2p3.fr
Wed Oct 28 11:47:13 EDT 2015
Hello everyone,
I have a question/suggestion about the set of rtkDraw*ImageFilter. This
filter are written as additive filters: for example, in
rtkDrawEllipsoidImageFilter.txx, we can find
for(..)
itOut.Set( ellipsoid.density + itIn.Get() )
instead of
for(..)
itOut.Set( ellipsoid.density )
I think it can be more flexible the second option, because we can always
associate Draw*ImageFilter and itkAddImageFilter to get an additive filter.
Moreover, the rtkDrawGeometricPhantomImageFilter class already uses
itkAddImageFilter in order to have additive filters (which is redundant
in current situation).
What do you think ?
Regards
More information about the Rtk-users
mailing list