Hi
I tried to run the GreyscaleSample. But if I start test.exe a window appears. Then nothing happens.
I tried to compile the source again but there are some files in the project included that are not in the zip file (convert.c e.g.).
I removed all files from the project and added all the files i got from the zip file. Then I get
error C2065: 'NP_OPTION_VIDEO_TYPE' : undeclared identifier
I guess there are some files missing.
Could someone help me?
Problems running GreyscaleSample
Re: Problems running GreyscaleSample
What type of camera are you using?
Which vewrsion of the Optitrack SDK do you have installed?
Are you using a USB hub, or are you connected directly to the system?
Is this a desktop, or laptop system?
What OS do you have installed?
You might also want to look at the grayscale FAQ entry.
Which vewrsion of the Optitrack SDK do you have installed?
Are you using a USB hub, or are you connected directly to the system?
Is this a desktop, or laptop system?
What OS do you have installed?
You might also want to look at the grayscale FAQ entry.
-
- Posts: 4
- Joined: Tue Jul 31, 2007 8:02 am
Re: Problems running GreyscaleSample
Hi
I'm not sure about the type of camera I am using. It seems to be an older version of the SLIM:V100. But it only has a resolution of 355x290. A sample programm shows the Model as 0x100800ab.
The version of the driver I installed is 11/09/2005,3.2.28.0
I am using Win 2k on a desktop system
The cam is directly conected to the system. I can run the programm OptiTrack Sample and it works.
But my problem is, that i only want to use the camera as a "normal" greyscale cam and I don't know how to access the raw pixel data. Thats why I wanted to have a look at the Greyscale excample. But as I mentioned there are some files missing.
I'm not sure about the type of camera I am using. It seems to be an older version of the SLIM:V100. But it only has a resolution of 355x290. A sample programm shows the Model as 0x100800ab.
The version of the driver I installed is 11/09/2005,3.2.28.0
I am using Win 2k on a desktop system
The cam is directly conected to the system. I can run the programm OptiTrack Sample and it works.
But my problem is, that i only want to use the camera as a "normal" greyscale cam and I don't know how to access the raw pixel data. Thats why I wanted to have a look at the Greyscale excample. But as I mentioned there are some files missing.
-
- Posts: 4
- Joined: Tue Jul 31, 2007 8:02 am
Re: Problems running GreyscaleSample
Ok it is running now.
There is a Bandpass-filter in the Camera. If I put a IR-LED in front of the camera it is tracked and labeled with 0. It looks like the camera is tracking this as an Object. But I want the raw greyscale data. It tried to set the options like
//== Set Grayscale Mode========================----
camera->SetOption(NP_OPTION_VIDEO_TYPE , (CComVariant) 1 );
But nothing changes in the picture. I tried to change a lot of options but nothing happens. If I comment the line
camera->SetOption(NP_OPTION_TEXT_OVERLAY_OPTION,(CComVariant) 255);
then there are no labes in the picture but the camera keeps on tracking my LED.
Please let me know if you need the whole code.
There is a Bandpass-filter in the Camera. If I put a IR-LED in front of the camera it is tracked and labeled with 0. It looks like the camera is tracking this as an Object. But I want the raw greyscale data. It tried to set the options like
//== Set Grayscale Mode========================----
camera->SetOption(NP_OPTION_VIDEO_TYPE , (CComVariant) 1 );
But nothing changes in the picture. I tried to change a lot of options but nothing happens. If I comment the line
camera->SetOption(NP_OPTION_TEXT_OVERLAY_OPTION,(CComVariant) 255);
then there are no labes in the picture but the camera keeps on tracking my LED.
Please let me know if you need the whole code.
Re: Problems running GreyscaleSample
Can you post the serial number of the camera? It sounds like you might have a FLEX-3 camera, which is a discontinued model that does not support grayscale.
The FLEX-3s look like this :
[image]http://www.naturalpoint.com/optitrack/i ... _flex3.gif[/image]
The FLEX-3s look like this :
[image]http://www.naturalpoint.com/optitrack/i ... _flex3.gif[/image]
-
- Posts: 4
- Joined: Tue Jul 31, 2007 8:02 am
Re: Problems running GreyscaleSample
HI
I can't see details in your posted picture but it looks like my camera
The serial is 37572. Are there any documents regarding this cameras (options e.g.)?
I can't see details in your posted picture but it looks like my camera

Re: Problems running GreyscaleSample
Yes, camera serial 37572 is an OptiTrack Flex 3.
You can check the most recent version of the OptiTrack SDK manual for feature compatibility.
http://www.naturalpoint.com/optitrack/s ... ml#manuals
If a given SetOption feature is not supported by the camera the SDK will typically return the NP_E_DEVICE_NOT_SUPPORTED error code.
Here are the specs :
And here are the features :
You can check the most recent version of the OptiTrack SDK manual for feature compatibility.
http://www.naturalpoint.com/optitrack/s ... ml#manuals
If a given SetOption feature is not supported by the camera the SDK will typically return the NP_E_DEVICE_NOT_SUPPORTED error code.
Here are the specs :
- Frame Rate : 120hz
- Resolution : 355 x 288
- Interface : USB 1.1Full Speed, mini USB � B
- Mounting : Standard tripod �-20 thread
- Latency : 9ms
- Power : 5V @350ma, including IR LED Ring
- LED Ring : IR @ 850nm, 8 LEDs 45degree FOV, removable
- Status LEDs : red LEDs with PC control
- Lenses : 33degrees, included, 57 degrees Horzontal (optional)
- Lens mount : M12 Lens Holder (optional)
- Optical Filter : IR 800nm bandpass, removable
And here are the features :
- preprocessed video : yes
- grayscale video : no
- preprocessed objects video : no
- led intensity control : no
- led strobed mode : no
- threshold control : yes
- exposure control : no
- frame rate control : no