Set Threshold Mode

set-threshold-mode

DESCRIPTION:

Sets the thresholding mode.

Part of ARToolKit’s tracking operates on a binarized image, that is, an image that has been converted into black and white pixels only. All pixels above a certain level of brightness, referred to as the “binarization threshold”, or just “threshold” are converted to white, and all pixels below this threshold are converted to black. Where images have poor contrast, or are over- or under-exposed, the default binarization threshold should be adjusted to compensate.

INPUTS:

  • Target [ARToolkitComponent]: The Unreal Engine/ARToolkit interface object.
  • Mode[ EArLabelingThresholdMode]: The thresholding mode to use. The standard ARToolKit options are available: Manual, Median, Otsu, Adaptive.