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

orthanc-server.com

Summary: Decode frame for numpy
Operation ID:
Auth: unknown
Description

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).

Parameters (4)

compress (boolean, query, optional)

Compress the file as `.npz`

frame (number, path, required)

Index of the frame (starts at `0`)

id (string, path, required)

Orthanc identifier of the DICOM resource of interest

rescale (boolean, query, optional)

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

No probe data for this endpoint yet.