Description Usage Arguments Value Author(s) Examples
This function, by default, regularizes the total deformation field to produce a
a constrained diffeomorphic motion correction of a time series. Full custom
by passing the same parameters that one would pass to antsRegistration
.
1 2 | timeSeriesMotionCorrect(fixedStaticImage, movingTimeSeries, totalSigma,
flowSigma, regIterations = c(50, 50, 10), ...)
|
fixedStaticImage |
fixed static image |
movingTimeSeries |
time series image to map to the fixed space |
totalSigma |
regularization for total deformation field |
flowSigma |
regularization for update deformation field |
regIterations |
deformable registration iterations / multi-resolution parameters |
... |
parameters to pass to antsRegistration |
deformed images
Avants BB
1 2 3 4 5 6 7 8 9 | library( magrittr )
library( ANTsRCore )
library( ANTsR )
temp1 = resampleImage( ri(1), 4 )
temp2 = resampleImage( ri(2), 4 )
temp3 = resampleImage( ri(1), 2 )
tarspace = makeImage( c( dim( temp1 ), 2 ), spacing = c( 4, 4, 1 ) )
pdcr = mergeListToNDImage( tarspace, list( temp1, temp2 ) )
reg = timeSeriesMotionCorrect( temp3, pdcr )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.