Print

Print


That would indeed be the fastest way, I had not seen that the images were already binary.



> On 1 Feb 2017, at 04.58, Robin Shao <[log in to unmask]> wrote:
> 
> Hi,
> 
> May I ask why can't simply use i1.*i2 given voxels that has 0 value in either or both of the images will get 0 value after multiplication anyway?
> 
> Thanks,
> Robin
> 
> Get Outlook for iOS <https://aka.ms/o0ukef>
> 
> 
> 
> On Wed, Feb 1, 2017 at 5:52 AM +0800, "Torben Lund" <[log in to unmask] <mailto:[log in to unmask]>> wrote:
> 
> You could use image calculator and enter something like (i1>0).*(i2>0) SPM will work with images that are of diffrent orientation and resolution, and during the calculation resample the result to the first image selected i.e. i1. You can chose the resampling strategy, and bit depth in the interface.
> 
> 
> Best
> Torben
> 
>  
> 
> 
> 
>> On 31 Jan 2017, at 19.14, Sahil Bajaj <[log in to unmask] <mailto:[log in to unmask]>> wrote:
>> 
>> Hi,
>> 
>> I would like to multiply two binary images (standard brain image with an ROI) using fslmaths (or may be using some other way) command. Although both are in standard space but image dimensions are different. I was wondering if there is any way I can do that without any co-registration step.
>> 
>> Thanks,
>> Sahil
>> -- 
>> -- 
>> -------------------------------------------------
>> Sahil Bajaj
>> Post-doctoral Fellow
>> Nantz National Alzheimer's Center, Department of Neurology
>> The Houston Methodist Research Institute (THMRI)
>> Houston, TX, USA.
>> E-mail:[log in to unmask] <mailto:[log in to unmask]>