enum cv::DistanceTransformLabelTypes

Overview

distanceTransform algorithm flags Moreā€¦

#include <imgproc.hpp>

enum DistanceTransformLabelTypes
{
    DIST_LABEL_CCOMP = 0,
    DIST_LABEL_PIXEL = 1,
};

Detailed Documentation

distanceTransform algorithm flags

Enum Values

DIST_LABEL_CCOMP

each connected component of zeros in src (as well as all the non-zero pixels closest to the connected component) will be assigned the same label

DIST_LABEL_PIXEL

each zero pixel (and all the non-zero pixels closest to it) gets its own label.