[Insight-users] AddPixelAccessor set function confusion
robert tamburo
robert.tamburo at gmail.com
Thu Dec 9 16:33:54 EST 2010
I'm confused with the set function of AddPixelAccessor. It subtracts a value
from the input rather than adding it.
Relevant code:
inline void Set( InternalType & output, const ExternalType & input ) const
{ output = static_cast<InternalType>( input - m_Value ); }
Shouldn't it add m_Value to the input? Or is there something else going on?
-Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101209/8a8dc329/attachment.htm>
More information about the Insight-users
mailing list