fast::BinaryThresholding class

Segmentation using a threshold value.

Any pixel with intensity between lower and upper threshold is labeled as 1, the rest is background 0.



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.

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