You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert a 4-d image to a matrix using a mask using timeseries2matrix. I am also interested in noting what part of the mask corresponds to what column. Is it possible?
For e.g 4-d image is of dimension 90100801200 (1200 is the time point)
and i have a 3-d binary mask (dim = 90100*80) with sum(mask) = 150
The output of timeseries2matrix would be a matrix of size 1200 * 150.
I want to know which indices of the mask the columns correspond to. i.e 1st column is mask index (1, 4, 5) , 2nd is (1, 4, 6) etc.
Is there an easy way to do this. I see in your code that you subset the image which makes it a vector and then turn it into a matrix but couldnt figure out how to get the indices
The text was updated successfully, but these errors were encountered:
On Mon, Dec 7, 2020 at 3:05 PM Prateek Sasan ***@***.***> wrote:
Hi,
I am trying to convert a 4-d image to a matrix using a mask using
timeseries2matrix. I am also interested in noting what part of the mask
corresponds to what column. Is it possible?
For e.g 4-d image is of dimension 90*100*80
*1200 (1200 is the time point) and i have a 3-d binary mask (dim = 90*100*80)
with sum(mask) = 150
The output of timeseries2matrix would be a matrix of size 1200 * 150.
I want to know which indices of the mask the columns correspond to. i.e
1st column is mask index (1, 4, 5) , 2nd is (1, 4, 6) etc.
Is there an easy way to do this. I see in your code that you subset the
image which makes it a vector and then turn it into a matrix but couldnt
figure out how to get the indices
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#335>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPE7TE42WHHP6GI2OKTETSTUYQLANCNFSM4UQ6NM6Q>
.
Hi,
I am trying to convert a 4-d image to a matrix using a mask using timeseries2matrix. I am also interested in noting what part of the mask corresponds to what column. Is it possible?
For e.g 4-d image is of dimension 90100801200 (1200 is the time point)
and i have a 3-d binary mask (dim = 90100*80) with sum(mask) = 150
The output of timeseries2matrix would be a matrix of size 1200 * 150.
I want to know which indices of the mask the columns correspond to. i.e 1st column is mask index (1, 4, 5) , 2nd is (1, 4, 6) etc.
Is there an easy way to do this. I see in your code that you subset the image which makes it a vector and then turn it into a matrix but couldnt figure out how to get the indices
The text was updated successfully, but these errors were encountered: