Share via


CameraPoseFinder.FusionCreateCameraPoseFinder Method (CameraPoseFinderParameters, Int32)

Kinect for Windows 1.8

Initializes a new instance of the CameraPoseFinder class with the specified parameters and random number generator seed.

Syntax

public static CameraPoseFinder FusionCreateCameraPoseFinder (
         CameraPoseFinderParameters cameraPoseFinderParameters,
         int randomFeatureLocationAndThresholdSeed
)

Parameters

  • cameraPoseFinderParameters
    Type: CameraPoseFinderParameters
    CameraPoseFinderParameters object that defines the number of poses and feature sample locations that this CameraPoseFinder will use.
  • randomFeatureLocationAndThresholdSeed
    Type: Int32
    Seed used to initialize the random number generator for feature locations and feature thresholds.

Return Value

Type: CameraPoseFinder
The newly created CameraPoseFinder.

Exceptions

Exception type Condition
ArgumentException One of the following occurred:
  • The FeatureSampleLocationsPerFrame property of the cameraPoseFinderParameters parameter is not in the range [1, 1,000].
  • The MaxPoseHistory property of the cameraPoseFinderParameters parameter is not in the range [1, 10,000,000].
  • The randomFeatureLocationAndThresholdSeed parameter is less than zero.
ArgumentNullException The cameraPoseFinderParameters parameter is null.
InvalidOperationException One of the following occurred:
  • The Kinect Runtime could not be accessed.
  • The call failed for an unknown reason.
OutOfMemoryException The memory required for camera pose finder processing could not be allocated.

Requirements

Namespace: Microsoft.Kinect.Toolkit.Fusion

Assembly: Microsoft.Kinect.Toolkit.Fusion (in microsoft.kinect.toolkit.fusion.dll)

See Also

Reference

CameraPoseFinder Class
CameraPoseFinder Members
Microsoft.Kinect.Toolkit.Fusion Namespace