C# Class HandInput.Util.DepthUtil

Afficher le fichier Open project: ushadow/handinput Class Usage Examples

Méthodes publiques

Свойство Type Description
RefDepthImageSize System.Windows.Size

Méthodes publiques

Méthode Description
GetDepthImageLength ( double renderWidth, float lengthWorld, float distWorld ) : double

length in depth image / length in world = focal length / distance in world

GetDepthImagePoint ( double renderWidth, double renderHeight, Microsoft.Kinect.SkeletonPoint sp ) : Point
RawToDepth ( short raw ) : int
RawToPlayerIndex ( short raw ) : int

Method Details

GetDepthImageLength() public static méthode

length in depth image / length in world = focal length / distance in world
public static GetDepthImageLength ( double renderWidth, float lengthWorld, float distWorld ) : double
renderWidth double in pixel
lengthWorld float in m
distWorld float in m
Résultat double

GetDepthImagePoint() public static méthode

public static GetDepthImagePoint ( double renderWidth, double renderHeight, Microsoft.Kinect.SkeletonPoint sp ) : Point
renderWidth double
renderHeight double
sp Microsoft.Kinect.SkeletonPoint
Résultat Point

RawToDepth() public static méthode

public static RawToDepth ( short raw ) : int
raw short
Résultat int

RawToPlayerIndex() public static méthode

public static RawToPlayerIndex ( short raw ) : int
raw short
Résultat int

Property Details

RefDepthImageSize public_oe static_oe property

public static Size,System.Windows RefDepthImageSize
Résultat System.Windows.Size