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.
Stereoscopic Setup procedure using V and H cams
If using V and H cams instead of the CX Surround casing, then the cameras have to be mounted on a board in a fixed position
Mount the V and H cams exactly 3 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.
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).
Enter the base or floor to camera height
Stereoscopic camera calibration
Stereoscopic vision camera software for your GSA Golf CX camera systems will be available soon
Release date for this free software update is scheduled for the end of May 2018
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.
Note that there will be a standard default calibration for stereoscopic camera setups that won't require any user adjustment for basic play
Two 3d co-ordinates of the ball trace are captured with stereoscopic camera setups
Formulas are used to determine speed, direction and launch angle of the ball
Note that there will be a standard default calibration for fixed camera spacing and mounting heights so that no additional calibration will be required by the user.
The calibration method consists of placing a large checkered image printout mounted on a board directly under the cameras at various heights.
Each square on the board represents a golf ball position at various positions in 3D space.
Note that if we didn't use a checkered board, we'd have to place hundreds of golf balls under the cameras at precise positions - a near impossible task.
The board is first placed at ground level and the cameras are triggered to capture the image in both cameras.
Each square's image XY pixel position in both left and right cameras is recorded together with the square's disparity value from the two cameras
The disparity value is used to determine the height or distance the square is away from the cameras and
the XY image pixel positions are converted to real world the X,Y positions using a conversion factor derived from the square sizes and square number.
The result is a real 3D XYZ position of each square.
The procedure is repeated 120 times while raising the board 2.5 cm upwards with each step for each area segment.
Total height is then 300 cm ( 10ft)
The result of the calibraion is a 3D matrix or array that converts any ball position seen by the camera into real world X,Y,Z co-ordinates.
Precision without any weighting is 2.5 cm or 1 inch. i.e. the ball's 3D location is within inch accuracy.
Precision can be increased by weighting the ball's position within it's surrounding 8 3D co-ordinates
Note that there will be a standard default calibration for fixed camera spacing and mounting heights so that no additional calibration will be required.
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.