Dear SPM users,
Using imcalc, I am trying to mask an image (i1.*(i2>0.5), where i1 =
image containing ones (dont ask why), i2 = mask). It basically works,
but at the borders of the mask, the ones of i1 are no ones anymore, but
smaller values (I assume due to some interpolation steps by imcalc; I
have used nearest neighbor interpolation and have also tried the other
ones). I would like to get rid of these interpolated (?) values <1 and
rather have the entire ROI purely red (see attached file). Can anyone
help? Workarounds are also fine (e.g. using some display function in SPM
for i1 and then apply a mask, but I don't have the i1 data in a SPM.mat
file (i1 itself is the result of an imcalc operation)).
Thanks very much for help
Jens
--
Jens Kronschnabel, Ph.D. student
Department of Child and Adolescent Psychiatry, University of Zurich
Neumünsterallee 9, CH-8032 Zürich, Switzerland
+41 43 556 4081
[log in to unmask]
--
|