Kinect Pb depth ans streams color (WDF KinectSensor Interface 0)

My English is pretty poor, but I am going to try to explain my problem .
I connected my kinect recognized well later I make the kinect v2 configuration verifier all the stages are validated except the last one:
Verify kinect depth and color streams
Detects depth and color stream latency
 results : No depth frames received from kinect
 FPS : 0
And 2 black screens.
Then in ring peripherals :
WDF KinectSensor Interface 0 presents a problem at the level of the driver.
There is a problem at the level of the driver of WDF KinectSensor Interface 0. The driver must be reinstalled.
What I made but without result.
Information on the ring peripheral :
Nom:
WDF KinectSensor Interface 0
ID:
USB\VID_045E&PID_02C4&MI_00\8&39E64BF3&2&0000
Code d’erreur:
10
There is a problem at the level of the driver of WDF KinectSensor Interface 0. The reinstallation of the driver can solve this problem.
Problem at the level of ring peripherals PnP
There are problems at the level of certain ring peripherals PnP. Windows is going to take additional measures to solve these problems.
In the administrator of ring peripheral, I have kinect sensor devices and down I have wdf kinectsensor interface 0 with a triangle and an exclamation mark,its properties and in etat of the ring
peripheral I have:
This ring peripheral cannot start. (Code 10) {The operation failed}
The wanted operation was not able to be brought to a successful conclusion.
Here is I tried everything, I uninstalled, reinstalled, updated all my drivers as well as Windows, nothing of walking(step).
I specify that I have Windows 8.1 pro, I have a xeon firepro w8000, 2 e5 2620, a cardmother with usb 3.0 with the controller renesas.
I connected well the kinect with the adapter Windows, it ignites in white on the other hand the kinect has no light of lit(switched on).
Here is thank you for your help, the I do not understand too much what it takes place.

You need to have a least an Intel or Renesas USB3 chipset that is internally connected to the PCI Express Gen 2.0 bus of the motherboard. If the device cannot load the driver you will get the issue you have described. See troubleshooting guide for
some steps to resolve:
https://social.msdn.microsoft.com/Forums/en-US/20dbadae-dcee-406a-b66f-a182d76cea3b/troubleshooting-and-common-issues-guide?forum=kinectv2sdk
Carmine Sirignano - MSFT
Thank you for having answered me, I have just seen your message, on the other hand I connect directly my kinect at the mothercard, with a controller Renesas, thus I should have no this problem,
I verified my drivers, I have the last versions. If you have another idea

Similar Messages

  • I want to know the exactly when the Kinect gives depth frame and color frame in a period of one frame

    Hi, I'm currently using Kinect for Windows v2 to get a blurry sequence of color frames as well as corresponding depth frames. 
    It seems to me that the depth frame is acquired after the exposure time of the color frame. I am using the sample in the CoordinateMappingBasic to acquire the depth frame and the color frame at the same time. 
    But as i've found out by the aligned depth map with color frame, i think Kinect gives depth frame at the end of the exposure time of color frame. I've tried to obtain timestamps by calling a function iColorFrame->get_relative_time, and for the same number
    the timestamps show that depth frame is acquired prior to color frame, which opposes what i said above.. 
    Is there some way that i can know the exact time the Kinect gives depth frame and color frame in a period of one frame.
    Thank you in advance.

    Depth is generated based on IR information so when you acquire the frame, that is when it was created. Using the Multisource Frame Reader(MSFR) this does a lot under the covers to align the color and depth frame. If you want to do your own synchronizing,
    you can use a polling thread to acquire depth on one and color on the other and do your own mechanism that is similar to MSFR. You will never get Color and Depth to align exactly on a particular timestamp. Since color is its own camera, the only thing
    you can be assured of is when the color frame is acquired, the runtime will give you the closest depth frame that will align to it.
    Carmine Sirignano - MSFT

  • Correct way copying depth data or color data to opencvMat

    Hello,
    I want to collect synchronized IR data, depth data and color data from the kinect v2. Following the pattern from the sample, CoordinateMapper, I am stuck on the section below:
    if (imageFormat == ColorImageFormat_Bgra)
    hr = pColorFrame-AccessRawUnderlyingBuffer(&nColorBufferSize, reinterpret_cast<BYTE**>(&pColorBuffer));
    else if (m_pColorRGBX)
    pColorBuffer = m_pColorRGBX;
    nColorBufferSize = cColorWidth * cColorHeight * sizeof(RGBQUAD);
    hr = pColorFrame<CopyConvertedFrameDataToArray(nColorBufferSize, reinterpret_cast<BYTE*>(pColorBuffer), ColorImageFormat_Bgra);
    In particular,
    1) why is there a copy from the underlying buffer and
    2) what is m_pColorRGBX (initialization for the color image buffer perharps?)
    3) how would I copy the resulting color image to an opencv cv::Mat array in a memory safe fashion?
    Any help is greatly appreciated.

    Hi Carmine Sirignano,
    thank you for the information. 
    So, if I understand correctly, the code above says,
    if the imageFormat of the incoming frame is already in BGRA, THEN->,
    Copy the underlying buffer to the colorBuffer
    BUT if the m_pColorRGBX is initialized, THEN ->
    Initialize the color buffer, and copy into the buffer
    I understand the first condition, but I am unclear as to why we have the second condition for m_pColorRGBX. Can you explain why this is?
    Finally, I would like to copy the buffer data into a cv::Mat. Can you give any guidelines on how to do this in a safe fashion?

  • Source Image brightness change in Color Finesse Full Interface

      Hello All,
    I noticed that my source image has a brightness/contrast change when I view it in the Full Interface of Color Finesse compared to the way the image looks in the composition window of AE.   The Full Interface image is darker and lacking the details in the shadows that I can see in the AE compositon panel.
    Please see attached screenshots
    LUT - NONE
    LUT 601 Gamma
    AE Compostion Window
    The Footage is from "Color Correction Handbook" by Alexis van Hurkman
    How can I color correct with a difference like this???,  Which is the true picture Color Finesse full Interface or the AE Comp window????
    Also, when in the Full Interface mode of Color Finesse, when I choose from the view menu PRIMARY PREVIEW LUT - NONE the image is way, way darker than if ITU.R 601/709 or SMPTE GAMMA  is chosen.
    I'm trying to learn color correction but this is adding confusion to the mix.
    Is it my monitor settings, my color profile, a combo of the two or something else.  I read the Color Finesse Manual re: why use a REAL monitor, but at this time I don't have a Real Monitor and right now my work is primarily for the web.  Web video is seen on a computer, so I THINK my computer monitor should do- for now-, if its calibrated correctly and I choose the correct color space etc....
    By the way, setting the monitor/color space and all that related jazz is very confusing.  Adobe needs to make it easier to set it correctly, or at least write it out in PLAIN- step by step english.
    Thanks in advance
    I use a AE CS4, With Color Finesse 2.1.12 on a Mac OS 10.6.6

    Sorry I missed this thread going by.
    I just loaded in what I think is the same footage as you (10_SmilingWoman_Over2shot.mov) in case there was some codec issue, and I get a match between AE and CF. This is on a Mac, although that shouldn't make any difference.
    Look in the Color Finesse Preferences. In the General tab there is a checkbox for "Use Traditional Gamma". In most cases you will want that to be checked. This checkbox has to do with the continuing changes in gamma handling in AE, QuickTime, MacOS X, etc. We provide it as an option so that you can get a match.
    There is a similar checkbox for the external preview monitor in the Previews tab, since gamma handling is often different between the computer monitor and the external monitor.
    Also, are you using color management in AE? Color Finesse is not color managed, so that would account for a color difference.
    Finally, you typically want CF's Primary LUT set to "None".
    Hopefully something in here will help. Again, sorry I missed catching this thread earlier.
    Bob Currier
    Synthetic Aperture

  • Kinect v2 Calibration - Depth mapping to color space

    Hi everyone.
    When I am using the MapDepthFrameToColorSpace, I wonder if the default extrinsic parameter given by the SDK is accurate enough? Because in my application I want to track an object as accurate as much, I am thinking if extra calibration is needed for
    best performance? Thank you!

    Hi
    Carmine Sirignano, I have read document on opencv & ros package for calibration on RGB-D sensor, but haven't tested the difference between "MapDepthFrameToColorSpace"
    & mapping by my own. 
    In my application, I am going to track a ping pong ball and predict its trajectory, so I believe method
    that provides higher accuracy is better for me. 
    Besides, what you mean by "dependent on the environment you are running" ?

  • Reduce bit depth or convert color profile first? (best practices question)

    For making final deliverable files from working files, is it best to convert to a new color profile before reducing bit depth? Or vise versa?
    Our working files are 16 bit with the ProPhoto color space. Our deliverable files are 8 bit AdobeRGB tiffs and sRGB jpegs. We convert using relative colorimetric with black point compensation. Does it make a difference which order these changes are made in?
    Thanks in advance for your help!

    A profile conversion recalculates RGB values, so yes, it should be done in 16 bit depth.

  • Kinect 2 Depth frame - Body data

    Hi,
    I am new to Kinect 2; I would Like to develop body Measurement using kinect 2 sdk. I came across it requires the depth frame player data to get depth of the each pixel; based on this data i can mesure the body width and height, belly size;  Any one
    know how to get player data from depth frame ? suggest me good idea.
    Regards
    Kumar
    Hemakumar

    couple things, because you are not releasing the frame that you were notified, the runtime is delaying when you get another frame since you are not respecting the contract. Add a minimum add the using statement so you are releasing the frame provided to
    you.
    using (ColorFrame colorFrame = e.FrameReference.AcquireFrame()) {}
    If you want to use polling, don't subscribe to events and just keep requesting frames when you want them.
    Carmine Sirignano - MSFT

  • I need the appearance color for the interface to be even lighter (white)

    Hi.
    I teach After Effects and Premiere Pro here in Chile, both awesome softwares, and when I use a projector the dark grey interface is not easy to read, so I always change it to white, just for the classroom. And I also use and app called mouseposé for mac to show the mouse. But with the 2014.1.1 release all I get is a washed out grey as the lightest color, not very good for a projector or for mouseposé. Is there a possibility for the next update to have the white interface appearance back? with black text? I will appreciate it a lot, and also my students will appreciate it. I makes a big difference in the classroom. The same issue is happening in Premiere Pro.
    Thanks a lot for considering this issue.

    For the header, use:
    DateChooser {
    headerColors: #cc3399, #ff6600;
    For the main part of the calendar, use:
    backgroundColor: #993399;
    FYI, I love this app:
    http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html
    matt horn
    flex docs

  • Can you change the color of the interface rows in history in PS?

    Hello all, . . .
    I recently installed CS5.5 Standard and am giving the new app a run through. (PS right now) . . . I just upgraded from CS2 so it's a fairly big jump and a great one. I love pretty much all the new features. One thing I am wanting to change are the interface row colors in the history box to a color back to white or lighter? - I am having a hard time seeing which row is highlighted. The grays are very close in value. . . . . any ideas? or can I do this? . . . just curious.
    Thanks!!!! : )
    Rick

    Thanks PEC - I was thinking that might be the case. . . . it's just the gray is nice, but not so easy to see the highlighted row/rows you are working on from each other.

  • Getting distortion/pixelation/weird colors in Lion interface

    I just got a certified refurb 27 inch iMac (running Lion) through Apple, and for the most part I love the machine.  However, in the last few days, I've noticed some weird glitches in the user interface.  Dock icons, desktop icons, finder windows, and toolbar text will randomly become distorted and pixelated, often with a bright green color dominating the distorted appearance.  I've run permissions repair, disk check, rebooted, etc.  Rebooting fixes the problem temporarily, but at some point after being on for a while the problems will return.  I'm wondering if anyone else has had this problem and knows what could be causing it.

    Is it also comes up while booting in Recovery Mode (hold down ALT at startup and choose the Recovery partition for bootup).
    If it also appears there i would guess it's and hardware error. So bring it to an authorized Apple Service provider.

  • Color Guide minor interface update

    I found a really minor but disrupting and inconsistent glitch in the Color Guide panel.
    Here is the help file excerpt and read it carefully (Illustrator Help | Color groups (harmonies))
    Show Tints/Shades Adds black to variations on the left and white to variations on the right
    Show Warm/Cool Adds red to variations on the left and blue to variations on the right
    Show Vivid/Muted Decreases the saturation toward gray in variations on the left and increases saturation toward gray in variations on the right
    Where is the issue:
    For the first two variations (Tints/Shades and Warm/Cool), the Tints and the Warm are consistent with the interface controls in the panel. Tint precedes Shades and it is on the left side of the panel while Shades is on the right part of the panel. This is also correct with the help file as it explains color variations, adding black or red to the base color.
    However, for the Vivid/Muted, the label in the panel's context menu is the other way around. Depicting the interface it should be: Muted/Vivid to fully reflect the layout of the interface controls in the panel OR it would be even better to flip the palette and show vivid colors on the left as the base color is also on the left.
    Here are the screenshots:

    Unfortunately, the old 2500s (and to a certain extent the 6416s) are maxed out due to memory and processing capabilities.  Verizon no longer even offers the 2500 and this is the last update that model will able to support.
    Your only "option" (and I use that term loosely as it is difficult to get equipment upgraded) is to update your equipment.  This means going to an HD STB to replace the 2500s which more than likely will incur additional expense (unless you are fortunate enough to live in the NY metro area where they charge the same for an SD or HD box).  The DVR would have to be updated to a 7xxx series Motorola or the new Cisco box (again depends on location as to which is being used).
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Laserjet Pro 200 color m251n web interface password reset

    In past days I changed ip range in my net and when I needed to set the new ip in my printer I discovered I forgot the web interface password.
    My printer have not touch display and for security reason I disable uso of menù from display. now I need to reset it. For my is good reset the printer as factory config. could you help me?best regards

    Hey ,  Welcome to the HP Support Forum.  I see that you're locked out of your HP LaserJet Pro 200 color Printer M251n's Embedded Web Server (EWS).  I would like to help. There is only one way to remedy this issue.  I will private message you the steps to complete a reset that will ideally clear out the password.  Note that completing this step will reset your printer's wireless configuration, ePrint address, and other customized printer settings. If you have created a custom @hpeprint.com address it will be permanently erased. For more information on custom ePrint addresses, click here.   Let me know if this works out for you. I f I have helped you resolve the issue, feel free to give me a virtual high-five by clicking the 'Thumbs Up' icon below and clicking to accept this solution. Thanks for reaching out.  Have a great day!

  • Kinect for Windows V2 Device cannot start

    I was able to use my Kinect for Windows V2 sensor yesterday with all of the applications in the SDK browser but the next day after restarting my computer I was no longer able to use the device. Looking at the device manager I get this message under the properties
    for WDF KinectSensor Interface 0 (the only device listed under Kinect sensor devices):
    This device cannot start. (Code 10)
    {Operation Failed}
    The requested operation was unsuccessful.
    I'm plugged into a USB 3.0 input. Any ideas?

    I encounter the exact same issue:
    WDF KinectSensor Interface 0
    This device cannot start. (Code 10)
    {Operation Failed}
    The requested operation was unsuccessful.
    I'm using an Intel 4ghz i7 processor plugged into an ASUS Sabertooth Mk1 Z97 Motherboard. The ASMedia on the board had some issues, so i'm using a USB 3.0 PCI/E card by Manhatten. Diagnostics indicates that everything but depth checks out. Depth fails because
    the camera reports all black.
    This is particularly frustrating since I built this computer to offer USB 3.0 support specifically so I could do work with Kinect and Unity. This was before I knew the issues Kinect has with ASMedia, so for me this has been a significant investment for a
    black screen.
    Edit: To clarify, the Kinect is plugged into the PCI/E card (Manhatten 150491) and not into the board or a case slot.
    Additonal note: The Kinect does not function properly plugged into my old PC (a USB 2.0 with an i7) or into my Surface Pro (1st gen)
    - Matt Eland

  • Kinect Configuration Verifier has stopped working

    Hello Guys,
    I'm trying to set up my Kinect v2 and I keep getting a crash with the KinectV2 Configuration Verifier. When I run the exe it instantly stops on the main screen. 
    I'm not able to click anything on that screen.
    Shortly afterwards I get the following crash KinectV2ConfigurationVerifier.exe has stopped working.
    Full log from the crash:
    Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: KinectV2ConfigurationVerifier
      Problem Signature 02: 2.0.1410.16000
      Problem Signature 03: 5441126a
      Problem Signature 04: System.Management
      Problem Signature 05: 4.0.30319.33440
      Problem Signature 06: 520042ce
      Problem Signature 07: da
      Problem Signature 08: 3f
      Problem Signature 09: System.Management.Management
      OS Version: 6.3.9600.2.0.0.256.48
      Locale ID: 2108
      Additional Information 1: 5861
      Additional Information 2: 5861822e1919d7c014bbb064c64908b2
      Additional Information 3: a10f
      Additional Information 4: a10ff7d2bb2516fdc753f9c34fc3b069
    Any help would be greatly appreciated!
    ===============
    Computer Specs:
    Operating System: Windows 8.1 Pro 64-bit (6.3, Build 9600) (9600.winblue_r5.141029-1500)
    System Manufacturer: MEDION
           System Model: X681X
                   BIOS: Default System BIOS
              Processor: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz (8 CPUs), ~1.7GHz
                 Memory: 4076MB RAM
    Available OS Memory: 4076MB RAM

    Thanks for your reply Carmine. There have been no other SDK installs or runtime updates recently. I have run a full uninstall of the SDK and the Verifier. Rebooted. Reinstalled the SDK. Rebooted. Reinstalled the verifier. Connected the Kinect then ran the
    verifier resulting the the same crash. I debugged the crash and got the following output from VS2010:
    ============
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\Microsoft Kinect Configuration Verifier\KinectV2ConfigurationVerifier.exe'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\Microsoft Kinect Configuration Verifier\en-US\KinectV2ConfigurationVerifier.resources.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\Microsoft Kinect Configuration Verifier\Microsoft.WindowsAzure.Storage.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'Microsoft.GeneratedCode'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll'
    'KinectV2ConfigurationVerifier.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\Microsoft Kinect Configuration Verifier\EnumUSB.dll'
    An unhandled exception of type 'System.Management.ManagementException' occurred in mscorlib.dll
    Additional information: Invalid parameter 
    The program '[5616] KinectV2ConfigurationVerifier.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
    ===========
    Also I have just check the driver for the Kinect and the "WDF KinectSensor Interface 0" driver has a yellow exclamation beside it. My Kinect does not seemed to be turned on. It's connected to a 3.0 usb slot but the usb slot doesn't have a super
    speed symbol on it like the Kinect adapter does, could this cause problems?

  • CoordinateMapper is not working properly when converting Depth into Camera then into Color Space

    Hello everyone,
    I am trying to map depth point to color space in the defined portion of the depth frame data in my Kinect v2. I am using CoordinateMapper for conversion between various spaces.
    Below is the snippet of the code-
    private void KinectMultiSourceFrameArrived(object sender, MultiSourceFrameArrivedEventArgs e)
    var reference = e.FrameReference.AcquireFrame();
    ColorFrame ColorFrame = reference.ColorFrameReference.AcquireFrame();
    DepthFrame DepthFrame = reference.DepthFrameReference.AcquireFrame();
    if (ColorFrame != null && DepthFrame != null)//Do not proceed, if any frame is expired
    ColorFrame.CopyConvertedFrameDataToArray(ColorFramePixels, ColorImageFormat.Bgra);
    Image<Bgra, byte> ColorFrameImage = GetBgraImageFromBytes(colorFrameWidth, colorFrameHeight, colorFramePixels);
    DepthFrame.CopyFrameDataToArray(DepthFrameData);
    CoordinateMapper.MapColorFrameToDepthSpace(DepthFrameData, DepthSpacePoints);
    for (int index = 0; index < DepthFrameData.Length; index++)
    ushort depth = DepthFrameData[index];// Get the depth for current pixel
    if (depth > depthMinReliableDistance && depth < depthMaxReliableDistance)//Ignore outside points
    CameraSpacePoint point = CoordinateMapper.MapDepthPointToCameraSpace(DepthSpacePoints[i], depth);
    //Some processing on CameraSpacePoint are cropped while putting the code here
    ColorSpacePoint colorSpacePoint = CoordinateMapper.MapCameraPointToColorSpace(point);
    DrawMarkInImage(ColorFrameImage, colorSpacePoint);
    ColorImgBox.Image = ColorFrameImage;// See the image
    if (ColorFrame != null) ColorFrame.Dispose();
    if (DepthFrame != null) DepthFrame.Dispose();
    //Convert the bytes into image using EmguCV
    Image<Bgra, byte> GetBgraImageFromBytes(int Width, int Height, byte[] Pixels)
    Image<Bgra, byte> Image = new Image<Bgra, byte>(Width, Height);
    Image.Bytes = Pixels;
    return Image
    //Draw circle (Just for debugging purpose)
    void DrawMarkInImage(Image<Bgra, byte> ColorFrameImage, ColorSpacePoint ColorSpacePoint)
    Point CircleCenter = new Point((int)ColorSpacePoint.X, (int)ColorSpacePoint.Y)
    ColorFrameImage.Draw(new CircleF(CircleCenter, 2), new Bgra(0, 255, 255, 255), 1);
    However, when I tried to converting the depth directly to color space, it works well. But since I am doing processing over CameraSpacePoint, I need to make above working.
    Somebody please tell me where is the error and how to resolve it.

    Hi Carmine,
    I apologize for this confusion. I am trying to process only a defined portion in the depth frame, which resides between MinReliableDistance and MaxReliableDistance. For the testing purpose, I kept my Kinect v2 in the table facing towards the floor at the
    height of 1 meter from the floor. Some objects are kept in the floor. Based on the depth information, I just want to mark their top face.
    I tried following two methods-
    Method1: First compare the depth and ignore the undesired depth points. Then find out CameraSpacePoint of this depth point. Do the processing, whatever is needed. Now convert this CameraSpacePoint into ColorSpacePoint and draw a mark on this point in the
    color image. Below is the code snippet-
    CoordinateMapper.MapColorFrameToDepthSpace(DepthFrameData, DepthSpacePoints);
    for (int DepthIndex = 0; DepthIndex < DepthFrameData.Length; ++DepthIndex)
    ushort Depth = DepthFrameData[depthIndex];// Get the depth for current pixel
    if (Depth > depthMinReliableDistance && Depth < depthMaxReliableDistance)
    CameraSpacePoint CameraSpacePoint = CoordinateMapper.MapDepthPointToCameraSpace(DepthSpacePoints[depthIndex], Depth);
    //some of the code is removed while putting it here
    ColorSpacePoint ColorSpacePoint = CoordinateMapper.MapCameraPointToColorSpace(CameraSpacePoint);
    if ((ColorSpacePoint.X >= 0) && (ColorSpacePoint.X < ColorFrameWidth) && (ColorSpacePoint.Y >= 0) && (ColorSpacePoint.Y < ColorFrameHeight))
    DrawMarkInImage(ColorFrameImage, ColorSpacePoint);
    DisplayImage(ColorFrameImage);
    MinReliableDistance is 676mm whereas MaxReliableDistance is 850mm. (Just for this setup)
    The above code doesn't work. It is unable to find out the objects standing in the floor. Please see attached image and notice the yellow marks are not in correct locations.
    Method 2: Just to check the setup, I tried this method but I can't go with this method further (Since I need the points in CameraSpace. In this method, I first check for valid depth point. Then corresponding color pixel is picked up from the ColorFramePixels
    using ColorSpacePoint. Below is the snippet-
    CoordinateMapper.MapDepthFrameToColorSpace(DepthFrameData, ColorSpacePoints);
    Array.Clear(DisplayPixels, 0, DisplayPixels.Length); //Clear pixels to black
    for (int DepthIndex = 0; DepthIndex < DepthFrameData.Length; ++DepthIndex)
    ushort Depth = DepthFrameData[depthIndex];// Get the depth for current pixel
    if (Depth > depthMinReliableDistance && Depth < depthMaxReliableDistance)
    ColorSpacePoint Point = ColorSpacePoints[depthIndex];
    int ColorX = (int)Math.Floor(Point.X + 0.5);
    int ColorY = (int)Math.Floor(Point.Y + 0.5);
    if ((ColorX >= 0) && (ColorX < ColorFrameWidth) && (ColorY >= 0) && (ColorY < ColorFrameHeight))
    int ColorImageIndex = ((colorFrameWidth * ColorY) + ColorX) * BytesPerPixel;
    int DepthPixel = DepthIndex * BytesPerPixel;
    DisplayPixels[DepthPixel] = ColorFramePixels[ColorImageIndex];
    DisplayPixels[DepthPixel + 1] = ColorFramePixels[ColorImageIndex + 1];
    DisplayPixels[DepthPixel + 2] = ColorFramePixels[ColorImageIndex + 2];
    DisplayPixels[DepthPixel + 3] = 255;
    Image<Bgra, byte> DepthFrameImage = GetBgraImageFromBytes(DepthFrameWidth, DepthFrameHeight, DisplayPixels);
    DisplayImage(DepthFrameImage);
    Please see the attached output image. You can notice the internal pixels are picked from color fame and outside pixels are black as expected.
    Output image of method 1. Notice the yellow marks are not in proper place. They should lie on the top face of objects
    Output image of method 2. Notice the unwanted area and top face of the standing object are black (as expected)-
    Hope is clears your doubt.

Maybe you are looking for

  • Is iTunes 11 compatible with 1st generation Apple TV?

    I just did the update for iTunes. This new version (11) doesn't seem to be compatible with my 1st gen Apple TV. It only shows a sync for photos but not music. Even the photo sync doesn't seem to work.

  • External hard drive seen in Disk Utility, but will not mount.

    My external hard drive has power and is spinning, but will not mount.  It was fine yesterday.  It shows up in Disk Utility and is verified and repaired.  Tried the drive on 2 other macs with same result.  Tried a new enclosure and that did not work. 

  • Windows 8 and Screen Sharing Lag

    Is there a problem with Adobe Connect 9 and Windows 8 screen sharing?  I've notice there is a about a lag of 2secs or more when I share my screen in Windows 8.  i.e. If I open a Window or do anything, the participants don't see the change until 2 to

  • Generate File Excel .xls

    Hi there, Is possible generate excel file (.xls) with Data Services 3.2 (Windows Server) ? tks Rodrigo

  • Update header document with selected currency value in JSP

    Hi all, I have custom dropdown box for currency in checkout JSP page.  If I change currency selection in dropdown, how can I capture this value and update currency in header. Venkat