About
  1. | API Documentation
  2. | Common
  3. | image
  4. | SmtImage
  5. | Threshold

Threshold

Defined in <image/SmtImage.h>

Threshold the colors in an image based on the passed in boundary conditions. The values for the lower bound (iLowerb) and the upper bound (iUpperb) are based on HSV. iFilterSize, iNumIterations, and iLowerNoiseThreshold are used for smoothing the thresholded image to try to decrease the effect that noise can have on creating clusters of pixels.


void Threshold(const cv::Scalar & iLowerb, const cv::Scalar & iUpperb, const cv::Scalar & iNoiseThresholdInfo)
(1)
void Threshold(const uint32_t iFilterSize, const uint32_t iNumIterations, const uint32_t iMaxNumPoints, const uint32_t iLowerNoiseThreshold, const cv::Scalar & iLeftb, const cv::Scalar & iRightb, cv::Mat & oMat)
(2)

  1. Parameters:
    • const cv::Scalar & iLowerb
    • const cv::Scalar & iUpperb
    • const cv::Scalar & iNoiseThresholdInfo

  2. Parameters:
    • const uint32_t iFilterSize
    • const uint32_t iNumIterations
    • const uint32_t iMaxNumPoints
    • const uint32_t iLowerNoiseThreshold
    • const cv::Scalar & iLeftb
    • const cv::Scalar & iRightb
    • cv::Mat & oMat

SnakeStrike — An program for high-speed multi-camera data collection and triangulation.

Page owner(s): gwjensen  Last updated: 2020-09-28 07:40:17 +0000