Stereoscopic vision camera software for your CX camera systems
As an alternative to the standard X,Y camera setup for CX camera systems, the new stereoscopic image processing software will allow you to mount both ball tracking cameras on the ceiling instead of one on the ceiling and the other on the floor.
This software development is being done as some customers would prefer not to have any cameras mounted on the floor.
The disadvantage with the stereoscopic method, however, is that the user can no longer see the exact ball launch angle and path in the captured images as the traces in the images will appear skewed.
Comparing the stereoscopic camera setup to the GSA Golf standard X,Y,Z setup
The above two images show the camera images captured using the standard X,Y,Z camera setup.
The left image is from the floor side mounted Vcam and clearly shows the vertical launch angle of the shot. The length of the ball trace is directly proportional to the speed of the ball (Z axis).
The right image is from the overhead mounted Hcam and clearly shows the ball's direction left or right.
In contrast, the left and right stereoscopic camera images do not show vertical launch or ball direction in any direct user readable form.
Instead, the image processing software has to calculate these values using rather complex mathematical algorithms.
Note: As GSA Golf's product tradition has always been to allow the user to self verify the data being captured by the system,
this method goes against this philosophy and - unless it's absolutely essential that all cameras be overhead mounted - we are not recommending stereoscopic setups.
However, as there has been some interest in using this setup we have introduced it.
Stereoscopic Setup procedure
The setup procedure for stereoscopic vision cameras is somewhat more involved than the traditional XY setup and may also require some calibration.
Mount the V and H cams around 4 to 5 feet apart either side of the center line.. The Vcam is on the right hand side and the Hcam on the left.
Ensure that the camera orientation is such that the screen is on the left of the image (select X reverse if not) and that the camera is aimed at the center line of the enclosure
The IR lamp and SX line scan camera remain as before in the center.
In the CP's Setup window select "Stereoscopic".
Important: Ensure you are using CP version V 22.214.171.124 or higher and that you first "right" mouse click on the "Defaults" button
Aligning the cameras
Place a golf ball directly under the IR lamp on the center line. Note: you can also use a white poll that extends from the ball launch position to the center line.
This will represent a ball trace nicely and may be easier to align the cameras so that the image is square to the screen.
Using the "Video stream mode" aim camera so the ball appears in the center of the image.
Select the "Ball launch position X,Y" button and using the up/down, left/right keyboard arrow keys move the green cross hairs to the ball launch position. Ensure that this position is exactly in line with the center line.
Do the same procedure for the left camera (camera 2).
The systems is now ready to run but may require some calibration.
Calibrating the stereoscopic cameras
Stereoscopic image processing explained
Up until now our camera ball tracking cameras are mounted in an X,Y configuration.
That is, one camera is floor mounted facing the ball trajectory from the side to see the launch angle (Y) and the other over head mounted facing down to see the ball path (X).
An alternative method of measuring these two angles is to mount both cameras in the upper left and right corners of the enclosure and use what is known as stereoscopic image processing.
You may have noticed that a number of high-end golf simulators use this configuration and method and we will be offering this too soon.
The following is an explanation of stereoscopic image processing relative to a golf simulator.
The white lines in these images represent ball traces and angles are measured from a known launch position and center line.
The images and angles appear to be exactly vertically flipped in this case.
It is only when comparing the right camera image to the left camera image do we see what these true angles are.
The first image above is of a ball rolling left on the ground at 20 degrees left. In the right camera this image appears vertically flipped.
If the angles are exactly reversed then we know the ball had no vertical launch angle and just rolled.
Here, the ball is launched with a 20 degree launch angle with zero degree path. i.e. dead straight. The right camera sees an exact horizontally flipped image of the ball trace.
If the angles are reversed exactly 180 degrees then we know that there was no path component and only vertical launch angle.
Here we have a mixture of ball path and launch angle. The direction component (left in this case) draws the ball trace further towards the center line in the view.
If we measure the angles we can determine the ratio of ball path and launch angle in the shot. So in this case 25% of the angle is the ball path component and 75% the ball's launch angle.
The angles are scaled to real world path and launch angles depending on the camera's mounting angle.