Unibrain API-810 User Manual Page 80

  • Download
  • Add to my manuals
  • Print
  • Page
    / 95
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 79
80
The three implemented algorithms are ordered “Best Performance → Best Quality”.
BilinearInterpolation is the default setting.
Please note that the SmoothHueTransition algorithm is only implemented in the Firei.dll API; if set while
using the DirectShow API, an exception will be thrown.
Visual Basic syntax
Dim RawConversion As FireiRawConversion
RawConversion = Camera.RawConversion 'get
Camera.RawConversion = FireiRawConversion.NearestNeighbor 'set
C# syntax
FireiRawConversion RawConversion = Camera.RawConversion; //get
Camera.RawConversion = FireiRawConversion.NearestNeighbor; //set
Icon property
Prototype
System.Drawing.Icon Icon
Comments
This is a read-only property that can be used to retrieve a System.Drawing.Icon object, depicting the
camera itself. This picture is derived from an internal database of camera pictures that the Unibrain APIs
maintain and is selected automatically, using the camera vendor and model.
Visual Basic syntax
Dim Icon As System.Drawing.Icon
Icon = Camera.Icon
C# syntax
System.Drawing.Icon Icon = Camera.Icon;
ReadRegister method
Prototype
FireiRegister ReadRegister(uint offset)
Comments
This is a method that can be used to retrieve any register of the camera, given its offset as a parameter.
It will read the value from the camera and initialize a FireiFeature object, returning it to the
programmer. If for some reason the camera rejects the read request, an exception will be thrown (the
exception information will contain the nature of the error).
Please note that the offset parameter is based at 0 for reading the command registers of the camera
(normally based at hex F0000000) the ReadCommand method can be used instead.
Visual Basic syntax
Dim Register As FireiRegister
Register = Camera.ReadRegister(&H404)
Page view 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 94 95

Comments to this Manuals

No comments