Skip to content

ImagePlane

struct ImagePlane

A single image plane for preview (sender side).

Variables

Name Description
label Human-readable label: "Image", "Axial", "Coronal", or "Sagittal".
nx Width and height of the preview plane in pixels.
pixels Row-major pixel data, normalized to [0, 1].

Variable Details

label

std::string label

Human-readable label: "Image", "Axial", "Coronal", or "Sagittal".

nx

size_t nx, ny

Width and height of the preview plane in pixels.

pixels

std::vector<float> pixels

Row-major pixel data, normalized to [0, 1].