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#a12758770
Sent from the MarsBaR mailing list archive at Nabble.com.
|