FileStream streamColor1 = new FileStream(@"C:\Kintelligent\image1rgb.png", FileMode.Create);BmpBitmapEncoder encoderColor1 = new BmpBitmapEncoder();TextBlock myTextBlockColor1 = new TextBlock(); myTextBlockColor1.Text = "Codec Author is: Mike" + encoderColor1.CodecInfo.Author.ToString(); encoderColor1.Frames.Add(BitmapFrame.Create(myBitmapColor1)); encoderColor1.Save(streamColor1); count = 0;MemoryStream mem = new MemoryStream(); streamColor1.CopyTo(mem);byte[] arrRGB = mem.ToArray(); //This gives a column matrix streamColor1.Close();
I have to generate 3D matrix for both RGB and depth images captured using Kinect. Everything has to be done in C#. These matrices have to be passed to Matlab through C# and Matlab integration. I dont know how to generate 3D matrix using C# Kinect image capture code. I tried creating one but ended up making a column matrix. Any help in this regard will be appreciated. -- -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net --- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
