orthanc (development version)
New features
-
OrthancandOrthancAsyncinitialization methods (i.e.,Orthanc$new()andOrthancAsync$new()) have gained several new arguments to provide users more control over how HTTP requests are performed.-
params,headers, andcookiesset query parameters, headers, and cookies to include in every request. -
timeoutsets the maximum number of seconds to wait for the request to complete. -
rate_limitcan be used to throttle requests so that no more than the maximum capacity of requests are performed during the fill time. -
verifycontrols whether to verify the SSL/TLS certificate when making requests.
-
orthanc 0.2.0
CRAN release: 2026-03-11
New features
Fixed an issue with
OrthancAsyncwhere requests would fail when requiring basic authentication. This was due to credentials getting removed during the serialization of ahttr2_requestbefore sending it to the daemonmiraiprocess. The private method$request_perform()now adds the basic authentication (Authorization) header on themiraiworker instead of the main process.-
orthanc has gained support for batch exporting image files (PNG or JPEG) for Instances (
retrieve_and_write_images()), 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_archives()).-
retrieve_and_write_images(),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 (nii.gz) 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.
