Description Usage Arguments Value Author(s) See Also Examples
Functions to test the orientation for a single slice.
1 2 3 | is.axial(imageOrientationPatient, axial = c("L","R","A","P"))
is.coronal(imageOrientationPatient, coronal = c("L","R","H","F"))
is.sagittal(imageOrientationPatient, sagittal = c("A","P","H","F"))
|
imageOrientationPatient |
A vector of length six taken from the DICOM header field “ImageOrientationPatient”. |
axial |
Characters that are valid in defining an ‘axial’ slice. |
coronal |
Characters that are valid in defining a ‘coronal’ slice. |
sagittal |
Characters that are valid in defining a ‘sagittal’ slice. |
Logical value.
Brandon Whitcher <bjw34032@users.sourceforge.net>
1 2 3 4 5 6 7 8 9 10 11 12 13 | x <- readDICOMFile(system.file("dcm/Abdo.dcm", package="oro.dicom"))
iop <-
header2matrix(extractHeader(x$hdr, "ImageOrientationPatient", FALSE), 6)
is.axial(iop)
is.coronal(iop)
is.sagittal(iop)
x <- readDICOMFile(system.file("dcm/Spine1.dcm", package="oro.dicom"))
iop <-
header2matrix(extractHeader(x$hdr, "ImageOrientationPatient", FALSE), 6)
is.axial(iop)
is.coronal(iop)
is.sagittal(iop)
|
oro.dicom: Rigorous - DICOM Input / Output (version = 0.5.0)
[1] FALSE
[1] TRUE
[1] FALSE
[1] FALSE
Warning message:
In is.axial(iop) : Oblique acquisition in ImageOrientationPatient.
[1] FALSE
Warning message:
In is.coronal(iop) : Oblique acquisition in ImageOrientationPatient.
[1] TRUE
Warning message:
In is.sagittal(iop) : Oblique acquisition in ImageOrientationPatient.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.