Description Usage Arguments Value Author(s) Examples
This is a plotting utility for antsImage types with a background and color overlay option. Useful for displaying statistical results overlaid on a background image.
1 | plotANTsImage( myantsimage , functional=NA, color="red", axis=1, slices="1x1x1" , threshold="1x0", quality=NA )
|
myantsimage |
the reference image on which to overlay |
color = <string> |
the color for the overlay , e.g c("blue","red") length of this list should match the image list |
functional |
list of the images to use as overlays |
axis = <value> |
character ... the axis to slice (1 , 2 or 3) |
slices = <string> |
character, the slices to overlay written as 10x20x3 where 10x20 is the range and 3 is the increment, for multislice display |
threshold = <string> |
character, we overlay values above/below this threshold : of form LOxHI |
quality = <value> |
integer quality magnification factor 1 => large (e.g. 10) |
outname="figx.jpg" |
output name if you want to write the result to a file |
output is plot to standard R window
or
1 – Failure
Avants BB
1 2 3 4 5 6 7 | ## Not run:
# in 2D
plotANTsImage(myantsimage=img,functional=funcimg,threshold="50x150",color="red",axis=1)
# in 3D
plotANTsImage(myantsimage=img,functional=img,threshold="50x150",slices="10x20x3",color="red",axis=0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.