Description Usage Arguments Value See Also Examples
View source: R/TCIApathfinder.R
Save a single DICOM image file
1 2 | save_single_image(series_instance_uid, sop_instance_uid, out_dir = NULL,
out_file_name = NULL)
|
series_instance_uid |
Series instance UID. To get a list of available series instance UIDs, call |
sop_instance_uid |
SOP instance UID. To get a list of SOP instance UIDs for an image series, call |
out_dir |
Directory to write DICOM file to |
out_file_name |
Name of DICOM file to write, with .dcm extension. If |
List containing elements:
out_file
: The output file that was written
response
: API response
get_series_info
,
get_sop_instance_uids
,
TCIA REST API Usage Guide,
TCIA API object definitions
1 2 3 4 5 6 7 8 9 10 | ## Not run:
save_single_image(
series_instance_uid = "1.3.6.1.4.1.14519.5.2.1.5382.4002.806935685832642465081499816867",
sop_instance_uid = "1.3.6.1.4.1.14519.5.2.1.5382.4002.257663256941568276393774062283")
save_single_image(
series_instance_uid = "1.3.6.1.4.1.14519.5.2.1.5382.4002.806935685832642465081499816867",
sop_instance_uid = "1.3.6.1.4.1.14519.5.2.1.5382.4002.257663256941568276393774062283",
out_file_name = "file.dcm")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.