Lung volume measurement

Hello
I wanted to use the LungCTAnalyzer for lung volume measurement.
I followed the instructions provided on Github, but when I reviewed the results, the lung volume, and a few other values seemed wrong.

On the Log:

  1. [WARNING][VTK] 22.09.2024 16:24:48 [vtkMRMLMarkupsFiducialNode (000002329D09EFB0)] (vtkMRMLMarkupsFiducialNode.h:119) - vtkMRMLMarkupsFiducialNode::AddFiducialFromArray method is deprecated, please use AddControlPoint instead
  2. Generic Warning: In vtkSlicerMarkupsToModelClosedSurfaceGeneration.cxx, line 311
    Extent ranges not provided in order largest to smallest. Unexpected results may occur.
  3. [WARNING][VTK] 22.09.2024 16:21:20 [vtkOpenGLVolumeOpacityTable (0000023335C918B0)] (vtkOpenGLVolumeLookupTable.cxx:88) - This OpenGL implementation does not support the required texture size of 65536, falling back to maximum allowed, 16384.This may cause an incorrect lookup table mapping.

The problem, I guess, is similar to what one of the other researchers had before LungCTAnalyzer extension for lung CT segmentation and analysis for COVID-19 assessment - #30 by mahmoud.

On the demo model, everything works perfectly. Is this potentially because of the resampling?

Thanks

All these warnings are harmless. Are you suspicious of the results because the lung volume seems too small? Have you loaded the image from DICOM or some 2D file format such as tiff or png?

Hello
Thank you very much for your reply.
It is a DICOM.

If it is from a clinical DICOM scanner then the image geometry (most importantly, the image spacing) is correct, too, and therefore the volume measurment is accurate, too.

The automatic segmentation is very robust, too, but you always need to verify visually. Does the segmentation looks correct? The full lung is segmented, there are no missing parts or holes?

You may also post a few screenshots, they may help explaining why you get different results than what you expect.

I will use the sample data to demonstrate the steps to begin the process.

CTChest
1.1 Scene: CTChest

  1. Lung Segmentation: Chest Imaging Platform (CIP)
    2.1. Lung CT Segmenter
    2.1.1. Parameters:
    2.1.1.1. High Detail, Airway Segmentation Checked, NO AI
    2.1.2. Seed Placement


    2.1.3. Segment Validation

    2.1.4. 3D Preview

    2.1.5. Finalising

  2. CIP, Lung CT Analyzer
    3.1. Parameters: Density Statistics Checked
    3.2. Compute Results


    3.3. Results


  1. Compare with Segment Statistics (Segment statistics — 3D Slicer documentation)


    Also, as a user suggestion, it would have been beneficial to add an export option for this module (CSV, PDF, etc.)

  2. Repeating the Step With Research Data


    5.1. Additional Step: Local Threshold (IF Required)
    image

CTChest: right and left lungs are about 3223 and 3116 cm3. All the numbers in your post above (3223≈3228≈3238 cm3 and 3116≈3122≈3131 cm3) are consistent with this.

Your “research data”: the numbers look consistent, too (1589≈1596 cm3, 1276≈1283 cm3).

Are concerned about the 5-15cm3 volume difference? That is due to small differences in how much of the airways and vessels are included. Since this corresponds to <1% of the volume, this should be negligible.

In summary, everything looks good.

The problem is the volume. With my research data, the lung volume is not correct.