powered by
Resample image by spacing or number of voxels with various interpolators
resampleImage(image, resampleParams, useVoxels = 0, interpType = 1)
input antsImage matrix
vector of size dimension with numeric values
true means interpret resample params as voxel counts
one of 0 (linear), 1 (nearest neighbor), 2 (gaussian), 3 (windowed sinc), 4 (bspline)
output antsImage
# NOT RUN { fi<-antsImageRead( getANTsRData("r16")) finn<-resampleImage(fi,c(50,60),1,0) filin<-resampleImage(fi,c(1.5,1.5),0,1) # }
Run the code above in your browser using DataLab