[58c332]: / archives / RadETL / man / DcmFileModule.Rd

Download this file

44 lines (36 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DICOMFileModule.R
\docType{data}
\name{DcmFileModule}
\alias{DcmFileModule}
\title{DcmFileModule Class}
\format{An object of class \code{R6ClassGenerator} of length 24.}
\usage{
DcmFileModule
}
\arguments{
\item{path}{Path with DICOM image file}
\item{savePathRoot}{Top path to store extracted metadata}
}
\description{
This class creates a dataset by compressing a batch of DICOM files into a single RDS file.
Each DICOM file is so large that it takes a lot of time to read it, and it is a function that extracts only its metadata.
}
\examples{
############################# Example Code: Create DICOM RDS File ###################################
# Path is directory folder
path <- "~/Radiology/quer.ai_test"
# savePathRoot is directory folder
savePathRoot <- "~/Radiology/rds_test"
# Parallel core
core <- parallel::detectCores() - 1
DFM <- DcmFileModule$new(path = path, savePathRoot = savePathRoot, core = core)
# rootPathCount is a parameter that determines which of the current DICOM file paths to cut.
# If you do not want to cut this parameter, you can omit this parameter.
DFM$dcmToRDS(rootPathCount = 4)
######################################## Example Code: END ##########################################
}
\author{
Neon K.I.D
}
\keyword{datasets}