Search found 4 matches

by BrianScherady
Mon Nov 08, 2010 12:34 am
Forum: Camera SDK
Topic: [b]Problems converting OptiTrack image to OpenCV in C#[
Replies: 3
Views: 6733

Re: [b]Problems converting OptiTrack image to OpenCV in C#[

<t>Solved ! <br/> <br/> I used:<br/> <br/> OpenCVimage = CvInvoke.cvCreateImageHeader(new System.Drawing.Size(WIN_WIDTH, WIN_HEIGHT), Emgu.CV.CvEnum.IPL_DEPTH.IPL_DEPTH_8U, 4);<br/> <br/> instead of:<br/> <br/> OpenCVimage = CvInvoke.cvCreateImageHeader(new System.Drawing.Size(WIN_WIDTH, WIN_HEIGHT)...
by BrianScherady
Sat Nov 06, 2010 3:12 pm
Forum: Camera SDK
Topic: [b]Problems converting OptiTrack image to OpenCV in C#[
Replies: 3
Views: 6733

Re: [b]Problems converting OptiTrack image to OpenCV in C#[

<t>I tried:<br/> camera.GetFrameImage(frame, bmData.Width, bmData.Height, bmData.Stride, 8, ref buffer[0])<br/> instead of<br/> camera.GetFrameImage(frame, bmData.Width, bmData.Height, bmData.Stride, 32, ref buffer[0])<br/> <br/> <br/> and I tried:<br/> System.Drawing.Imaging.PixelFormat.Format8bppI...
by BrianScherady
Fri Nov 05, 2010 6:41 am
Forum: Camera SDK
Topic: [b]Problems converting OptiTrack image to OpenCV in C#[
Replies: 3
Views: 6733

[b]Problems converting OptiTrack image to OpenCV in C#[

Problems converting OptiTrack camera image to OpenCV image �IplImage� in C# language. I have succeeded to convert it rather easily in C++ but I have difficulties to do it in C#. Following are the sections of the concerned code in C# that I am using. static System.Drawing.Imaging.PixelFormat This...
by BrianScherady
Sun Apr 11, 2010 12:57 am
Forum: OptiTrack SDK
Topic: Objects contours from camera frames
Replies: 1
Views: 3009

Objects contours from camera frames

<t>I am using OptiTrack API for SDK starting from the test project in "Single_Camera_CSharp_.NET_3.0".<br/> <br/> I would like to have access to the objects contours from camera frames. There is access to the coordinates, the width and the hight of the objects but for my application I need to fit sh...