QMRITools`
QMRITools`

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.
    ClippingStyleAutomaticClippingStyle is an option for plotting functions that specifies the style of what should be drawn when curves or surfaces would extend beyond the plot range.
    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".
    ImageSize300ImageSize is an option that specifies the overall size of an image to display for an object.

Examples