[Insight-users] Clip image values filter?

Chr. Rossmanith cr at neuro.ma.uni-heidelberg.de
Fri Dec 2 09:03:08 EST 2011


But unfortunately ClampImageFilter does not take a user defined 
threshold but the maximum from the output voxel data type. So maybe I 
have to write my own filter...

Christina

Am 02.12.2011 14:56, schrieb Chr. Rossmanith:
> Hi,
>
> I had the feeling that I didn't search with the best keywords  :-)  
> Thank you! And I've just switched to v4 some days ago.
>
> Christina
>
> Am 02.12.2011 14:53, schrieb Gaëtan Lehmann:
>>
>> 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
>>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list