Aim of the ‘Line Intensity Profile’ extension is to plot intensity levels of pixels within a drawn line. This extension can be used to compare the noise levels of multiple images and to compare physical properties of a drawn line in two 3D images. Potential applications of the extension are : Intensity homogeneity correction and change characterization.
- Slicer software
Slicer is a free and open source platform for analyzing the medical images such as MRI, CT, etc.
Download stable version of slicer from download.slicer.org depending on your operating system.
- Python
-
Download the zip file and extract it
-
Install `DeveloperToolsForExtensions' from extension manager.
-
Restart the Slicer
-
Open the Developer tools for extensions extension
Modules → Developer tools → Developer tools for extension
-
Load the LineIntensityProfile.py python file
Load Module → Select LineIntensityProfile.py (from downloaded folder)
-
Open Line Intensity Profile extension and explore.
Module → Examples → Line Intensity Profile
-
Load the `Line Intensity Profile' Extension
Modules → Examples → Line Intensity Profile
Figure 1 : Widget Elements of Line Intensity Profile Extension
-
Click on `Reload and Test' to test the functionality of the extension.
Two sample volumes (MRIBrainTumor1 and MRIBrainTumor2) and a ruler are initiated on predefine position.
You should be able to see the ruler and the line intensity plot - as shown below.
Figure 2 : Line Intensity plot and ruler positioning during testing of extension.
Figure 3 : Line intensity profile during test run.
Figure 4 : Test Ruler placement on both volumes
3. Use sample data (or own data) to explore the extension.
-
Load sample data
Module Finder → Sample data → Select any two built in data
e.g.: (CTchest and CTA cardio) or (MRBrainTumor1 and MRBrainTumor2)
-
Load the Line Intensity Profile extension
Modules → Examples → Line Intensity Profile
-
Select appropriate volume nodes.
-
Select Ruler from the toolbar (mouse interaction)
Figure 5 : Ruler in the toolbar
-
Place the ruler in the region of interest (in any one image - axial/ sagittal/ coronal view)
Here ruler is placed in sagittal view - Line intensity profile of drawn line is shown below.
MRBrainTumor1 and MRBrainTumor2
Figure 6 : Line Intensity Profile of user drawn line (Axial view)
Figure 7 : Line Intensity Profile of user drawn line (Sagittal view)
Figure 8 : Line Intensity Profile of user drawn line (Coronal view)
I would like to express my special thanks of gratitude to Dr. Nuwan Dayananda, Dr. Ranga Rodrigo and Mr. Achintha Iroshan, who gave me the golden opportunity to work on development of line intensity profile using Slicer.