v1

latestOpenAPI 3.0.02026-07-132990743.4 KB
Instances

Decode frame for numpy

Decode one frame of interest from the given DICOM instance, for use with numpy in Python. The numpy array has 3 dimensions: (height, width, color channel).

get/instances/{id}/frames/{frame}/numpy

Path parameters

framenumber required

Index of the frame (starts at 0)

idstring required

Orthanc identifier of the DICOM resource of interest

Query parameters

compressboolean

Compress the file as .npz

rescaleboolean

On grayscale images, apply the rescaling and return floating-point values