| Package | com.transmote.flar.utils.threshold |
| Class | public class HistogramThresholdAdapter |
| Implements | IThresholdAdapter |
| Property | Defined by | ||
|---|---|---|---|
| runsEveryFrame : Boolean [read-only]
returns false;
HistogramThresholdAdapter runs only when confidence is low (poor marker detection).
| HistogramThresholdAdapter | ||
| Method | Defined by | ||
|---|---|---|---|
| HistogramThresholdAdapter | |||
|
calculateThreshold(source:BitmapData, currentThreshold:Number):Number
calculate a new threshold.
| HistogramThresholdAdapter | ||
|
dispose():void
free this instance for garbage collection.
| HistogramThresholdAdapter | ||
|
initFromXML(paramsObj:Object):void
init from a name-value paired object that contains parameters parsed from XML.
| HistogramThresholdAdapter | ||
|
resetCalculations(currentThreshold:Number):void
reset calculations.
| HistogramThresholdAdapter | ||
| runsEveryFrame | property |
runsEveryFrame:Boolean [read-only]returns false; HistogramThresholdAdapter runs only when confidence is low (poor marker detection).
Implementation public function get runsEveryFrame():Boolean
| HistogramThresholdAdapter | () | constructor |
public function HistogramThresholdAdapter()
| calculateThreshold | () | method |
public function calculateThreshold(source:BitmapData, currentThreshold:Number):Numbercalculate a new threshold.
Parameterssource:BitmapData — source BitmapData used for computer vision analysis.
|
|
currentThreshold:Number — current threshold value.
|
Number — new threshold value.
|
| dispose | () | method |
public function dispose():voidfree this instance for garbage collection.
| initFromXML | () | method |
public function initFromXML(paramsObj:Object):voidinit from a name-value paired object that contains parameters parsed from XML.
ParametersparamsObj:Object |
| resetCalculations | () | method |
public function resetCalculations(currentThreshold:Number):voidreset calculations.
ParameterscurrentThreshold:Number — current threshold value.
|