class
BinaryThresholdingSegmentation using a threshold value.
Contents
- Reference
Any pixel with intensity between lower and upper threshold is labeled as 1, the rest is background 0.
Inputs:
- 0: Image
Outputs:
- 0: Image segmentation
Base classes
- class ProcessObject
- Abstract base class for all process objects.
Public functions
- auto create(float lowerThreshold, float upperThreshold) -> std::shared_ptr<BinaryThresholding>
- Create instance.
- void setLowerThreshold(float threshold)
- void setUpperThreshold(float threshold)
- void loadAttributes() override
Private functions
- void execute() virtual
- void waitToFinish() virtual
Function documentation
std::shared_ptr<BinaryThresholding> fast:: BinaryThresholding:: create(float lowerThreshold,
float upperThreshold)
Create instance.
Parameters | |
---|---|
lowerThreshold | All pixels with an intensity above this threshold will be segmented |
upperThreshold | All pixels with intensity below this threshold will be segmented |
Returns | instance |