Difference between revisions of "Understanding Image Basics"
Line 2: | Line 2: | ||
---- | ---- | ||
− | + | ==Understanding Image Basics== | |
<div style="font-style: normal; margin-bottom: 6pt; margin-left: 6pt; margin-right: 6pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#0023a9"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#0023a9">In this </font>'''</span>chapter<span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#0023a9"> . . .</font>'''</span><br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220264 "Supported graphic formats overview" on page 151]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220316 "Understanding the MIPAV dimensionality and coordinate system" on page 151]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220350 "Data types" on page 153]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220413 "Headers" on page 153]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220437 "Endianness" on page 154]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 6pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220445 "Viewing and editing image attributes" on page 154]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div> | <div style="font-style: normal; margin-bottom: 6pt; margin-left: 6pt; margin-right: 6pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#0023a9"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#0023a9">In this </font>'''</span>chapter<span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#0023a9"> . . .</font>'''</span><br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220264 "Supported graphic formats overview" on page 151]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220316 "Understanding the MIPAV dimensionality and coordinate system" on page 151]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220350 "Data types" on page 153]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220413 "Headers" on page 153]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220437 "Endianness" on page 154]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 6pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_ImageBasics.html#1220445 "Viewing and editing image attributes" on page 154]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div> | ||
Revision as of 16:30, 7 February 2012
Contents
Understanding Image Basics
This chapter also explains the dimensionality and coordinate system used by MIPAV, the data types MIPAV supports, the header offset information, endianness, and how to view and edit image attributes.It also provides a basic information about image file formats supported by MIPAV. More information about graphic file formats and the formats that MIPAV supports can be found in Appendix C: [MIPAV_AppCSupportedFormats.html#1256636 "Supported formats" ].
Supported graphic formats overview
Understanding the MIPAV dimensionality and coordinate system
The voxel in the upper left-most position is considered the origin of the dataset. (A volumetric dataset is a set of cross-sectional images). Ideally, each voxel would be isotropic (i.e., cubic), but clinical datasets are often acquired in such a manner that the resolution in the x and y dimensions is greater than the resolution in the z dimension, thus producing rectangular voxels (elongated in the z direction). This voxel anisotropy is taken into account in the execution of the algorithms found in MIPAV.
Because MIPAV's image storage buffer is n-dimensional, it can store 2D, 3D, and 4D medical images. CT and MRI are examples of 3D medical images where the three dimensions (x, y, and z) are spatial dimensions. Other 3D datasets include fluoroscopy volumes, where the first two dimensions are spatial and the third dimension is time.
|}
Data types
Data type
|
Description
|
Boolean
|
1 bit per pixel/voxel (1 on, 0 off)
|
Signed byte
|
1 byte per pixel/voxel (-128, 127)
|
Unsigned byte
|
1 byte per pixel/voxel (0, 255)
|
Signed short
|
2 bytes per pixel/voxel (-32768, 32767)
|
Unsigned short
|
2 bytes per pixel/voxel (0, 65535)
|
Integer
|
4 bytes per pixel/voxel (-231, 231-1)
|
Long
|
8 bytes per pixel/voxel (-9.22E18, 9.22E18)
|
Float
|
4 bytes per pixel/voxel (-3.4E38, 3.4E38)
|
Double
|
8 bytes per pixel/voxel (-1.8E308, 1.8E308)
|
Color 32
|
3 bytes per pixel/voxel, plus 1 byte; 8 bits per color channel (alpha, red, green, and blue)
|
Headers
Endianness
Viewing and editing image attributes
The Image Attributes window displays the name of the image file and information about the resolution of the image. The About Image window displays more detailed information about the image, such as the orientation of the image or the number of bits per pixel or voxel.
Viewing image attributes
|- |
|- |
|- |
|}
Editing image attributes
By default, the General page always appears first when the Image Attributes dialog box opens.
Image Attributes dialog box
Apply
|
applies the changes to the current image, but doesn't close the dialog box.
| ||
OK
|
applies the changes to the current image and closes the dialog box.
| ||
Close
|
closes the dialog box without applying the changes to the image.
| ||
Help
|
opens the on-line help.
| ||
General tab
| |||
{| align="center" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- | rowspan="1" colspan="3" |
|- | rowspan="1" colspan="3" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- | rowspan="1" colspan="3" |
|- | rowspan="1" colspan="3" |
|- |
| rowspan="1" colspan="2" |
|- | rowspan="3" colspan="1" |
| rowspan="3" colspan="2" |
|- |- |- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- | rowspan="1" colspan="3" |
|- | rowspan="1" colspan="3" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- |
| rowspan="1" colspan="2" |
|- | rowspan="1" colspan="3" |
|- |
| rowspan="12" colspan="2" |
|- |
|- |
|- |
|- | rowspan="8" colspan="1" |
|- |- |- |- |- |- |- |- | rowspan="1" colspan="3" |
|}