C# 클래스 HandInput.Util.CoordinateConverter

Maps points between color, depth and skeleton coordinates.
파일 보기 프로젝트 열기: ushadow/handinput 1 사용 예제들

공개 메소드들

메소드 설명
CoordinateConverter ( CoordinateMapper mapper, ColorImageFormat cif, DepthImageFormat dif ) : System
CoordinateConverter ( IEnumerable kinectParams, ColorImageFormat cif, DepthImageFormat dif ) : System
MapDepthPointToColorPoint ( int x, int y, int depth ) : ColorImagePoint

Maps a point in the depth image to a point in the color image.

MapDepthPointToSkeletonPoint ( DepthImagePoint depthImagePoint ) : Microsoft.Kinect.SkeletonPoint
MapDepthPointToSkeletonPoint ( int x, int y, int depth ) : Microsoft.Kinect.SkeletonPoint
MapDepthRectToColorRect ( Rectangle depthRect, short depthPixel, int width, int height ) : Rectangle

MapSkeletonPointToColorPoint ( Microsoft.Kinect.SkeletonPoint sp ) : ColorImagePoint
MapSkeletonPointToDepthPoint ( Microsoft.Kinect.SkeletonPoint sp ) : DepthImagePoint

비공개 메소드들

메소드 설명
Clip ( int v, int min, int max ) : int

메소드 상세

CoordinateConverter() 공개 메소드

public CoordinateConverter ( CoordinateMapper mapper, ColorImageFormat cif, DepthImageFormat dif ) : System
mapper CoordinateMapper
cif ColorImageFormat
dif DepthImageFormat
리턴 System

CoordinateConverter() 공개 메소드

public CoordinateConverter ( IEnumerable kinectParams, ColorImageFormat cif, DepthImageFormat dif ) : System
kinectParams IEnumerable
cif ColorImageFormat
dif DepthImageFormat
리턴 System

MapDepthPointToColorPoint() 공개 메소드

Maps a point in the depth image to a point in the color image.
public MapDepthPointToColorPoint ( int x, int y, int depth ) : ColorImagePoint
x int x coordinate in the depth image.
y int y coordinate in the depth image.
depth int correspoinding depth at (x, y).
리턴 ColorImagePoint

MapDepthPointToSkeletonPoint() 공개 메소드

public MapDepthPointToSkeletonPoint ( DepthImagePoint depthImagePoint ) : Microsoft.Kinect.SkeletonPoint
depthImagePoint DepthImagePoint
리턴 Microsoft.Kinect.SkeletonPoint

MapDepthPointToSkeletonPoint() 공개 메소드

public MapDepthPointToSkeletonPoint ( int x, int y, int depth ) : Microsoft.Kinect.SkeletonPoint
x int
y int
depth int
리턴 Microsoft.Kinect.SkeletonPoint

MapDepthRectToColorRect() 공개 메소드

public MapDepthRectToColorRect ( Rectangle depthRect, short depthPixel, int width, int height ) : Rectangle
depthRect System.Drawing.Rectangle
depthPixel short
width int frame width
height int frame height
리턴 System.Drawing.Rectangle

MapSkeletonPointToColorPoint() 공개 메소드

public MapSkeletonPointToColorPoint ( Microsoft.Kinect.SkeletonPoint sp ) : ColorImagePoint
sp Microsoft.Kinect.SkeletonPoint
리턴 ColorImagePoint

MapSkeletonPointToDepthPoint() 공개 메소드

public MapSkeletonPointToDepthPoint ( Microsoft.Kinect.SkeletonPoint sp ) : DepthImagePoint
sp Microsoft.Kinect.SkeletonPoint
리턴 DepthImagePoint