orthanc (development version)
New features
- orthanc has gained support for exporting of NIfTI files for Instances and Series (
retrieve_and_write_nifti()), if the Orthanc Neuroimaging plugin is available, and ZIP Archives for Series, Studies, and Patients.-
retrieve_and_write_nifti()andretrieve_and_write_archives()have support for progress bars and parallel exporting usingmirai, similar toretrieve_and_write_patients().
-
- Major refactor of resource download methods so that output formats aren’t ambiguous across the various resource types:
- Instances now have
$download_dicom()(formerly$download()),$download_nifti()(only works if Orthanc Neuroimaging plugin is avialable), and$download_image()(if R packagespngorjpegare installed). - Series now have
download_archive()(formerlydownload()) anddownload_nifti()(only works if Orthanc Neuroimaging plugin is avialable). - Studies now have
download_archive()(formerlydownload()) - Patients now have
download_archive()(formerlydownload())
- Instances now have
- New methods and fields have been added to resources:
- Instances now have:
-
download_dicom(): Download DICOM file to a path -
download_image(): Download instance as an image -
has_label(): Test if resource has label -
list_frames: List frames -
frames: Number of frames -
rows: Number of rows -
columns: Number of columns -
shape: Shape -
dim: Number of dimensions -
slice_thickness: Slice thickness -
pixel_spacing: Pixel spacing
-
- Series now have:
-
download_archive(): Download zip archive to path -
has_label(): Test if resource has label -
num_instances: Number of instances
-
- Studies now have:
-
download_archive(): Download zip archive to path -
has_label(): Test if resource has label -
series_ids: Series identifiers -
instances_ids: Instances identifiers -
num_series: Number of series -
num_instances: Number of instances
-
- Patients now have:
-
download_archive(): Download zip archive to path -
has_label(): Test if resource has label -
studies_ids: Studies identifiers -
series_ids: Series identifiers -
instances_ids: Instances identifiers -
num_studies: Number of studies -
num_series: Number of series -
num_instances: Number of instances
-
- Instances now have:
-
$labelsactive binding for resources can now be used to add new labels to a resource by assigning into the field (e.g.,Resource$labels <- "label").
Minor improvements and bug fixes
Improved support for progress bars and parallelization for
find_and_filter().Instance$download_nifti()andSeries$download_nifti()now use gzip compression by default.$image_orientation_patient()and$image_position_patient()now return parsed numeric vectors instead of character vectors.All
$dateor$*_datefields now return"Date"class vectors instead of character vectors.$file_sizenow returns “pretty” units thanks toprettyunits::pretty_bytes().Updated
$print()method for resources to show locked state, if locked.-
Added new
$is_lockedfield to check whether child resources are locked or not.- This active binding can be used to modify locked state through assignment.
