C# Класс HandInput.Util.DepthUtil

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
RefDepthImageSize System.Windows.Size

Открытые методы

Метод Описание
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

Описание методов

GetDepthImageLength() публичный статический Метод

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
Результат double

GetDepthImagePoint() публичный статический Метод

public static GetDepthImagePoint ( double renderWidth, double renderHeight, Microsoft.Kinect.SkeletonPoint sp ) : Point
renderWidth double
renderHeight double
sp Microsoft.Kinect.SkeletonPoint
Результат Point

RawToDepth() публичный статический Метод

public static RawToDepth ( short raw ) : int
raw short
Результат int

RawToPlayerIndex() публичный статический Метод

public static RawToPlayerIndex ( short raw ) : int
raw short
Результат int

Описание свойств

RefDepthImageSize публичное статическое свойство

public static Size,System.Windows RefDepthImageSize
Результат System.Windows.Size