[Insight-users] Clip image values filter?

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


Yes, that did the job. I had a look at that filter earlier but didn't 
get that it leaves the values inside the interval given by the 
thresholds unmodified.

Thank you,
Christina

Am 02.12.2011 15:15, schrieb Gaëtan Lehmann:
>
> Sorry, I think I misunderstood your needs.
>
>   http://www.itk.org/Doxygen/html/classitk_1_1ThresholdImageFilter.html
>
> is probably what you want.
>
> Regards,
>
> Gaëtan
>
>
> Le 2 déc. 11 à 15:03, Chr. Rossmanith a écrit :
>
>> 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
>>>>
>>>
>>> _____________________________________



More information about the Insight-users mailing list