Description Usage Arguments Value Author(s) Examples
Applies a summary function to a spatiotemporal matrix to get lower dimensional representations.
1 2 | spatioTemporalProjectionImage(spacetimematrixIn, summaryFUN = mean,
nDminus1ref = NA)
|
summaryFUN |
how to summarize the spatial part across time |
nDminus1ref |
reference spatial image |
spacetimevec |
input space time matrix or antsImage of length equal to nvoxels in a mask times the number of time points |
list(spacefunction=myestimatedbrainregionsval, timefunction=myestimatedhrf, spaceimage=spaceimage )
Avants BB
1 2 3 4 5 6 7 | ## Not run:
img<-antsImageRead("TEST0View1vec000.nii.gz",4)
ff<-spatioTemporalProjectionImage( img, sum, mask )
antsImageWrite(ff$spaceimage,'temp.nii.gz')
plot(ff$timefunction,type='l')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.