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?
V:100 Camera image does not show full extents
-
- Posts: 22
- Joined: Tue Aug 14, 2007 7:26 am
-
- Posts: 22
- Joined: Tue Aug 14, 2007 7:26 am
Re: V:100 Camera image does not show full extents
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
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.
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.
-
- Posts: 22
- Joined: Tue Aug 14, 2007 7:26 am
Re: V:100 Camera image does not show full extents
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.
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.
-
- Posts: 22
- Joined: Tue Aug 14, 2007 7:26 am
Re: V:100 Camera image does not show full extents
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!