예를 들면 이런거...

모두의 힘이 필요해!ㅋ
YUV는 콤포넌트 비디오 시스템에서 아날로그 휘도신호와 색차신호를 말할 때,정말 무슨말이지 참 어렵다.
사용하는 약어로서 Y는 휘도신호를 의미하고
U, V는 PAL방식에서 사용되는 2개의 부반송파(subcarrier) 중심축을 뜻하는데,
B-Y, R-Y의 색차신호가 scaling 그리고 filtering되어
U, V축에서의 PAL 부반송파를 변조하는데 사용됩니다.
이런 혼용은 U, V가 컬러 색차신호와 연관되어 있기 때문에 발생하며,
이 두 개가 같은 것은 아닙니다. [ 출처 : 디스플레이 포탈 - 모니터포유(주) ]
YUV는 밝기(Luminance)인 Y성분과 색상(Chrominance)인 U(Cb)와 V(Cr) 성분으로 구성하여 픽셀을 표현하는 방식으로, 일반적인 RGB 방식에 비하여 작은 대역폭으로 전송이 가능하다. - Ryan 님 블로그-
Runtime nui = Runtime.Kinects[0];
//An RGB color image from the camera.
nui.VideoStream.Open(ImageStreamType.Video, 2, ImageResolution.Resolution640x480, ImageType.Color);
//A YUV image from the color camera, converted to RGB32.
nui.VideoStream.Open(ImageStreamType.Video, 2, ImageResolution.Resolution640x480, ImageType.ColorYuv);
//A YUV image (YUYV) from the color stream before conversion to RGB32.
nui.VideoStream.Open(ImageStreamType.Video, 2, ImageResolution.Resolution640x480, ImageType.ColorYuvRaw);
Runtime nui = Runtime.Kinects[0];
//A depth sensor image.
nui.VideoStream.Open(ImageStreamType.Video, 2, ImageResolution.Resolution640x480, ImageType.Depth);
//An image from the depth camera, combined with an image generated by the skeleton tracking system that labels pixels in the depth map as belonging to specific players.
nui.VideoStream.Open(ImageStreamType.Video, 2, ImageResolution.Resolution640x480, DepthAndPlayerIndex.);

void nui_DepthFrameReady(object sender, ImageFrameReadyEventArgs e){//Use Coding4Fun extension method on ImageFrame class for Depthimage2.Source = e.ImageFrame.ToBitmapSource();}void nui_VideoFrameReady(object sender, ImageFrameReadyEventArgs e){//Manually create BitmapSource for VideoPlanarImage imageData = e.ImageFrame.Image;image1.Source = BitmapSource.Create(imageData.Width, imageData.Height, 96, 96, PixelFormats.Bgr32, null, imageData.Bits, imageData.Width * imageData.BytesPerPixel);}

gkh.HookedKeys.Add(Keys.Left);gkh.HookedKeys.Add(Keys.Right);gkh.HookedKeys.Add(Keys.Up);gkh.HookedKeys.Add(Keys.Down);


최근 덧글