Implements several different strategies for super-resolution from time series data.
timeSeriesSuperResolution(fixedStaticImage, mappedTimeSeries, method = "average", param1, param2)
fixedStaticImage | target image space |
---|---|
mappedTimeSeries | pre-aligned to the fixed space, not necessarily the same resolution |
method | one of average, sharpen, majon |
param1 | generic weight term for sharpen or mesh size for majon |
param2 | number of levels for majon |
super resolution image
library( magrittr ) library( ANTsRCore ) library( ANTsR ) temp1 = resampleImage( ri(1), 8 ) temp2 = resampleImage( ri(1), 8 ) temp3 = resampleImage( ri(1), 4 ) tarspace = makeImage( c( dim( temp1 ), 2 ) , spacing = c( 8, 8, 1 ) ) pdcr = mergeListToNDImage( tarspace, list( temp1, temp2 ) ) sup = timeSeriesSuperResolution( temp3, pdcr )