Use:
(i1<5).*i1
Do not include the f= or single quotes in the expression field.
On Thursday, July 15, 2010, Nynke L <[log in to unmask]> wrote:
> Hello everyone,
> I have an overlay with activationclusters which I would like to modify. In the file, the intensity ranges between 0 and 17 (integers). I would like to make an overlay that does not display values above a certain thresshold (let's say 4). So values above 4 should be changed into zeros.
> I wanted to do this with the ImageCalculator of SPM, however when I enter the following expression f = 'i1<5' (but also other expressions, e.g., f = 'i1.*i1<1') I get the following error: "Input could not be evaluated". I have already tried it with different input images, as well with the .nii file as with with an .img file.
> Does anyone have a clue what I'm doing wrong?
> Thanks in advance!
> Best regards,
> Nynke
>
--
Best Regards, Donald McLaren
=================
D.G. McLaren
University of Wisconsin - Madison
Neuroscience Training Program
Office: (608) 520-0586
=====================
This e-mail contains CONFIDENTIAL INFORMATION which may contain
PROTECTED HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED
and which is intended only for the use of the individual or entity
named above. If the reader of the e-mail is not the intended recipient
or the employee or agent responsible for delivering it to the intended
recipient, you are hereby notified that you are in possession of
confidential and privileged information. Any unauthorized use,
disclosure, copying or the taking of any action in reliance on the
contents of this information is strictly prohibited and may be
unlawful. If you have received this e-mail unintentionally, please
immediately notify the sender via telephone at (608) 520-0586 or
email.
|