AirwaySegmentation class
Segment airways from CT using seeded region growing with explosion control.
Contents
- Reference
An example of this can be found in airwaySegmentation.cpp
Inputs:
- 0: Image - CT thorax 3D image
Outputs:
- 0: Image - Segmentation image
Base classes
- class ProcessObject
- Abstract base class for all process objects.
Public functions
- auto create(float smoothing, Vector3i seed) -> std::shared_ptr<AirwaySegmentation>
- Create AirwaySegmentation instance.
- void setSeedPoint(int x, int y, int z)
- Set manual seed point for region growing.
- void setSeedPoint(Vector3i seed)
- Set manual seed point for region growing.
- void setSmoothing(float sigma)
- Standard deviation of Gaussian smoothing for preprocessing.
- void loadAttributes() override
Private functions
- void execute() virtual
Function documentation
std::shared_ptr<AirwaySegmentation> fast:: AirwaySegmentation:: create(float smoothing,
Vector3i seed)
Create AirwaySegmentation instance.
| Parameters | |
|---|---|
| smoothing | Standard deviation of Gaussian smoothing to apply before segmentation. A higher value can be used for low dose CT. |
| seed | Manually set seed point. If set to (-1,-1,-1), it will try to find seed point automatically. |
| Returns | instance |
void fast:: AirwaySegmentation:: setSeedPoint(int x,
int y,
int z)
Set manual seed point for region growing.
| Parameters | |
|---|---|
| x | |
| y | |
| z | |
void fast:: AirwaySegmentation:: setSeedPoint(Vector3i seed)
Set manual seed point for region growing.
| Parameters | |
|---|---|
| seed | |
void fast:: AirwaySegmentation:: setSmoothing(float sigma)
Standard deviation of Gaussian smoothing for preprocessing.
| Parameters | |
|---|---|
| sigma | standard deviation |
Set the standard deviation value of the GaussianSmoothing performed before segmentation. Default is 0.5. A higher value can be used for low dose CT.