40 enum class Status { Success, Failure, ReturnedEarly };
76 std::size_t iterations_{0};
std::shared_ptr< Volume > Pointer
Base class for segmentation algorithms that create a segmentation by growing from a set of seed point...
void setVolume(Volume::Pointer vol)
Set the input Volume.
std::vector< cv::Vec3d > SeedPoints
void setSeedPoints(SeedPoints p)
Set the input seed points.
const PointSet & getPointSet() const
Get the segmented points.
Status getStatus() const
Get the status of the previous computation.
virtual PointSet compute()=0
Compute the segmentation.
SeedPoints startingPoints_
std::size_t progressIterations() const override
Returns the maximum progress value.
void setIterations(std::size_t i)
Set the number of iterations.
PointSet & getPointSet()
Get the segmented points.
RegionGrowingSegmentationAlgorithmBaseClass()=default
Segmentation algorithms and utilities library
Mixin type for classes which report their progress.