Single 2D MRI cross-section produced by MriSlicer (pixel buffer + RAS metadata). More...
#include <mri_slicer.h>
Public Attributes | |
| Eigen::MatrixXf | pixels |
| int | width |
| int | height |
| SliceOrientation | orientation |
| int | sliceIndex |
| Eigen::Matrix4f | sliceToRas |
Single 2D MRI cross-section produced by MriSlicer (pixel buffer + RAS metadata).
Carries one orthogonal-plane sample of a 3D MriVolData ready for upload to the slice viewer: a normalised 8-bit grayscale pixel buffer, the in-volume slice index it was sampled at, and the bookkeeping the widget needs to map mouse picks back to RAS millimetres.
Definition at line 86 of file mri_slicer.h.
| int MRILIB::MriSliceImage::height |
Height of the slice image in pixels.
Definition at line 90 of file mri_slicer.h.
| SliceOrientation MRILIB::MriSliceImage::orientation |
Orientation of the slice.
Definition at line 91 of file mri_slicer.h.
| Eigen::MatrixXf MRILIB::MriSliceImage::pixels |
2D pixel data, normalised 0-1.
Definition at line 88 of file mri_slicer.h.
| int MRILIB::MriSliceImage::sliceIndex |
Voxel index along the anatomical orientation's slicing axis.
Definition at line 92 of file mri_slicer.h.
| Eigen::Matrix4f MRILIB::MriSliceImage::sliceToRas |
4x4 transform placing the slice in RAS space.
Definition at line 93 of file mri_slicer.h.
| int MRILIB::MriSliceImage::width |
Width of the slice image in pixels.
Definition at line 89 of file mri_slicer.h.