Re: [Marsbar-users] Creating ROIs using getdata() vs '&'
Status: Beta
Brought to you by:
matthewbrett
|
From: jayhegde <he...@um...> - 2007-09-18 15:25:57
|
Just so there is no misunderstanding about how I created an ROI using
getdata(), I wish to add that to create rois using getdata(), I used the
vXYZ output of getdata() and converted into real coordinates.
Thanks,
Jay
jayhegde wrote:
>
> Hi,
> I like using both getdata () and the & operation for creating ROIs,
> depending on the output I want. But I'm having trouble understanding how
> they work -- specifically, why they produce different ROIs in the
> following case:
>
> I have a binarized ROI ('myroi') of type maroi_matrix. I have a T
> contrast image 'spmT_0001.img'.
> I read in the contrast image and convert it to an maroi_matrix object,
> 'act_roi'. The 'spmT_0001.img' and 'act_roi are otherwise identical;
> neither is binarized.
>
> newroi1 = myroi & act_roi;
> newroi2 = getdata(myroi, spmT_0001.img);
>
> I expect newroi1 and newroi2 to be identical, but they're not. Why
> is this?
> Thank you very much,
> Jay
>
--
View this message in context: http://www.nabble.com/Creating-ROIs-using-getdata%28%29-vs-%27-%27-tf4474883.html#a12759426
Sent from the MarsBaR mailing list archive at Nabble.com.
|