[Insight-users] How to substract a constant from every pixel?
Dan Mueller
d.mueller at qut.edu.au
Wed Mar 28 15:01:57 EST 2007
Hi Urlek,
I think you are after the itkShiftScaleImageFilter:
http://www.itk.org/Doxygen/html/classitk_1_1ShiftScaleImageFilter.html
HTH
Cheers, Dan
Urlek wrote:
> Hi,
> here is a simple one: how do I subtract (or add) a constant value from
> every pixel in the image? I am sure there is a class available that does it,
> I just cant find it! And how do I multiply with a constant?
>
> Thanks! U
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070329/aa09d360/attachment.htm
More information about the Insight-users
mailing list