Difference between revisions of "OpenIGTLink/ProtocolV2/Type/Image"
From NAMIC Wiki
(Created page with '=Summary= =IMAGE= Descriptions: {| border="1" cellpadding="5" cellspacing="0" align="center" |- | align="left style="background:#e0e0e0;" | Data | align="left style="background…') |
(→IMAGE) |
||
Line 3: | Line 3: | ||
=IMAGE= | =IMAGE= | ||
− | |||
{| border="1" cellpadding="5" cellspacing="0" align="center" | {| border="1" cellpadding="5" cellspacing="0" align="center" | ||
|- | |- |
Revision as of 01:41, 30 June 2010
Home < OpenIGTLink < ProtocolV2 < Type < ImageSummary
IMAGE
Data | Type | Description |
V | unsigned short | version number |
T | 8bit unsigned int | Image type (1: Scalar, 3: Vector) |
S | 8bit unsigned int | Scalar type (2:int8 3:uint8 4:int16 5:uint16 6:int32 7:uint32 10:float32 11:float64) |
E | 8bit unsigned int | Endian for image data (1:BIG 2:LITTLE) (NOTE: values in image header is fixed to BIG endian) |
O | 8bit unsigned int | image coordinate (1:RAS 2:LPS) |
RI, RJ, RK | 16 bit unsigned int | Number of pixels in each direction |
PX, PY, PZ | 32 bit float | center position of the image |
TX, TY, TZ | 32 bit float | Transverse vector (direction for 'i' index) / The length represents pixel size in 'i' direction |
SX, SY, SZ | 32 bit float | Transverse vector (direction for 'j' index) / The length represents pixel size in 'j' direction |
NX, NY, NZ | 32 bit float | Normal vector of image plane(direction for 'k' index) / The length represents pixel size in 'z' direction or slice thickness |
DI, DJ, DK | 16 bit unsigned int | Starting index of subvolume |
DRI, DRJ, DRK | 16 bit unsigned int | number of pixels of subvolume |
IMAGE_DATA | Binary image data () | Image data (endian is determined by "E" field) |