Get Threshold

get-threshold

DESCRIPTION:

Retrieves the actual threshold value

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.
  • Threshold[int]: The binarization threshold is an 8-bit number that is in the range [0, 255], inclusive.