/// <summary>
 /// Initializes the detector for multiple marker detection.
 /// </summary>
 /// <param name="width">The width of the bitmap that will be used for detection.</param>
 /// <param name="height">The height of the bitmap that will be used for detection.</param>
 /// <param name="nearPlane">The near view plane of the frustum.</param>
 /// <param name="farPlane">The far view plane of the frustum.</param>
 /// <param name="markers">A list of markers that should be detected.</param>
 /// <param name="adaptive">Performs an adaptive bitmap thresholding if set to true. Default = false.</param>
 public void Initialize(int width, int height, double nearPlane, double farPlane, IList<Marker> markers, bool adaptive = false)
 {
    this.buffer = new XrgbIRaster(width, height);
    Initialize(width, height, nearPlane, farPlane, markers, XrgbIRaster.BufferType, adaptive);
 }
Exemple #2
0
 /// <summary>
 /// Initializes the detector for multiple marker detection.
 /// </summary>
 /// <param name="width">The width of the buffer that will be used for detection.</param>
 /// <param name="height">The height of the buffer that will be used for detection.</param>
 /// <param name="nearPlane">The near view plane of the frustum.</param>
 /// <param name="farPlane">The far view plane of the frustum.</param>
 /// <param name="markers">A list of markers that should be detected.</param>
 public void Initialize(int width, int height, double nearPlane, double farPlane, IList <Marker> markers)
 {
     raster = new XrgbIRaster(width, height);
     Initialize(width, height, nearPlane, farPlane, markers, XrgbIRaster.BufferType);
 }
 /// <summary>
 /// Initializes the detector for multiple marker detection.
 /// </summary>
 /// <param name="width">The width of the bitmap that will be used for detection.</param>
 /// <param name="height">The height of the bitmap that will be used for detection.</param>
 /// <param name="nearPlane">The near view plane of the frustum.</param>
 /// <param name="farPlane">The far view plane of the frustum.</param>
 /// <param name="markers">A list of markers that should be detected.</param>
 /// <param name="adaptive">Performs an adaptive bitmap thresholding if set to true. Default = false.</param>
 public void Initialize(int width, int height, double nearPlane, double farPlane, IList <Marker> markers, bool adaptive = false)
 {
     this.buffer = new XrgbIRaster(width, height);
     Initialize(width, height, nearPlane, farPlane, markers, XrgbIRaster.BufferType, adaptive);
 }
 /// <summary>
 /// Initializes the detector for multiple marker detection.
 /// </summary>
 /// <param name="width">The width of the buffer that will be used for detection.</param>
 /// <param name="height">The height of the buffer that will be used for detection.</param>
 /// <param name="nearPlane">The near view plane of the frustum.</param>
 /// <param name="farPlane">The far view plane of the frustum.</param>
 /// <param name="markers">A list of markers that should be detected.</param>
 public void Initialize(int width, int height, double nearPlane, double farPlane, IList<Marker> markers)
 {
    raster = new XrgbIRaster(width, height);
    Initialize(width, height, nearPlane, farPlane, markers, XrgbIRaster.BufferType);
 }