none
Fast way to write ColorImagePoint[] to a file? RRS feed

  • Question

  •  Hi all, 

    When I want to save a colorFrame to a binary file, I can do (not the whole code, but you get the idea):

    static BinaryWriter colorWriter;
    colorFrame.CopyPixelDataTo(colorPixels); 
    colorWriter.Write(colorPixels);

    which is very fast.

    Any ideas on how I could do something similar with a ColorImagePoint[] ??

    (I basically would like to save the depthFrame, colorFrame and the color mapped points obtained by MapDepthFrameToColorFrame fast, so I can retrieve the color of each depth pixel later)

    Thank you very much :)



                      
                       

                        
    Tuesday, September 4, 2012 11:58 PM