[Insight-users] image - constant operations?
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Wed Sep 28 03:40:26 EDT 2005
Hi Richard,
I haven't found the filter you need so I have done one:
http://voxel.jouy.inra.fr/darcs/itk-mima2/Insight/Code/BasicFilters/itkInvertIntensityImageFilter.h
http://voxel.jouy.inra.fr/darcs/itk-mima2/Insight/Code/BasicFilters/itkInvertIntensityImageFilter.txx
It is also wrapped in the darcs repository.
Hope it can help
Gaetan
On Wednesday 28 September 2005 09:17, Richard Beare wrote:
> Hi,
> I'm sure this is in the toolkit somewhere, but I haven't been able to
> find it. How do you apply an operation with a literal to all pixels in
> an image? My immediate need is to do 255 - image in order to run some
> experiments. I've found the image/image filters, but constructing a
> white image seems a bit round about.
>
> Ideally I'd like to use this in a python script.
>
> Thanks
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050928/cddfba88/attachment.pgp
More information about the Insight-users
mailing list