Page 1 of 1

V:100 Camera image does not show full extents

Posted: Fri Aug 17, 2007 11:40 am
by mikeincinci
The grayscaleSample\release\test.exe does not fill window vertically. It is only about 1/3 of the window height.

Also in vb6, "objCamera.DrawFrame oNewFrame, Panel1.hWnd" does not show full width, but single-dot tracking seems to operate properly.

If I scaled the image down (NP_OPTION_DRAW_SCALE), the image looks the same, but doesn't fill the picture box.

I haven't changed any other settings. How do I get the full view of the camera? Or am I missing some obvious basic idea?

Re: V:100 Camera image does not show full extents

Posted: Fri Aug 17, 2007 12:01 pm
by mikeincinci
Additionally, can someone explain the SDK SetOption functions starting NP_OPTION_WINDOW_EXTENTS_X, _X_END, etc.? thanks

Re: V:100 Camera image does not show full extents

Posted: Sat Aug 18, 2007 12:58 am
by Birch
What is the camera model (or serial number of the camera) that you are using? The resolution available will vary based on the camera model.

The WINDOW_EXTENTS options can be used with the C120 and V100 OptiTrack cameras to reduce the size of the active imaging area. For example, a V100 could be windowed to only use the upper left 160x120 area of its 640x480 resolution.

Re: V:100 Camera image does not show full extents

Posted: Mon Aug 20, 2007 5:25 am
by mikeincinci
Camera is V:100 (SN 056343). Using VB6 code OptiTrackVB6 from Vincent. When first powered up, _X and _X_END read 1 & 640. _Y and _Y_END read 1 & 480. Docs say defaults should be 74 & 427, and 11 & 299 ??

Resolution reported by oCamera.Width and oCamera.height report 640 x 480.

Seems like right-hand side of image is not displayed, but single-dot is still tracked. Left-hand side tracking stops as soon as dot moves left out of image frame.

Re: V:100 Camera image does not show full extents

Posted: Wed Aug 22, 2007 8:28 am
by mikeincinci
Resolved. I didn't realize that even with a large picture container and with NP_OPTION_DRAW_SCALE =1 that my picture was clipped. Reducing it to 0.5 shows all. Dumb Newbie!