powered by
Will turn an N-D image into an N-1-D image by summation (0), max-intensity (1) or min-intensity (2) projection along an orthogonal axis.
proj<-projectImageAlongAxis( img4d, refimg3d, projtype=0, axis=3 )
input image
down-dimensional image to help define physical space
projection type 0, 1 or 2
should be less than image dimension and greater than or equal to 0
image of n-dimensions-1 is output
# NOT RUN { mask4dproj<-projectImageAlongAxis( mask4d, mask3d, axis=3, projtype=0 ) # }
Run the code above in your browser using DataLab