dicom.viewer {espadon}R Documentation

DICOM content viewer

Description

the dicom.viewer function displays the data of a DICOM file.

Usage

dicom.viewer(
  dcm,
  txt.sep = "\\",
  txt.length = 100,
  tag.dictionary = dicom.tag.dictionary(),
  height = 600,
  width = 900,
  ...
)

Arguments

dcm

espadon object of class "volume", "rtplan", "struct" provided by DICOM files, or DICOM filename, or Rdcm filename, or raw vector representing the binary extraction of the DICOM file.

txt.sep

String. Used if as.txt = TRUE. Separator of the tag value elements.

txt.length

Positive integer. Used if as.txt = TRUE. Maximum number of letters in the representation of the TAG value.

tag.dictionary

Dataframe, by default equal to dicom.tag.dictionary, whose structure it must keep. This dataframe is used to parse DICOM files.

height, width

Height and width in pixel of the DICOM table.

...

Additional argument dicom.browser when previously calculated by dicom.browser. Argument nb or dicom.nb representing the number of DICOM file, when dcm contains multiple DICOM files.

Value

Returns the DICOM file description in a browser window.

See Also

xlsx.from.dcm, xlsx.from.Rdcm, dicom.parser

Examples

if (interactive ()) dicom.viewer (toy.dicom.raw ())

[Package espadon version 1.7.2 Index]