Package | com.transmote.flar.utils.threshold |
Class | public class IntegralImageThresholdAdapter |
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 tell FLARToolkit not to apply its own thresholding.
| IntegralImageThresholdAdapter | ||
dispose():void
free this instance for garbage collection.
| IntegralImageThresholdAdapter | ||
initFromXML(paramsObj:Object):void
init 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.
Implementation 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 tell FLARToolkit not to apply its own thresholding.
Parameterssource: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
init from a name-value paired object that contains parameters parsed from XML.
ParametersparamsObj:Object |
resetCalculations | () | method |
public function resetCalculations(currentThreshold:Number):void
reset calculations.
ParameterscurrentThreshold:Number — current threshold value.
|