QMRITools`PlottingTools`
QMRITools`PlottingTools`

MakeSliceImages

MakeSliceImages[imgData] generates images from the imgData which is obtained form GetSliceData. MakeSliceImages[imgData, vox] generates images from the imgData which is obtained form GetSliceData, vox is used for the correct aspect ratio of the images. MakeSliceImages[imgData, {labData, labels}] generates images from the imgData which is obtained form GetSliceData with an overlay of the segmentations in labData, which can also be obtained using GetSliceData on the segmentations. labels should be the label numbers used in the original segmentation (to allow correct scaling between slices). MakeSliceImages[imgData, {labData, labels},vox] generates images from the imgData which is obtained form GetSliceData with an overlay of the segmentations in labData, which can also be obtained using GetSliceData on the segmentations, vox is used for the correct aspect ratio of the images.

Details

  • The following options can be given:
  • PlotRangeAutomaticPlotRange is an option for graphics functions that specifies what range of coordinates to include in a plot.
    ColorFunction"GrayTones"ColorFunction is an option for graphics functions that specifies a function to apply to determine colors of elements.
    ImageLegendFalseImageLegend is an option for MakeSliceImages, if set true a barlegend is added to the image.
    ImageOrientationAutomaticImageOrientation is an option for MakeSliceImages. Can be Automatic, "Vertical" or "Horizontal".