Function lsst::afw::detection::createThreshold

Function Documentation

Threshold lsst::afw::detection::createThreshold(const double value, const std::string type = "value", const bool polarity = true)

Factory method for creating Threshold objects

Return

desired Threshold

Parameters
  • value: value of threshold

  • type: string representation of a ThresholdType. This parameter is optional. Allowed values are: “variance”, “value”, “stdev”, “pixel_stdev”

  • polarity: If true detect positive objects, false for negative