fast::LungSegmentation class

Segment the lung, airways and blood vessels from a CT using seeded region growing and morpohology.

Inputs:

Outputs:

  • 0: Image segmentation of lungs
  • 1: Image segmentation of airways
  • 2: Image segmentation of blood vessels (only if extractBloodVessels == true)

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

auto create(Vector3i airwaySeedPoint, Vector3i lungSeedPoint, bool extractBloodVessels) void setAirwaySeedPoint(int x -> std::shared_ptr<LungSegmentation>
Create instance.
void setAirwaySeedPoint(Vector3i seed)
void setLungSeedPoint(int x, int y, int z)
void setLungSeedPoint(Vector3i seed)

Public variables

int y
int int z

Private functions

void execute() virtual

Function documentation

std::shared_ptr<LungSegmentation> fast::LungSegmentation::create(Vector3i airwaySeedPoint, Vector3i lungSeedPoint, bool extractBloodVessels) void setAirwaySeedPoint(int x

Create instance.

Parameters
airwaySeedPoint Manually specify seed point for airways. By default it will automatically try to find the seed point.
lungSeedPoint Manually specify seed point for lung. By default it will automatically try to find the seed point.
extractBloodVessels Whether to extract blood vessels as well or not, Default: false
Returns instance