/*
* PROJECT: FLARManager
* http://transmote.com/flar
* Copyright 2009, Eric Socolofsky
* --------------------------------------------------------------------------------
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this framework; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* For further information please contact:
*
* See the following URLs for more information:
*
false
;
* DrunkWalkThresholdAdapter runs only when confidence is low (poor marker detection).
*/
public function get runsEveryFrame () :Boolean {
return false;
}
/**
* The speed at which the threshold changes during adaptive thresholding.
* Larger values may increase the speed at which the markers in uneven illumination are detected,
* but may also result in instability in marker detection.
* * Value must be zero or greater. The default is 0.3. * A value of zero will disable adaptive thresholding. *
*/ public function get speed () :Number { return this._speed; } public function set speed (val:Number) :void { this._speed = Math.max(0, val); } /** * The direction toward which adaptive thresholding trends. ** Lower thresholds favor environments with too little light; * Higher thresholds favor environments with too much light. *
** A value of -1 will adapt only toward a lower threshold. * A value of +1 will adapt only toward a higher threshold. * A value of 0 will adapt randomly in both directions, with no bias. * The default is -0.1, as darker environments tend to be more common * for viewing web applications than are brightly lit environments. *
*/ public function get bias () :Number { return this._bias; } public function set bias (val:Number) :void { this._bias = val; } } }