Packagecom.hook.imageprocessing.siox.canvas.interfaces
Interfacepublic interface ICanvas
Implementors Canvas

Interface for a canvas which display an image processed by Siox



Public Properties
 PropertyDefined By
  confidenceMatrix : Vector.<Number>
Returns the confidence matrix vector that contains the confidence of the pixels.
ICanvas
  imageData : Vector.<Number>
Returns the image data vector that contains the pixel data.
ICanvas
  imageHeight : Number
[read-only] Returns the image height.
ICanvas
  imageWidth : Number
[read-only] Returns the image width.
ICanvas
  renderBitmapData : BitmapData
[read-only] Returns the bitmap data that is used to display the image.
ICanvas
Public Methods
 MethodDefined By
  
refresh():void
Renders the entire canvas from the confidence matrix vector and image data vector.
ICanvas
  
render():void
Renders the entire canvas from the confidence matrix vector and image data vector.
ICanvas
  
update(changed:Vector.<Number>):void
Updated the canvas based on a vector of updated pixels.
ICanvas
Property Detail
confidenceMatrixproperty
confidenceMatrix:Vector.<Number>

Returns the confidence matrix vector that contains the confidence of the pixels.


Implementation
    public function get confidenceMatrix():Vector.<Number>
    public function set confidenceMatrix(value:Vector.<Number>):void
imageDataproperty 
imageData:Vector.<Number>

Returns the image data vector that contains the pixel data.


Implementation
    public function get imageData():Vector.<Number>
    public function set imageData(value:Vector.<Number>):void
imageHeightproperty 
imageHeight:Number  [read-only]

Returns the image height.


Implementation
    public function get imageHeight():Number
imageWidthproperty 
imageWidth:Number  [read-only]

Returns the image width.


Implementation
    public function get imageWidth():Number
renderBitmapDataproperty 
renderBitmapData:BitmapData  [read-only]

Returns the bitmap data that is used to display the image.


Implementation
    public function get renderBitmapData():BitmapData
Method Detail
refresh()method
public function refresh():void

Renders the entire canvas from the confidence matrix vector and image data vector.

render()method 
public function render():void

Renders the entire canvas from the confidence matrix vector and image data vector.

update()method 
public function update(changed:Vector.<Number>):void

Updated the canvas based on a vector of updated pixels. This greatly helps with performances if only a small amount of pixels were modified.

Parameters

changed:Vector.<Number> — Vector containing changed pixels.