Difference between revisions of "Understanding Image Basics"
(→Data types) |
(→Image Attributes dialog box) |
||
Line 159: | Line 159: | ||
|} | |} | ||
− | + | <br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To edit the dimensions and units of measure<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Open either a DICOM or non-DICOM image dataset.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 2 Select Image > Attributes > Edit Attributes in the MIPAV window. The Image Attributes dialog box opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 3 Click Resolutions. The Resolutions page in the Image Attributes dialog box appears.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 4 Type the changed values in the dimension text boxes on the left and then select the appropriate value in the Unit of measure boxes on the right.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 5 Click either Apply or OK.<br /> | |
− | + | <div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To edit the <span style="text-decoration: none; text-transform: none; vertical-align: baseline">'''''<font color="#000000">x, y,</font>'''''</span> and <span style="text-decoration: none; text-transform: none; vertical-align: baseline">'''''<font color="#000000">z </font>'''''</span>orientations of image datasets<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Open either a DICOM or non-DICOM image dataset.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 2 Select Image > Attributes > Edit Attributes in the MIPAV window. The Image Attributes dialog box opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 3 Click Orientations. The Orientations page (Figure 4) in the Image Attributes dialog box opens.<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; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 4 Select the appropriate values in the boxes on the right.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 5 Click Apply or OK.<br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To change the origin for the first image slice <br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Open either a DICOM or non-DICOM image dataset.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 2 Select Image > Attributes > Edit Attributes in the MIPAV window. The Image Attributes dialog box opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 3 Click Orientation. The Orientation page (Figure 4]) in the Image Attributes dialog box appears.<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; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 4 Type the appropriate values in the dimension boxes.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 5 Click Apply or OK.<br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To change the transform matrix <br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Open either a DICOM or non-DICOM image dataset.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 2 Select Image > Attributes > Edit Attributes in the MIPAV window. The Image Attributes dialog box opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 3 Click Transform Matrix. The Transform Matrix page (Figure 3) in the Image Attributes dialog box appears.<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; 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; 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; 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; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 4 Select the appropriate transform ID in the Transform ID box.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 5 Load and save transform matrices.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 6 Click Apply or OK.<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"> | |
− | ---- | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==testing section== | ==testing section== |
Revision as of 13:48, 10 February 2012
Contents
- 1 Understanding Image Basics
- 1.1 Supported graphic formats overview
- 1.2 Understanding the MIPAV dimensionality and coordinate system
- 1.3 Data types
- 1.4 Headers
- 1.5 Endianness
- 1.6 Viewing and editing image attributes
- 1.7 testing section
- 1.8 testing html2wiki
- 1.9 <a name="1220264"></a>Supported graphic formats overview
- 1.10 <a name="1220316"></a>Understanding the MIPAV dimensionality and coordinate system
- 1.11 <a name="1220350"></a>Data types
- 1.12 <a name="1220413"></a>Headers
- 1.13 <a name="1220437"></a>Endianness
- 1.14 <a name="1220445"></a>Viewing and editing image attributes
Understanding Image Basics
In this chapter. . .
"Supported graphic formats overview"
"Understanding the MIPAV dimensionality and coordinate system"
"Data types"
"Headers"
"Endianness"
"Viewing and editing image attributes"
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: "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
What's the Difference Between Clicking Apply or Clicking OK? Click Apply when you want the dialog box or window to remain open after it makes the change so that you can make further modifications. If instead you click OK, the dialog box or window closes immediately after making the current change.
|
testing section
Apply
|
applies the changes to the current image, but doesn't close the dialog box.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
applies the changes to the current image and closes the dialog box.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
closes the dialog box without applying the changes to the image.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
opens the on-line help.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displays the name of the current image. You can change the image's name here.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shows image modality. You can change the modality by selecting it from the list.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Unknown Modality, Biomagnetic Imaging, Color Flow Doppler, Computed Radiography, Computed Tomography, Diaphanography, Digital Radiography, Duplex Doppler, Endoscopy, External Camera Photography, FA, General Microscopy, Hardcody, ICG, Intraoral Radiography, Laser Surface Scan, Magnetic Resonance Angiography, Mammography, Magnetic Resonance, Nuclear Medicine, Other, Positron Emission Tomography, Panoramic X-ray, Radio Fluoroscophy, Radiographic Imaging, Radiotherapy Dose, Radiotherapy Image, Radiotherapy Plane, Radiotherapy Record, Radiotherapy Structure Set, Red Free, Slide Microscopy, Single Photon Emission Computer Tomography, Thermography, Ultrasound, and X-ray Angiography.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Here, use the appropriate radio button to set the image endiannes.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shows resolution for each dimension.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shows the slice thickness.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displays the units of measure used in the image.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Medical image data are stored in a variety of ways. In order to orient a two-dimensional image slice or three-dimensional volume in space, one needs to know how the order of the image data relates to a standard set of axes. For medical imaging, these axes are generally chosen to correspond to the directions '''posterior/anterior''', '''superior/inferior '''and''' left/right'''[http://lcni.uoregon.edu/~jolinda/MRIConvert/fileformats.htm . This information could be found from the image header. To change image orientation, select one from the list: Axial, Coronal, Sagittal, or Unknown. See also "About medical image coordinate systems." ]
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
To specify X, Y, or Z -axis orientation, select one from the list: Unknown, Patient Right to Left, Patient Left to Right, Patient Anterior to Posterior, Patient Posterior to Anterior, Patient Inferior to Superior, Patient Superior to Inferior. Here, The head end is referred to as the '''superior end''', while the feet are referred to as the '''inferior end.''' '''Anterior''' refers to the "front" of the individual, similarly, '''posterior''' refers to the "back" of the individual. Left and right are self explanatory.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The image origin is generally at the corner of the image, often the upper left, the axis directions are: the X- axis is across, Y -axis is down, and Z-axis goes into the screen. Usually, it differs from matrix coordinates and Cartesian coordinates. E.g. for the above image, the origin coordinates shown in the dialog box are as follows: x=0,z=0, and y=-239.0625, which corresponds to the scanner frame of reference and scanner origin coordinates. If you mouse over the image, MIPAV will show you the coordinates from the image frame of reference.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For 4D images, it specifies the units and values used for the 4-th dimension.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displays a list of transformation matrix for the chosen image
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displays transformation ID type for the chosen image. To change the current transformation matrix, select a new transform ID first, and then click Replace. This will replace the transformation matrix.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
replaces a current transformation matrix to a new one that you choose.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
adds a transformation matrix that has been selected from the Transform ID list to the image.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
renames a transformation matrix.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
copies the current transformation matrix to the Clipboard.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pastes a copied transformation matrix.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
loads a transformation matrix (from a file with the ''*.mtx'' extension)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
saves a transformation matrix to a file.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
transforms the current transformation matrix to an identity matrix.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
inverts the current transformation matrix.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{| align="center" | [[Image:ImageAttributesTalairach1.jpg]] |} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><meta name="GENERATOR" content="Quadralay WebWorks Publisher Standard Edition 7.0.6.1257"><meta name="TEMPLATEBASE" content="Dynamic HTML Standard Edition"><meta name="LASTUPDATED" content="02/07/12 12:25:06"><link rel="StyleSheet" href="standard.css" type="text/css" media="screen"><title>Supported graphic formats overview </title></head><body background="images/backgrnd.gif">
<img src="images/wwplogo.gif" width="122" height="63" alt="Put your logo here!">
|
---|