Package | com.transmote.flar.utils.threshold |
Class | public class IntegralImageThresholdAdapter |
Inheritance | IntegralImageThresholdAdapter Object |
Implements | IThresholdAdapter |
Property | Defined By | ||
---|---|---|---|
runsEveryFrame : Boolean [read-only]
IntegralImageThresholdAdapter must run every frame. | IntegralImageThresholdAdapter |
Method | Defined By | ||
---|---|---|---|
IntegralImageThresholdAdapter | |||
calculateThreshold(source:BitmapData, currentThreshold:Number):Number
IntegralImageThresholdAdapter directly modifies the source Bitmap data,
and passes -1 for the threshold, to prohibit the tracker from applying its own thresholding. | IntegralImageThresholdAdapter | ||
dispose():void
Free this instance for garbage collection. | IntegralImageThresholdAdapter | ||
initFromXML(paramsObj:Object):void
Iinit from a name-value paired object that contains parameters parsed from XML. | IntegralImageThresholdAdapter | ||
resetCalculations(currentThreshold:Number):void
Reset calculations. | IntegralImageThresholdAdapter |
runsEveryFrame | property |
runsEveryFrame:Boolean
[read-only] IntegralImageThresholdAdapter must run every frame.
public function get runsEveryFrame():Boolean
IntegralImageThresholdAdapter | () | Constructor |
public function IntegralImageThresholdAdapter()
calculateThreshold | () | method |
public function calculateThreshold(source:BitmapData, currentThreshold:Number):Number
IntegralImageThresholdAdapter directly modifies the source Bitmap data,
and passes -1
for the threshold, to prohibit the tracker from applying its own thresholding.
Parameters
source:BitmapData — Source BitmapData used for computer vision analysis.
| |
currentThreshold:Number — Current threshold value.
|
Number — New threshold value.
|
dispose | () | method |
public function dispose():void
Free this instance for garbage collection.
initFromXML | () | method |
public function initFromXML(paramsObj:Object):void
Iinit from a name-value paired object that contains parameters parsed from XML.
Parameters
paramsObj:Object |
resetCalculations | () | method |
public function resetCalculations(currentThreshold:Number):void
Reset calculations.
Parameters
currentThreshold:Number — Current threshold value.
|