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

String Character representing the list of the full names of a DICOM file or raw data vector of this 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.

Value

Returns the DICOM file description in a browser window.

See Also

xlsx.from.dcm, dicom.parser

Examples

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

[Package espadon version 1.2.0 Index]