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.
projectImageAlongAxis(imageND, referenceImageNDminus1, projtype = 0, axis = NA)
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 { img<-makeImage(c(5,5,5,5),rnorm(5^4)) img3d<-makeImage(c(5,5,5),rnorm(5^3)) mask4dproj<-projectImageAlongAxis( img, img3d, axis=3, projtype=0 ) # }
Run the code above in your browser using DataLab