[Insight-users] Clip image values filter?

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Dec 2 08:53:36 EST 2011


Le 2 déc. 11 à 14:31, Chr. Rossmanith a écrit :

> Hi,
>
> is there a filter which keeps the original image values which are  
> below a given threshold and sets those above the threshold to a  
> constant given value?
>

Hi,

There is

   http://www.itk.org/Doxygen/html/classitk_1_1ClampImageFilter.html

but it is available in ITK v4 only.
It should be easy to copy it in your sources if you use ITK v3.

Regards,

Gaëtan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://mima2.jouy.inra.fr  http://www.itk.org
http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111202/83c4b6eb/attachment.pgp>


More information about the Insight-users mailing list