[Insight-users] scaling an dicom image's grey scale values

John Drescher drescherjm at gmail.com
Tue Sep 21 17:22:24 EDT 2010


On Tue, Sep 21, 2010 at 5:10 PM, John Drozd <john.drozd at gmail.com> wrote:
> Hello,
>
> I need to scale an image's grey scales by a factor of two.
> I am thinking of using ITK's iterators and GetPixelValue() and
> SetPixelValue() functions,
> to iterate over the voxels of a dicom image in order to achieve this.
> I am just wondering if this is the best way to do this,
> or is there a better way using ITK?
>

itkMultiplyByConstantImageFilter


More information about the Insight-users mailing list