WO2018221746A1 - Flight parameter measuring apparatus and flight parameter measuring method - Google Patents

Flight parameter measuring apparatus and flight parameter measuring method Download PDF

Info

Publication number
WO2018221746A1
WO2018221746A1 PCT/JP2018/021293 JP2018021293W WO2018221746A1 WO 2018221746 A1 WO2018221746 A1 WO 2018221746A1 JP 2018021293 W JP2018021293 W JP 2018021293W WO 2018221746 A1 WO2018221746 A1 WO 2018221746A1
Authority
WO
WIPO (PCT)
Prior art keywords
ball image
image
ball
registered
coordinate system
Prior art date
Application number
PCT/JP2018/021293
Other languages
French (fr)
Inventor
Hideaki Kawamoto
Viet Manh Do
Hong Quan Luong
Original Assignee
Gpro Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gpro Co., Ltd. filed Critical Gpro Co., Ltd.
Priority to AU2018256648A priority Critical patent/AU2018256648B1/en
Priority to CN201880002063.7A priority patent/CN109392306B/en
Priority to SG11201910034R priority patent/SG11201910034RA/en
Priority to EP18785799.0A priority patent/EP3446065B1/en
Priority to KR1020187034433A priority patent/KR102002745B1/en
Priority to CA3022839A priority patent/CA3022839C/en
Publication of WO2018221746A1 publication Critical patent/WO2018221746A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/36Devices characterised by the use of optical means, e.g. using infrared, visible, or ultraviolet light
    • G01P3/38Devices characterised by the use of optical means, e.g. using infrared, visible, or ultraviolet light using photographic means
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B69/00Training appliances or apparatus for special sports
    • A63B69/36Training appliances or apparatus for special sports for golf
    • A63B69/3658Means associated with the ball for indicating or measuring, e.g. speed, direction
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/002Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B5/00Measuring arrangements characterised by the use of mechanical techniques
    • G01B5/0023Measuring of sport goods, e.g. bowling accessories, golfclubs, game balls
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/64Devices characterised by the determination of the time taken to traverse a fixed distance
    • G01P3/68Devices characterised by the determination of the time taken to traverse a fixed distance using optical means, i.e. using infrared, visible, or ultraviolet light
    • G01P3/685Devices characterised by the determination of the time taken to traverse a fixed distance using optical means, i.e. using infrared, visible, or ultraviolet light for projectile velocity measurements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/04Systems determining the presence of a target
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/4808Evaluating distance, position or velocity data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • G06T7/248Analysis of motion using feature-based methods, e.g. the tracking of corners or segments involving reference images or patches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • G06T7/251Analysis of motion using feature-based methods, e.g. the tracking of corners or segments involving models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • G06T7/74Determining position or orientation of objects or cameras using feature-based methods involving reference images or patches
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0003Analysing the course of a movement or motion sequences during an exercise or trainings sequence, e.g. swing for golf or tennis
    • A63B24/0006Computerised comparison for qualitative assessment of motion sequences or the course of a movement
    • A63B2024/0012Comparing movements or motion sequences with a registered reference
    • A63B2024/0015Comparing movements or motion sequences with computerised simulations of movements or motion sequences, e.g. for generating an ideal template as reference to be achieved by the user
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0021Tracking a path or terminating locations
    • A63B2024/0028Tracking the path of an object, e.g. a ball inside a soccer pitch
    • A63B2024/0034Tracking the path of an object, e.g. a ball inside a soccer pitch during flight
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/05Image processing for measuring physical parameters
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/30Speed
    • A63B2220/31Relative speed
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/80Special sensors, transducers or devices therefor
    • A63B2220/807Photo cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30221Sports video; Sports image
    • G06T2207/30224Ball; Puck

Definitions

  • the present invention relates to a flight parameter measuring apparatus and a flight parameter measuring method.
  • Patent Literature 1 discloses a method of measuring launch parameters of an object in flight. The method comprises capturing a plurality of images of an object in flight, identifying a radius of the object and a center of the object in each of the plurality of images, and calculating a velocity, an elevation angle, and an azimuth angle based on the radius of the object, the center of the object, and pre-measured camera alignment values.
  • the method comprises cropping the plurality of images to a smallest square that bounds the object, flattening the plurality of images from spherical representations to Cartesian representations, converting the Cartesian representations to polar coordinates with a range of candidate centers of rotation, and based on a fit of the polar image pair, measuring the spin axis and spin rate.
  • Patent Literature 2 discloses a method for determining parameters of an object in motion. The method comprises the steps of calibrating a camera lens to establish (x, y, z) directions for every (x, y) pixel in an image plane of the camera, determining alignment correction factors, capturing a plurality of images of the object in motion, finding the object in each of the plurality of images, calculating three dimensional coordinates for each of the plurality of images, and calculating a velocity vector for the object from the three dimensional coordinates.
  • the method comprises the steps of rotating a reference image of the plurality of images by a first set of rotations of a plurality of rotation sets, scaling the rotated reference image to a target image, correlating the reference image to the target image to obtain an incremental score of a plurality of scores, repeating the steps of rotating, scaling and correlating in a stepwise refinement manner to obtain a best score of the plurality of scores and utilizing a best rotation set of the plurality of rotation sets to determine the parameters of the object in motion.
  • the flight parameters When a flight parameters of a ball are calculated based on a ball image photographed with a camera, various image processing methods exist, and an effective method is exploring.
  • the flight parameters usually include a motion parameter to mean a ball speed, a launch angle and a side angle of an object in motion, and a rotation parameter to mean a spin axis and a total spin of the object, but it is very hard to calculate the rotation parameter accurately.
  • the present invention was created as a solution for the problems and aims at providing a flight parameter measuring apparatus and a flight parameter measuring method that can measure accurately the flight parameters of the ball by a simple image processing method.
  • a flight parameter measuring apparatus in the present invention comprises an image capturing part, an image corresponding part, a 3D model constructing part, a virtual rotating part, a registered image generating part, a difference calculating part, and a rotation parameter determining part.
  • the image capturing part captures a ball in flight with a camera continuously, and getting a first ball image indicating the ball in a first capturing image captured first and a second ball image indicating the ball in a second capturing image captured second.
  • the image corresponding part generates a first registered ball image obtained by making a size of the first ball image correspond to a size of the second ball image in a camera coordinate system.
  • the 3D model constructing part constructs a 3D model of the first registered ball image obtained by converting a camera coordinate system of the generated first registered ball image into a world coordinate system of the generated first registered ball image.
  • the virtual rotating part rotates virtually the constructed 3D model of the first registered ball image by using an initial rotation parameter estimated in advance and rotation matrix information.
  • the registered image generating part generates a second registered ball image in the camera coordinate system obtained by converting a world coordinate system of a visible surface , captured from the camera in the 3D model of the first registered ball image after the rotation , into a camera coordinate system of the visible surface.
  • the difference calculating part extracts a second compared ball image , corresponding to the second registered ball image , in the second ball image, and calculates a difference between the second registered ball image and the second compared ball image.
  • the rotation parameter determining part repeats the virtual rotation of the 3D model, the generation of the second registered ball image, and the calculation of the difference by changing the initial rotation parameter, and determines a rotation parameter to minimize the difference as a real rotation parameter of the ball.
  • a flight parameter measuring method in the present invention comprises an image capturing step, an image corresponding step, a 3D model constructing step, a virtual rotating step, a registered image generating step, a difference calculating step, and a rotation parameter determining step like each part of the flight parameter measuring apparatus.
  • the present invention can measure accurately the flight parameters of the ball by a simple image processing method.
  • Fig. 1 is the outline diagram indicating the flight parameter measuring apparatus according to the present invention.
  • Fig. 2 is the functional block diagram indicating the flight parameter measuring apparatus according to the present invention.
  • FIG. 3 is the flowchart indicating execution steps of the flight parameter measuring apparatus according to the present invention.
  • Fig. 4A is an example of a capturing image and a binarized image.
  • Fig. 4B is an example of an extraction of an object in the binarized image and a calculation of center coordinates and a radius of a ball in the binarized image.
  • Fig. 5A is the outline diagram indicating a relation between a camera coordinate system of the capturing image and a world coordinate system of the camera.
  • Fig. 1 is the outline diagram indicating the flight parameter measuring apparatus according to the present invention.
  • Fig. 2 is the functional block diagram indicating the flight parameter measuring apparatus according to the present invention.
  • FIG. 3 is the flowchart indicating execution steps of the flight parameter measuring apparatus according to the present invention.
  • Fig. 5B is the outline diagram when a z coordinate of the world coordinate system of the ball is calculated.
  • Fig. 6A is the outline diagram indicating a relation among a ball speed, a launch angle and a side angle of the ball.
  • Fig. 6B is the outline diagram when a first ball image is corresponded to a second ball image in the camera coordinate system.
  • Fig. 7A is the outline diagram when a pixel value of a pixel of a first registered ball image.
  • Fig. 7B is the outline diagram when a 3D model is constructed by converting the camera coordinate system of the first registered ball image into the world coordinate system of the first registered ball image.
  • Fig. 8A is the outline diagram when a visible surface of the first registered ball image after a rotation is extracted by rotating the 3D model of the first registered ball image virtually.
  • Fig. 8B is the outline diagram when a difference between a second registered ball image and a second compared ball image is calculated.
  • Fig. 9A is an example of a re-constituting of the ball image by Retinex processing, binarization processing, and patch binarization processing.
  • Fig. 9B is the outline diagram indicating a difference between the second registered ball image and the second compared ball image depending on the presence of the re-constituting of the ball image.
  • Fig. 10A is an example of a photograph image indicating the state when flight parameters of a golf ball launched by a robot for golf are measured.
  • Fig. 10B is a graph of a measurement result of ball speeds of the golf ball by using a commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention.
  • Fig. 11A is a graph of a measurement result of launch angles of the golf ball by using the commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention.
  • Fig. 11B is a graph of a measurement result of side angles of the golf ball by using the commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention.
  • Fig. 12A is a graph of a measurement result of spin axes of the golf ball by using the commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention.
  • Fig. 12B is a graph of a measurement result of total spins of the golf ball by using the commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention.
  • a flight parameter measuring apparatus 1 in the present invention includes a camera 10 and a flight parameter calculating part 11.
  • the camera 10 is a high-speed camera enabling to capture image continuously at high speed in a short time. If the camera 10 in the present invention can acquire capturing image appropriately, the number of the camera 10 is not particularly limited, one or more (e.g., two) cameras may be used.
  • the flight parameter measuring apparatus 1 starts a capturing of the camera 10 at the moment when a ball in flight enters in the view of the camera 10 and captures the ball B moving (flying or launching) in the view continuously at high speed for a predetermined time.
  • the flight parameter calculating part 11 is communicably connected with the camera 10, when receiving plural (e.g., two) capturing images including the ball B captured by the camera 10, calculates a flight parameter of the ball B in motion based on the plural capturing images.
  • the flight parameter comprises of a motion parameter and a rotation parameter.
  • the motion parameter means a speed (BALL SPEED) of ball B, a launch angle (LAUNCH ANGLE) and a side angle (SIDE ANGLE).
  • the rotation parameter means a spin axis (SPIN AXIS) and a total spin (TOTAL SPIN).
  • a backspin means a spin in the opposite direction to the flying direction of the ball B
  • a sidespin means a spin in the lateral direction to the spin axis. It is possible to calculate the backspin and the sidespin from the speed of ball B, the launch angle, the side angle, the spin axis and the total spin.
  • the flight parameter measuring apparatus 1 further includes a ball detecting part 12.
  • the constitution of the ball detecting part 12 is not particularly limited.
  • the ball detecting part 12 comprises an infrared ray irradiating part to irradiate with an infrared ray in the view (e.g., in vicinity of end part of the view) of the camera 10, an infrared ray receiving part to receive the irradiated infrared ray as a reflected light and a reflected light detecting part to detect entering of the ball B in motion in the view of camera 10 based on a change of the received reflected light.
  • the ball detecting part 12 uses the phenomenon and detects entering of the ball B into the view of the camera 10.
  • the infrared ray irradiating part and the infrared ray receiving part are one set. By comprising plural sets serially for the horizontal direction in the view of the camera 10, it is possible to detect accurately where the ball B enters in the view of the camera 10.
  • a laser beam or a laser curtain may be used replacing with the infrared ray.
  • the ball detecting part 12 When detecting the ball B in motion in the view of the camera 10, the ball detecting part 12 sends a detection signal to the flight parameter calculating part 11, the flight parameter calculating part 11 inputs a capture signal into the camera 10 and captures the ball B in motion in the view of the camera 10 continuously.
  • the camera 10, the flight parameter calculating part 11 and the ball detecting part 12 build CPU, ROM, RAM and the like no shown, and for example, CPU uses RAM as a working area and executes program stored in ROM and the like. About the below respective parts, CPU executes the program for materializing the respective parts.
  • FIG. 3 the constitution and the execution steps in the embodiment of the present invention are explained.
  • the flight parameter measuring apparatus 1 starts and the ball detecting part 12 starts a detection of a motion of a ball B (FIG. 3, S101).
  • the player places a ball B (e.g., a golf ball) beside the flight parameter measuring apparatus 1, when the player launches the ball B with a golf club E, the ball detecting part 12 detects a flight (launch) of the ball B (FIG. 3, S101YES). Then, an image capturing part 201 of the flight parameter measuring apparatus 1 captures a ball B in flight with a camera 10 continuously (FIG. 3, S102). Here, the image capturing part 201 captures the flying ball B with camera 10 continuously at high speed for a predetermined time and gets two capturing images. The image capturing part 201 gets a first ball image indicating the ball B in a first capturing image captured first and a second ball image indicating the ball B in a second capturing image captured second (e.g., next).
  • a ball B e.g., a golf ball
  • a motion parameter calculating part 202 of the flight parameter measuring apparatus 1 calculates a motion parameter of the ball B based on the first ball image and the second ball image.
  • the method that the motion parameter calculating part 202 calculates is not particularly limited.
  • the motion parameter calculating part 202 calculates center coordinates (center coordinate values) and a radius of the first ball image and the second ball image (the ball image for each of the first capturing image and the second capturing image) (FIG. 3, S103).
  • the motion parameter calculating part 202 binarizes (performs binarization processing) the first capturing image 401 and generates a binarized image 402 to specify an outer edge (outline) of an object in the first capturing image 401.
  • the object specified by the binarized image 402 mainly has a sufficient density difference than the peripheral area.
  • the motion parameter calculating part 202 converts the first capturing image 401 into a gray scale image expressing a pixel value (density value) of a pixel with 256 values, converts the pixel , whose pixel value being a predetermined threshold or more than the threshold , into "1" (white), converts the pixel , whose pixel value being less than the threshold , into "0" (black) and generates the binarized image 402 by the conversion.
  • the threshold is predetermined to make an outer edge of the ball B (the ball image) in capturing image clear.
  • the motion parameter calculating part 202 calculates a long side l of the object 402a for respective plural objects 402a specified in the outer edge in the binarized image 402, calculates an area S1 of the circle 402b , whose the calculated long side l being a diameter , and an area S2 in the outer edge of the object 402a and calculates an area ratio S1/S2 obtained by dividing the area S1 of the circle 402b by the area S2 in the outer edge of the object 402a.
  • an object e.g., an edge of golf club E
  • the ball B the ball image
  • the motion parameter calculating part 202 specifies the object 402a having the area ratio S1/S2 being the nearest to 1 among the calculated area ratios S1/S2 of the plural objects 402a as the ball B.
  • the area ratio S1/S2 being the nearest to 1 means that the area S1 of the circle 402b making the long side l the diameter is equal to the area S2 in the outer edge of the object 402a and the object 402a is a circle. In this way, it is possible to specify only ball B in the binarized image 402 definitely.
  • the motion parameter calculating part 202 calculates a center coordinates c and a radius r of the specified ball B in the binarized image 402.
  • the center coordinates c of the ball B is calculated as two-dimensional coordinates (xic, yic) (pixel) of the binarized image 402 in a camera coordinate system (an image coordinate system).
  • the camera coordinate system is a coordinate system that has an origin at a center of the capturing image 401 (or the binarized image 402), has a horizontal axis at a x-axis (xi) and has a vertical axis at a y-axis (yi).
  • the radius r of the ball B is calculated as a pixel number (pixel).
  • the motion parameter calculating part 202 calculates a center coordinates c and a radius r of the second ball B (the second ball image) in the second capturing image by processing similar to that of the above for the second capturing image.
  • the motion parameter calculating part 202 calculates a center coordinates c in a world coordinate system (an actual coordinate system) based on the calculated center coordinates c and the calculated radius r of the ball B (the ball image) and information concerning a calibration of the camera 10 for each of the first capturing image and the second capturing image (FIG. 3, S104).
  • the information concerning the calibration of the camera 10 means calibration matrix information.
  • the calibration matrix information associates two-dimensional coordinates (xia, yia) (pixel) of a capturing image 501 (an arbitrarily point A on a capturing image 501) in the camera coordinate system with three-dimensional coordinates (xra, yra, zra) (length) of the capturing image 501 (the arbitrarily point A) in the world coordinate system.
  • the camera coordinate system has the origin at a center CI of the capturing image 501 corresponding to a focal distance f (length) of the camera 10.
  • the world coordinate system has the origin at a center CR of the camera 10.
  • the calibration matrix information can be K matrix information, P matrix information and the like.
  • the capturing image 501 is located vertically for a z-axis at a position separated at the focal distance f (length) towards a capturing object in the z-axis direction from the center CR of the camera 10.
  • the camera coordinate system has a horizontal axis at a x-axis (xi), has a vertical axis at a y-axis (yi).
  • the world coordinate system has a horizontal axis at a x-axis (xr), has a vertical axis at a y-axis (yr) and has a depth axis (a viewing axis or an optical axis) at a z-axis (zr).
  • the motion parameter calculating part 202 converts the camera coordinate system ⁇ two-dimensional coordinates (xic, yic) ⁇ of the center coordinates c of the calculated ball B into the world coordinate system ⁇ three-dimensional coordinates (xrc, yrc, zrc) ⁇ with using the calibration matrix information.
  • the z coordinate value in the three-dimensional coordinates (xrc, yrc, zrc) of the world coordinate system calculated by the calibration matrix information is a z coordinate value of the arbitrary point A on the capturing image 501, so all of the z coordinate value of the arbitrary points A on the capturing image 501 are of a same value. Then, the z coordinate value of the world coordinate system of the ball B flying in the z-axis direction needs to be calculated by a different method.
  • the motion parameter calculating part 202 calculates a z coordinate value of the world coordinate system of the ball B based on a relationship with the calculated radius r of the ball B and the angle ⁇ between both right and left ends of the ball B of the capturing image 501 in the z-axis direction on the basis of the center CR of the camera 10 of the world coordinate system with using Law of cosines. As shown in FIG.
  • the distance D (length) is approximated to the z coordinate value of the world coordinate system of the ball B, so the motion parameter calculating part 202 estimates the calculated distance D (length) in the z coordinate value of the world coordinate system of the ball B.
  • the above processing is carried out for each of the first ball and the second ball.
  • the method that the motion parameter calculating part 202 calculates is not particularly limited.
  • the ball speed BS, the launch angle LA and the side angle SA can be calculated based on the center coordinates c1 ⁇ three-dimensional coordinates (xrc1, yrc1, zrc1) ⁇ of the first ball B1 of the first capturing image in the world coordinate system, the center coordinates c2 ⁇ three-dimensional coordinates (xrc2, yrc2, zrc2) ⁇ of the second ball B2 of the second capturing image, the first time t1 (sec) when the first capturing image 401 is captured and the second time t2 (sec) when the second capturing image 401 is captured.
  • the motion parameter calculating part 202 calculates speeds (Vx, Vy, Vz) of the ball B on each axis in the world coordinate system by substituting the above value for the following formulas (3) (4) (5) and (6) and calculates a total speed BS of the ball B.
  • Vx (xrc2-xrc1) / (t2-t1) ...
  • Vy (yrc2-yrc1) / (t2-t1) ... (4)
  • Vz (zrc2-zrc1) / (t2-t1) ... (5)
  • BS SQR (Vxsup2+Vysup2+Vzsup2) ... (6)
  • the motion parameter calculating part 202 calculates a launch angle LA and a side angle SA in the world coordinate system by substituting the calculated speeds (Vx, Vy, Vz) of the ball B on each axis for the following formulas (7) and (8).
  • PI means the circular constant.
  • LA 180* ⁇ tan sup(-1) (Vy/Vx) /PI ⁇ ...
  • SA 180* ⁇ tan sup(-1) (Vz/Vx) /PI ⁇ ... (8)
  • an image corresponding part 203 of the flight parameter measuring apparatus 1 After the motion parameter calculating part 202 finishes capturing the motion parameter of the ball B, then, a rotation parameter of the ball B is carried out. First, an image corresponding part 203 of the flight parameter measuring apparatus 1 generates a first registered ball image obtained by making the first ball image correspond to the second ball image in the camera coordinate system (FIG. 3, S106).
  • the method that the image corresponding part 203 generates is not particularly limited. As shown in FIG. 6B, at first the image corresponding part 203 corresponds a position (coordinates) of the first ball image 601a (in the first capturing image) to a position (coordinates) of the second ball image 602a (in the second capturing image) by translating the center coordinates c1 (xic1, yic1) of the first ball image 601a (B1) in the camera coordinate system to the center coordinates c2 (xic2, yic2) of the second ball image 602a (B2) (of the second capturing image 602) in the camera coordinate system.
  • the image corresponding part 203 calculates a size ratio r2/r1 obtained by dividing a radius r2 (pixel) of the second ball image 602a (B2) by a radius r1 (pixel) of the first ball image 601a (B1), multiplies the size ratio r2/r1 by the first ball image 601a (B1) and generates the multiplied first ball image as the first registered ball image 601b obtained by making a size of the first ball image 601a correspond to a size of the second ball image 602a.
  • the first registered ball image 601b is the image to adjust a viewpoint of the first ball B1 to a viewpoint of the second ball B2.
  • the first ball image 601a is an image before the rotation
  • the second ball image 602a is an image after the rotation and the surface (mapped points) of the both are different.
  • the image corresponding part 203 may calculate correspondence coordinates (xi11, yi11) of the first registered ball image 601b corresponding to arbitrary coordinates of the second ball image 602a with using the center coordinates c1 (xic1, yic1) of the first ball image 601a, the arbitrary coordinates (xi2, yi2) of the second ball image 602a and the center coordinates c2 (xic2, yic2) of the second ball image 602a in the camera coordinate system, the size ratio r2/r1 and the following formulas (9) and (10) .
  • xi11 (xi2-xic2 )* r2/r1+xic1 ...
  • yi11 (yi2-yic2 )* r2/r1+yic1 ... (10)
  • a pixel comprising the first ball image 601a associates 2D coordinates (xi1, yi1) (pixel) in the camera coordinate system with a pixel value indicating a gray value, the unit of the pixel of the camera coordinate system is different from the unit of the pixel of the image with the size ratio r2/r1 (-), and does not have a decimal. Therefore, when the position and the size of the first ball image 601a is corresponded to the position and the size of the second ball image 602a, as shown in FIG.
  • the image corresponding part 203 estimates (interpolates) a pixel value of a target pixel of the first registered ball image 601b based on pixel values of respective four pixels (peripheral pixels or closer pixels) of the first ball image 601a, the four pixels arranged adjacently to four ends of the target pixel of the first registered ball image 601b. In this way, it is possible to dissolve a shift between the pixel value of the pixel of the first registered ball image 601b and the pixel value of the pixel of the first ball image 601a, and to calculate the rotation parameter accurately.
  • the image corresponding part 203 estimates a pixel value I (xi11, yi11) ⁇ in arbitrary coordinates (xi11, yi11) of the camera coordinate system ⁇ of the target pixel of the first registered ball image 601b by substituting a pixel values I (xi1, yi1), I (xi1+1, yi1), I (xi1+1, yi1+1) and I (xi1, yi1+1) of the peripheral pixels of the first ball image 601a, the peripheral pixels arranged adjacently to the four ends of the target pixel of the first registered ball image 601b for the following formulas (11), (12) and (13).
  • I (xi11, yi11) I (xi1, yi1 )*( 1-fx )*( 1-fy) +I (xi1+1, yi1 )*( 1-fx )* fy+ I (xi1+1, yi1+1 )* fx * fy+ I (xi1, yi1+1 )* fx *( 1-fy) ... (11))
  • fx xi11-xi1 ... (12)
  • fy yi11-yi1 ... (13)
  • a 3D model constructing part 204 of the flight parameter measuring apparatus 1 constructs a 3D model of the first registered ball image 601b obtained by converting the camera coordinate system of the generated first registered ball image 601b into the world coordinate system of the generated first registered ball image 601b (FIG. 3, S107).
  • the method that the 3D model constructing part 204 constructs is not particularly limited.
  • the 3D model constructing part 204 extracts only a region of interest (Region of Interest : interest domain : ROI) of the first registered ball image 601b using center coordinates c11 (pixel) of the first registered ball image 601b and a radius r11 (pixel) of the first registered ball image 601b in the camera coordinate system.
  • the first registered ball image 601b indicates the ball (call a first registered ball B1 ⁇ ).
  • the 3D model constructing part 204 calculates beginning point coordinates b11 (xib11, yib11) of the first registered ball image 601b (in the camera coordinate system) and end point coordinates e11 (xie11, yie11) of the first registered ball image 601b (in the camera coordinate system) with using the center coordinates c11 (xic11, yic11) of the first registered ball image 601b, the radius r11 (pixel) of the first registered ball B1 ⁇ , and the following formulas (14), (15), (16) and (17).
  • xib11 xic11-r11 ... (14)
  • yib11 yic11-r11 ...
  • xie11 xic11+r11 ... (16)
  • yie11 yic11+r11 ... (17)
  • the 3D model constructing part 204 converts the camera coordinate system ⁇ two-dimensional coordinates (xi11, yi11) ⁇ of the extracted first registered ball image 601b of the ROI image into a world coordinate system ⁇ three-dimensional coordinates (xr11, yr11, zr11) ⁇ with using the calibration matrix information.
  • the first registered ball image 601b is bulged into a hemispherical shape in the z-axis direction at only the radius r11 (length) of the first registered ball B1 ⁇ from the center coordinates c11 (xrc11, yrc11) (length) of the first registered ball B1 ⁇ three-dimensionally, and comprises a visible surface (a visible area) of the first registered ball B1 ⁇ captured (seen) from the camera 10.
  • the 3D model constructing part 204 converts a pixel of the radius r11 of the first registered ball image 601b (B1 ⁇ ) into a length of the radius r11 of the first registered ball image 601b (B1 ⁇ ), as shown in FIG. 7B, forms a visible surface 601c of a hemispherical first registered ball B1 ⁇ toward the camera 10 with using the center coordinates c11 (xrc11, yrc11) (length) of the first registered ball image 601b in the world coordinate system and the radius r11 (length) of the first registered ball image 601b (B1 ⁇ ).
  • the 3D model constructing part 204 extends a straight line lz projecting in the z-axis direction (toward the camera 10) from a target pixel C (xr11, yr11) (a mapped point) ⁇ in target coordinates (xr11, yr11) of the camera coordinate system ⁇ of the first registered ball image 601b into the formed visible surface 601c, and calculates the z coordinate value (zr11) of an intersection point of the straight line lz and the formed visible surface 601c.
  • the 3D model constructing part 204 calculates a correspondence pixel C ⁇ (xr11, yr11, zr11) of x, y and z (three-dimensional) coordinates (xr11, yr11, zr11) of the first registered ball image 601b by assigning the calculated z coordinate (zr11) to the target pixel C (xr11, yr11) of the x and y (two-dimensional) coordinates (xr11, yr11) converted by the calibration matrix information in the extracted first registered ball image 601b.
  • the 3D model constructing part 204 calculates correspondence pixels corresponding to all target pixels comprising the first registered ball image 601b, and constructs a 3D model of the first registered ball image 601b comprised with all the calculated correspondence pixels. By performing the above process for all pixels of the first registered ball image 601b, the 3D model of the first registered ball image 601b is constructed (three-dimensional modeling).
  • the z coordinate (zr11) of the correspondence pixel C ⁇ of the first registered ball image 601b is calculated easily by using the center coordinates c11 (xrc11, yrc11) (length) of the first registered ball image 601b in the world coordinate system, the radius r11 (length) of the first registered ball B1 ⁇ , and the following formula (18), and adopting a positive value in two calculated values.
  • zr11 SQR [r11 sup2 - ⁇ (xr11-xrc11) sup2 + (yr11-yrc11) sup2 ⁇ ] ... (18)
  • a virtual rotating part 205 of the flight parameter measuring apparatus 1 rotates virtually the constructed 3D model of the first registered ball image 601b in the world coordinate system by using an initial rotation parameter (e.g., a spin axis SX0 and a total spin TS0 as initial values) estimated in advance and rotation matrix information (FIG. 3, S108).
  • an initial rotation parameter e.g., a spin axis SX0 and a total spin TS0 as initial values
  • the method that the virtual rotating part 205 rotates is not particularly limited.
  • the virtual rotating part 205 uses the rotation matrix information to simulate the rotation of the 3D model in the world coordinate system.
  • the rotation matrix information R associates three-dimensional coordinates V (xr11, yr11, zr11) of the 3D model before the rotation and an initial rotation parameter (SX0, TS0) with three-dimensional coordinates V ⁇ (xr11 ⁇ , yr11 ⁇ , zr11 ⁇ ) of the 3D model after the rotation.
  • the rotation matrix information R is expressed generally in the following formula (19).
  • V ⁇ (xr11 ⁇ , yr11 ⁇ , zr11 ⁇ ) R (SX0, TS0)* V (xr11, yr11, zr11) ... (19)
  • the rotation matrix information R may use a three-dimensional angle (an Eulerian angle), but the rotation matrix information R in the present invention sets a spin axis and a total spin corresponding to the three-dimensional angle.
  • the virtual rotating part 205 gets three-dimensional coordinates (xr11 ⁇ , yr11 ⁇ , zr11 ⁇ ) of the 3D model after the rotation by substituting the three-dimensional coordinates (xr11, yr11, zr11) of the 3D model before the rotation and the initial rotation parameter (SX0, TS0) for the rotation matrix information R.
  • the rotation matrix information R it is possible to perform the calculation processing required for a virtual rotation once, and to simplify the processing.
  • a registered image generating part 206 of the flight parameter measuring apparatus 1 When the virtual rotating part 205 finishes rotating, a registered image generating part 206 of the flight parameter measuring apparatus 1 generates a second registered ball image in the camera coordinate system obtained by converting the world coordinate system of the visible surface , captured from the camera 10 in the 3D models of the first registered ball image 601b after the rotation , into a camera coordinate system of the visible surface (FIG. 3, S109).
  • the method that the registered image generating part 206 generates is not particularly limited.
  • the registered image generating part 206 extracts a visible surface 801a hemispherically extending in the z-axis direction toward the camera 10 from the center coordinates c11 (xrc11, yrc11) of the first registered ball image 601b (B1 ⁇ ) after the rotation in the 3D model 801 (three-dimensional coordinates).
  • the extracted visible surface 801a is included in a part of the second ball image 602a.
  • the registered image generating part 206 converts the world coordinate system ⁇ three-dimensional coordinates (xr11 ⁇ , yr11 ⁇ , zr11 ⁇ ) ⁇ of the extracted visible surface 801a into the camera coordinate system ⁇ two-dimensional coordinates (xi11 ⁇ , yi11 ⁇ ) ⁇ of the extracted visible surface 801a with using the calibration matrix information. And, as shown in FIG. 8B, the registered image generating part 206 generates the converted visible surface 801a in the 3D models of the first registered ball image 601b after the rotation as the second registered ball image 801b of the camera coordinate system. In this way, it is possible to compare the second registered ball image 801b with the second ball image 602a.
  • a difference calculating part 207 of the flight parameter measuring apparatus 1 calculates a difference between the generated second registered ball image 801b and the second ball image 602a (FIG. 3, S110).
  • the method that the difference calculating part 207 calculates is not particularly limited.
  • the second registered ball image 801b is generated with using the first registered ball image 601b before the rotation, so the second registered ball image 801b does not correspond to all of second ball image 602a.
  • the difference calculating part 207 extracts the second compared ball image 802a , corresponding to the second registered ball image 801b , in the second ball image 602a.
  • the camera coordinate system ⁇ two-dimensional coordinates (xi11 ⁇ , yi11 ⁇ ) ⁇ of the second compared ball image 802a corresponds to the camera coordinate system ⁇ two-dimensional coordinates (xi2, yi2) ⁇ of the second registered ball image 801b.
  • the second compared ball image 802a is an image for comparison with the second registered ball image 801b.
  • the second registered ball image 801b based on the first registered ball image 601b corresponding to the second ball image 602a, so it is easy to compare with the second ball image 602a (the second compared ball image 802a), and it is possible to simplify the processing.
  • the difference calculating part 207 calculates a difference between the second registered ball image 801b and the second compared ball image 802a.
  • Fig. 8B is an example indicating the second registered ball image 801b and the second compared ball image 802a. If the estimated rotation parameter generating the second registered ball image 801b coincides with a real value, the second registered ball image 801b is approximately same as the second compared ball image 802a, and the above difference becomes the minimum value. Otherwise, if the estimated rotation parameter generating the second registered ball image 801b differs from the real value, the second registered ball image 801b is completely different from the second compared ball image 802a and the above difference becomes larger.
  • the present invention by comparing the second registered ball image 801b with the second compared ball image 802a, it is possible to calculate the rotation parameter with using the natural design of the surface of the ball B without using the specific logos or the like of the surface of the ball B as a mark.
  • the difference calculating part 207 calculates the subtracted value obtained by subtracting a pixel value of a pixel of the second compared ball image 802a from a pixel value of a pixel of the second registered ball image 801b for respective pixels, calculates a squared value obtained by squaring the calculated subtracted value for respective pixels and calculates a total value obtained by summing the calculated squared value of respective pixels as the difference. In this way, it is possible to reflect a slight variation between the second registered ball image 801b and the second compared ball image 802a in the difference, and to calculate the rotation parameter of the ball B accurately.
  • the difference calculating part 207 extracts the second compared ball image 802a and calculates the difference between the second registered ball image 801b and the second compared ball image 802a.
  • the difference calculating part 207 may compare the second ball image 602a with the second registered ball image 801b as it is, and calculate the difference. Namely, even if the difference calculating part 207 calculates the difference, the difference of an area of the second ball image 602a not corresponding to the second registered ball image 801b is with an approximately constant value, so the difference of an area of the second ball image 602a corresponding to the second registered ball image 801b greatly contributes to the total difference.
  • the difference calculating part 207 may calculate the difference between the second registered ball image 801b and the second ball image 602a.
  • a rotation parameter determining part 208 of the flight parameter measuring apparatus 1 repeats the virtual rotation of the 3D model, the generation of the second registered ball image and the calculation of the difference by changing the initial rotation parameter, and determines a rotation parameter to minimize the difference as a real rotation parameter of the ball B.
  • the method that the rotation parameter determining part 208 determines is not particularly limited.
  • the rotation parameter determining part 208 sets the difference calculated some time ago as a standard difference and changes (e.g., increases or decreases) the initial rotation parameter (the spin axis SX0 and the total spin TS0) used some time ago with only a predetermined change value (FIG. 3, S112).
  • the rotation parameter determining part 208 rotates virtually the 3D model of the first registered ball image 601b by using the changed initial rotation parameter and the rotation matrix information through the virtual rotating part 205 (FIG. 3, S108).
  • the rotation parameter determining part 208 generates the second registered ball image in the camera coordinate system obtained by converting a world coordinate system of a new visible surface , captured from the camera 10 in the 3D model of the first registered ball image 601b after the rotation , into a camera coordinate system of the new visible surface through the registered image generating part 206 (FIG. 3, S109).
  • the rotation parameter determining part 208 calculates a new difference between the generated second registered ball image and the second ball image 602a (the second compared ball image) through the difference calculating part 207 (FIG. 3, S110).
  • the rotation parameter determining part 208 sets the new difference as a compared difference, compares the compared difference with the standard difference and determines a difference which is smaller as a temporary difference (FIG. 3, S111).
  • the rotation parameter determining part 208 calculates the third rotation parameter increased by the change value more than the second rotation parameter (FIG. 3, S112) and calculates a new compared difference through S108, S109 and S110.
  • the temporary difference calculated by the second rotation parameter becomes the standard difference and the new compared difference of the third rotation parameter becomes the compared difference.
  • the rotation parameter determining part 208 sets the standard difference calculated with the initial rotation parameter, calculates third rotation parameter decreased by the change value less than the initial rotation parameter (FIG. 3, S112) contrary to the previous change and calculates a new compared difference through S108, S109 and S110.
  • the temporary difference calculated by the initial rotation parameter becomes the standard difference and the new compared difference of the third rotation parameter becomes the compared difference.
  • the rotation parameter determining part 208 repeats S108, S109 and S110, re-changes (increases or decreases) the changed initial rotation parameter (and the changed rotation parameter) by the change value, and performs convergence arithmetic operation so that the calculated difference can become the minimum value by re-changing the rotation parameter.
  • the optimization method to perform convergence arithmetic operation can use the least square method, the Gauss Newton method of the nonlinear least square method.
  • the termination of the convergence arithmetic operation for example, when it is determined if the standard difference is small after it is determined repeatedly if the compared difference is small, it is possible to determine that the Nth rotation parameter (the Nth spin axis SXn, the Nth total spin TSn) calculating the standard difference makes the difference the minimum value. Otherwise, when it is determined if the compared difference is small after it is determined repeatedly if the standard difference is small, it is possible to determine that the Nth rotation parameter (the Nth spin axis SXn, the Nth total spin TSn) calculating the compared difference makes the difference the minimum value.
  • the termination of the convergence arithmetic operation may be appropriately set by the kind of the optimization method.
  • the rotation parameter decision part 208 determines the rotation parameter (SXn, TSn) to minimize the difference as a real rotation parameter (spin axis SX, total spin TS) of the ball B (FIG. 3, S113).
  • a flight parameter displaying part 209 of the flight parameter measuring apparatus 1 displays the motion parameter (ball speed BS, launch angle LA and side angle SA) of the ball B by the motion parameter calculating part 202 and the rotation parameter (spin axis SX, total spin TS) of the ball B by the rotation parameter decision part 208 at a predetermined display part (FIG. 3, S114).
  • the method that the flight parameter displaying part 209 displays is not particularly limited.
  • the flight parameter displaying part 209 may display at the display part previously set to the flight parameter measuring apparatus 1 or display at the player ⁇ s terminal apparatus (liquid crystal display) being communicable in radio with the flight parameter measuring apparatus 1. In this way, the player can know the flight parameter of the ball B own launched.
  • the present invention determines the rotation parameter to minimize the difference between the second registered ball image 801b and the second ball image 602a (the second compared ball image 802a), therefore, to improve the measurement accuracy of the rotation parameter, the constitution of the second registered ball image 801b and the second ball image 602a is extremely important.
  • the second registered ball image 801b, caused by the generation of the first registered ball image 601b , and the second ball image 602a are obtained by capturing the ball B flying in different space and different timing, so the reflectance of light from the ball B to the camera 10 is not constant about each of the first registered ball image 601b and the second ball image 602a.
  • the present invention may comprise furthermore an image processing part 210 respectively normalizing the first registered ball image 601b and the second ball image 602a by Retinex processing, respectively detecting (extracting) a ball structure indicating a characteristic structure of a whole surface of the ball from the normalized first registered ball image 601b and the normalized second ball image 602a by binarization processing, respectively detecting (extracting) a special feature indicating a local characteristic on the ball from the normalized first registered ball image 601b and the normalized second ball image 602a by patch binarization processing, and respectively re-constructing the (new) first registered ball image 601b and the (new) second ball image 602a obtained by respectively composing the ball structure and the special feature of the normalized first registered ball image 601b and the normalized second ball image 602a.
  • the 3D model constructing part 204 constructs the 3D model of the re-constructed first registered ball image
  • the difference calculating part 207 extracts the second compared ball image in the re-constructed second ball
  • the re-construction of the ball image of the image processing part 210 has three processing of (1) Normalizing by Retinex processing, (2) Detecting Ball Structure, and (3) Detecting Special Feature. It is understood that the first registered ball image 901b re-constructing the first registered ball image 601b by the image processing part 210 expresses only a characteristic image. In this way, it is possible to improve the measurement accuracy of the rotation parameter.
  • the Retinex processing means a processing modeling a sight of a person, considering peripheral pixels to the four ends of the target pixel and correcting the pixel value of the target pixel.
  • the registered ball image 601b and the second ball image 602a express the ball B in different space and different timing, the reflectance of the light and the luminosity of ball B in different space are equalized by the Retinex processing, and it is possible to generate the image expressing the ball B in same space. In this way, it is easy to calculate the difference between the second registered ball image 801b and the second ball image 602a.
  • the normalized ball image by the Retinex processing comprises of a ratio (a strength ratio) between a pixel value and the mean pixel value of the peripheral pixels.
  • the ratio L (x, y) ⁇ in coordinates (x, y) ⁇ of the target pixel of the normalized ball image can be calculated easily with using the pixel value I (x, y) ⁇ in coordinates (x, y) ⁇ of the ball image in the specific camera coordinates (x, y), the pixel value (I * G ⁇ ) (x, y) of the peripheral pixels of the target value operating a filter to make a senility image, and the following formula (20).
  • L (x, y) I (x, y) / (I * G ⁇ ) (x, y) ... (20)
  • the filter is a smoothing filter, a Gaussian filter or the like.
  • the whole surface of the ball B has various concavities-convexities.
  • a golf ball has many dimples on the whole surface
  • a soccer ball has many pentagons and hexagons on the whole surface
  • a baseball and a tennis ball have many seams on the whole surface.
  • the image processing part 210 smooths a pixel having a small pixel value by performing the binarization processing to the normalized ball image and emphasizes a pixel having a big pixel value. Namely, a gradation in the normalized ball image is emphasized and a dark area becomes the ball structure. In this way, it is possible to distribute a characteristic of the whole surface of the ball B and a background.
  • the binarization processing assigns "1" (white) to the target pixel when the pixel value of the target pixel is a predetermined threshold or more than the threshold, or assigns "0" (black) to the target pixel when the pixel value of the target pixel is less than the threshold.
  • the threshold may be set the value being common to all pixels of the normalized ball image or may be set the value being different a respective plural area obtained by dividing the normalized ball image into the plural area.
  • the binarization processing includes an outline detecting processing tracking an edge of the target pixel assigned "0" (black), detecting an adjacent pixel to be the closest to the target pixel and finding a connection part of the target pixel.
  • the outline detecting processing can be a Sobel processing, a Canny processing or an EDPF (Edge Draw Parameter Free) processing or the like.
  • the Sobel processing is a filter processing calculating a primary spatial differential from the normalized ball image and detecting an edge of the normalized ball image based on a primary spatial differential.
  • the Canny processing is an algorithm removing a noise of the normalized ball image, finding a luminance gradient of the normalized ball image after the removement of the noise, removing an unrelated pixel for the edge comprised of the luminance gradient and performing the binarization processing to an image removing an unrelated pixel by a hysteresis using two thresholds.
  • the EDPF processing is an application of an ED processing and is a processing to dispense with the setting of the parameter necessary for the ED processing.
  • the ED processing is an algorithm running real time, removing an image of the no-edge and generating an edge map from the normalized ball image.
  • the surface of the ball B has a break, a wound, the logo (mark) of the manufacturer in local (partial).
  • the image processing part 210 performs the patch binarization processing to the normalized ball image, emphasizes a pixel of consecutive areas partially and smooths a pixel of other areas. In this way, it is possible to detect the special feature of the surface of the ball B.
  • patch binarization processing is a binarization processing setting the threshold to respective pixels.
  • the image processing part 210 when there is the re-construction of the ball image (the re-constructed first registered ball image and the re-constructed second ball image) by the image processing part 210, the gradation of the re-constructed first registered ball image 901b and the re-constructed second ball image 902a are clear, the change for the difference between the second registered ball image and the second ball image is easy to become big and it is easy to find the minimum value. Then, it is possible to simplify the processing by the re-construction of the ball image of the image processing part 210, it is easy to find the minimum value of the difference and it is possible to improve the measurement accuracy of the rotation parameter.
  • the image processing part 210 re-constructs the first registered ball image and the second ball image, the 3D model of the re-constructed the re-constructed first registered ball image is constructed and later processing goes smoothly.
  • a flight parameter measuring apparatus 1 experimentally based on FIG. 1 - FIG. 3, set the flight parameter measuring apparatus 1 as Example, and measured a flight parameter of a golf ball B which a golf robot launched with using Example.
  • FIG. 10A we put the golf ball B on the tea of Golf practice range, put a commercial flight parameter measuring apparatus 10 on the right side of the golf ball B and put the flight parameter measuring apparatus 1 in the present invention on the left side of the golf ball B.
  • the commercial flight parameter measuring apparatus 10 is an existing product to measure a flight parameter accurately.
  • the commercial flight parameter measuring apparatus 10 and the flight parameter measuring apparatus 1 in the present invention measured a flight parameter of the golf ball B at the same time.
  • the golf robot was adopted to lose the error by the habit of the shot and launched the golf ball B with the golf club E on various conditions (swing speed, launch direction, launch angle).
  • the speed of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the speed of the golf ball B measured by commercial flight parameter measuring apparatus 10.
  • the launch angle of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the launch angle of the golf ball B measured by commercial flight parameter measuring apparatus 10, too.
  • the side angle of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the side angle of the golf ball B measured by commercial flight parameter measuring apparatus 10, too.
  • the spin axis of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the spin axis of the golf ball B measured by commercial flight parameter measuring apparatus 10, too.
  • the total spin of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the total spin of the golf ball B measured by commercial flight parameter measuring apparatus 10, too. Therefore, we understood that the flight parameter measuring apparatus 1 in the present invention can measure accurately the flight parameters of the ball by a simple image processing method.
  • the embodiment of the present invention corresponds the first ball image to the second ball image, not only this, corresponds the second ball image to the first ball image and gets the same action effect.
  • the embodiment of the present invention was explained the flight parameter measuring apparatus 1 corresponding to the golf ball B, it is not necessary to limit it to this.
  • the present invention can be adopted widely to an apparatus or a method to measure a flight parameter of a ball such as baseball, tennis, soccer, rugby, ice hockey, gate ball, ball game to launch (fly) a ball B or the like.
  • the flight parameter measuring apparatus 1 is configured to include each unit, but it may be configured that a program for materializing the units is stored in a storage medium and the storage medium is provided. In such configuration, the program is read on the apparatus materializes the respective units. In this case, the program read from the storage medium provides the effect of the present invention. Additionally, the steps executed by the respective units may be stored in the hard disk.
  • the flight parameter measuring apparatus and the flight parameter measuring method are useful as an apparatus and a method for measuring a flight parameter of the ball in every ball game to fly a ball. It is effective as the flight parameter measuring apparatus and the flight parameter measuring method that can measure accurately the flight parameters of the ball by a simple image processing method.
  • Flight parameter measuring apparatus 201 Image capturing part 202 Motion parameter calculating part 203 Image corresponding part 204 3D model constructing part 205 Virtual rotating part 206 Registered image generating part 207 Difference calculating part 208 Rotation parameter determining part 209 Flight parameter displaying part 210 Image processing part

Abstract

The image capturing part 201 captures a ball in flight with a camera continuously. The image corresponding part 203 generates a first registered ball image obtained by making a size of a first ball image correspond to a size of a second ball image. The 3D model constructing part 204 constructs a 3D model of the first registered ball image obtained by converting a camera coordinate system of the generated first registered ball image into a world coordinate system. The virtual rotating part 205 rotates virtually the constructed 3D model of the first registered ball image in the world coordinate system by using an initial rotation parameter and rotation matrix information. The registered image generating part 206 generates a second registered ball image in the camera coordinate system obtained by converting a world coordinate system of a visible surface, captured from the camera in the 3D model of the first registered ball image after the rotation, into a camera coordinate system. The difference calculating part 207 extracts a second compared ball image, corresponding to the second registered ball image, in the second ball image and calculates a difference between the second registered ball image and the second compared ball image. The rotation parameter determining part 208 repeats the virtual rotation of the 3D model, the generation of the second registered ball image and the calculation of the difference by changing the initial rotation parameter, and determines a rotation parameter to minimize the difference as a real rotation parameter of the ball.

Description

FLIGHT PARAMETER MEASURING APPARATUS AND FLIGHT PARAMETER MEASURING METHOD
The present invention relates to a flight parameter measuring apparatus and a flight parameter measuring method.
Traditionally, techniques for measuring the flight parameters (launch parameters) of the ball, such as a golf ball exist a lot. For example, Patent Literature 1 discloses a method of measuring launch parameters of an object in flight. The method comprises capturing a plurality of images of an object in flight, identifying a radius of the object and a center of the object in each of the plurality of images, and calculating a velocity, an elevation angle, and an azimuth angle based on the radius of the object, the center of the object, and pre-measured camera alignment values. Further, the method comprises cropping the plurality of images to a smallest square that bounds the object, flattening the plurality of images from spherical representations to Cartesian representations, converting the Cartesian representations to polar coordinates with a range of candidate centers of rotation, and based on a fit of the polar image pair, measuring the spin axis and spin rate.
Patent Literature 2 discloses a method for determining parameters of an object in motion. The method comprises the steps of calibrating a camera lens to establish (x, y, z) directions for every (x, y) pixel in an image plane of the camera, determining alignment correction factors, capturing a plurality of images of the object in motion, finding the object in each of the plurality of images, calculating three dimensional coordinates for each of the plurality of images, and calculating a velocity vector for the object from the three dimensional coordinates. Further, the method comprises the steps of rotating a reference image of the plurality of images by a first set of rotations of a plurality of rotation sets, scaling the rotated reference image to a target image, correlating the reference image to the target image to obtain an incremental score of a plurality of scores, repeating the steps of rotating, scaling and correlating in a stepwise refinement manner to obtain a best score of the plurality of scores and utilizing a best rotation set of the plurality of rotation sets to determine the parameters of the object in motion.
Patent Literature 1
Japanese Unexamined Patent Application Publication (Translation of PCT Application) No. 2016-540185
Patent Literature 2
Japanese Unexamined Patent Application Publication (Translation of PCT Application) No. 2005-529339
When a flight parameters of a ball are calculated based on a ball image photographed with a camera, various image processing methods exist, and an effective method is exploring. In the mentioned Patent Literature 1 and 2, it is problem that there are many processes (step) required for a measurement of the flight parameters, are complicated, and a processing capacity and a processing time are necessary. And, an accuracy of the measured flight parameters is unknown. Here, the flight parameters usually include a motion parameter to mean a ball speed, a launch angle and a side angle of an object in motion, and a rotation parameter to mean a spin axis and a total spin of the object, but it is very hard to calculate the rotation parameter accurately.
Accordingly, the present invention was created as a solution for the problems and aims at providing a flight parameter measuring apparatus and a flight parameter measuring method that can measure accurately the flight parameters of the ball by a simple image processing method.
A flight parameter measuring apparatus in the present invention comprises an image capturing part, an image corresponding part, a 3D model constructing part, a virtual rotating part, a registered image generating part, a difference calculating part, and a rotation parameter determining part. The image capturing part captures a ball in flight with a camera continuously, and getting a first ball image indicating the ball in a first capturing image captured first and a second ball image indicating the ball in a second capturing image captured second. The image corresponding part generates a first registered ball image obtained by making a size of the first ball image correspond to a size of the second ball image in a camera coordinate system. The 3D model constructing part constructs a 3D model of the first registered ball image obtained by converting a camera coordinate system of the generated first registered ball image into a world coordinate system of the generated first registered ball image. The virtual rotating part rotates virtually the constructed 3D model of the first registered ball image by using an initial rotation parameter estimated in advance and rotation matrix information. The registered image generating part generates a second registered ball image in the camera coordinate system obtained by converting a world coordinate system of a visible surface , captured from the camera in the 3D model of the first registered ball image after the rotation , into a camera coordinate system of the visible surface. The difference calculating part extracts a second compared ball image , corresponding to the second registered ball image , in the second ball image, and calculates a difference between the second registered ball image and the second compared ball image. The rotation parameter determining part repeats the virtual rotation of the 3D model, the generation of the second registered ball image, and the calculation of the difference by changing the initial rotation parameter, and determines a rotation parameter to minimize the difference as a real rotation parameter of the ball.
A flight parameter measuring method in the present invention comprises an image capturing step, an image corresponding step, a 3D model constructing step, a virtual rotating step, a registered image generating step, a difference calculating step, and a rotation parameter determining step like each part of the flight parameter measuring apparatus.
According to the present invention, the present invention can measure accurately the flight parameters of the ball by a simple image processing method.
Fig. 1 is the outline diagram indicating the flight parameter measuring apparatus according to the present invention. Fig. 2 is the functional block diagram indicating the flight parameter measuring apparatus according to the present invention. FIG. 3 is the flowchart indicating execution steps of the flight parameter measuring apparatus according to the present invention. Fig. 4A is an example of a capturing image and a binarized image. Fig. 4B is an example of an extraction of an object in the binarized image and a calculation of center coordinates and a radius of a ball in the binarized image. Fig. 5A is the outline diagram indicating a relation between a camera coordinate system of the capturing image and a world coordinate system of the camera. Fig. 5B is the outline diagram when a z coordinate of the world coordinate system of the ball is calculated. Fig. 6A is the outline diagram indicating a relation among a ball speed, a launch angle and a side angle of the ball. Fig. 6B is the outline diagram when a first ball image is corresponded to a second ball image in the camera coordinate system. Fig. 7A is the outline diagram when a pixel value of a pixel of a first registered ball image. Fig. 7B is the outline diagram when a 3D model is constructed by converting the camera coordinate system of the first registered ball image into the world coordinate system of the first registered ball image. Fig. 8A is the outline diagram when a visible surface of the first registered ball image after a rotation is extracted by rotating the 3D model of the first registered ball image virtually. Fig. 8B is the outline diagram when a difference between a second registered ball image and a second compared ball image is calculated. Fig. 9A is an example of a re-constituting of the ball image by Retinex processing, binarization processing, and patch binarization processing. Fig. 9B is the outline diagram indicating a difference between the second registered ball image and the second compared ball image depending on the presence of the re-constituting of the ball image. Fig. 10A is an example of a photograph image indicating the state when flight parameters of a golf ball launched by a robot for golf are measured. Fig. 10B is a graph of a measurement result of ball speeds of the golf ball by using a commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention. Fig. 11A is a graph of a measurement result of launch angles of the golf ball by using the commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention. Fig. 11B is a graph of a measurement result of side angles of the golf ball by using the commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention. Fig. 12A is a graph of a measurement result of spin axes of the golf ball by using the commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention. Fig. 12B is a graph of a measurement result of total spins of the golf ball by using the commercial flight parameter measuring apparatus and the flight parameter measuring apparatus according to the present invention.
The preferred embodiments of the present invention will be explained below according to the attached drawings; thereby the present invention will be clearly understood. The embodiments below are examples materializing the present invention, and do not limit the technical scope of the present invention.
As shown in FIG. 1, a flight parameter measuring apparatus 1 in the present invention includes a camera 10 and a flight parameter calculating part 11. The camera 10 is a high-speed camera enabling to capture image continuously at high speed in a short time. If the camera 10 in the present invention can acquire capturing image appropriately, the number of the camera 10 is not particularly limited, one or more (e.g., two) cameras may be used. The flight parameter measuring apparatus 1 starts a capturing of the camera 10 at the moment when a ball in flight enters in the view of the camera 10 and captures the ball B moving (flying or launching) in the view continuously at high speed for a predetermined time.
The flight parameter calculating part 11 is communicably connected with the camera 10, when receiving plural (e.g., two) capturing images including the ball B captured by the camera 10, calculates a flight parameter of the ball B in motion based on the plural capturing images. The flight parameter comprises of a motion parameter and a rotation parameter. The motion parameter means a speed (BALL SPEED) of ball B, a launch angle (LAUNCH ANGLE) and a side angle (SIDE ANGLE). The rotation parameter means a spin axis (SPIN AXIS) and a total spin (TOTAL SPIN). In addition, a backspin means a spin in the opposite direction to the flying direction of the ball B and a sidespin means a spin in the lateral direction to the spin axis. It is possible to calculate the backspin and the sidespin from the speed of ball B, the launch angle, the side angle, the spin axis and the total spin.
Here, to capture the ball B in motion in the view of the camera 10 timely, the flight parameter measuring apparatus 1 further includes a ball detecting part 12. The constitution of the ball detecting part 12 is not particularly limited. For example, the ball detecting part 12 comprises an infrared ray irradiating part to irradiate with an infrared ray in the view (e.g., in vicinity of end part of the view) of the camera 10, an infrared ray receiving part to receive the irradiated infrared ray as a reflected light and a reflected light detecting part to detect entering of the ball B in motion in the view of camera 10 based on a change of the received reflected light. When the ball B enters in the view, the infrared ray in the view reflects with the ball B and the reflected light of the ball B changes. Therefore, the ball detecting part 12 uses the phenomenon and detects entering of the ball B into the view of the camera 10. The infrared ray irradiating part and the infrared ray receiving part are one set. By comprising plural sets serially for the horizontal direction in the view of the camera 10, it is possible to detect accurately where the ball B enters in the view of the camera 10. In addition, a laser beam or a laser curtain may be used replacing with the infrared ray. When detecting the ball B in motion in the view of the camera 10, the ball detecting part 12 sends a detection signal to the flight parameter calculating part 11, the flight parameter calculating part 11 inputs a capture signal into the camera 10 and captures the ball B in motion in the view of the camera 10 continuously.
In addition, the camera 10, the flight parameter calculating part 11 and the ball detecting part 12 build CPU, ROM, RAM and the like no shown, and for example, CPU uses RAM as a working area and executes program stored in ROM and the like. About the below respective parts, CPU executes the program for materializing the respective parts.
As referring to FIG. 2, FIG. 3, the constitution and the execution steps in the embodiment of the present invention are explained. First, when the user (player) turns on a power supply of the flight parameter measuring apparatus 1, the flight parameter measuring apparatus 1 starts and the ball detecting part 12 starts a detection of a motion of a ball B (FIG. 3, S101).
The player places a ball B (e.g., a golf ball) beside the flight parameter measuring apparatus 1, when the player launches the ball B with a golf club E, the ball detecting part 12 detects a flight (launch) of the ball B (FIG. 3, S101YES). Then, an image capturing part 201 of the flight parameter measuring apparatus 1 captures a ball B in flight with a camera 10 continuously (FIG. 3, S102). Here, the image capturing part 201 captures the flying ball B with camera 10 continuously at high speed for a predetermined time and gets two capturing images. The image capturing part 201 gets a first ball image indicating the ball B in a first capturing image captured first and a second ball image indicating the ball B in a second capturing image captured second (e.g., next).
When the image capturing part 201 finishes capturing, a motion parameter calculating part 202 of the flight parameter measuring apparatus 1 calculates a motion parameter of the ball B based on the first ball image and the second ball image.
The method that the motion parameter calculating part 202 calculates is not particularly limited. At first, the motion parameter calculating part 202 calculates center coordinates (center coordinate values) and a radius of the first ball image and the second ball image (the ball image for each of the first capturing image and the second capturing image) (FIG. 3, S103). Specifically, as shown in FIG. 4A, the motion parameter calculating part 202 binarizes (performs binarization processing) the first capturing image 401 and generates a binarized image 402 to specify an outer edge (outline) of an object in the first capturing image 401. The object specified by the binarized image 402 mainly has a sufficient density difference than the peripheral area.
When the first capturing image 401 is a full color image, the motion parameter calculating part 202 converts the first capturing image 401 into a gray scale image expressing a pixel value (density value) of a pixel with 256 values, converts the pixel , whose pixel value being a predetermined threshold or more than the threshold , into "1" (white), converts the pixel , whose pixel value being less than the threshold , into "0" (black) and generates the binarized image 402 by the conversion. The threshold is predetermined to make an outer edge of the ball B (the ball image) in capturing image clear.
Here, it is possibility to include an object (e.g., an edge of golf club E) except (excluding) the ball B (the ball image) among the object specified the outer edge. Then, as shown in FIG. 4A, the motion parameter calculating part 202 calculates a long side l of the object 402a for respective plural objects 402a specified in the outer edge in the binarized image 402, calculates an area S1 of the circle 402b , whose the calculated long side l being a diameter , and an area S2 in the outer edge of the object 402a and calculates an area ratio S1/S2 obtained by dividing the area S1 of the circle 402b by the area S2 in the outer edge of the object 402a. And, the motion parameter calculating part 202 specifies the object 402a having the area ratio S1/S2 being the nearest to 1 among the calculated area ratios S1/S2 of the plural objects 402a as the ball B. Namely, the area ratio S1/S2 being the nearest to 1 means that the area S1 of the circle 402b making the long side l the diameter is equal to the area S2 in the outer edge of the object 402a and the object 402a is a circle. In this way, it is possible to specify only ball B in the binarized image 402 definitely.
And, the motion parameter calculating part 202 calculates a center coordinates c and a radius r of the specified ball B in the binarized image 402. The center coordinates c of the ball B is calculated as two-dimensional coordinates (xic, yic) (pixel) of the binarized image 402 in a camera coordinate system (an image coordinate system). The camera coordinate system is a coordinate system that has an origin at a center of the capturing image 401 (or the binarized image 402), has a horizontal axis at a x-axis (xi) and has a vertical axis at a y-axis (yi). The radius r of the ball B is calculated as a pixel number (pixel). When finishing calculating the center coordinates c and the radius r of the first ball B (the first ball image) in the first capturing image 401, the motion parameter calculating part 202 calculates a center coordinates c and a radius r of the second ball B (the second ball image) in the second capturing image by processing similar to that of the above for the second capturing image.
Next, the motion parameter calculating part 202 calculates a center coordinates c in a world coordinate system (an actual coordinate system) based on the calculated center coordinates c and the calculated radius r of the ball B (the ball image) and information concerning a calibration of the camera 10 for each of the first capturing image and the second capturing image (FIG. 3, S104).
The method that the motion parameter calculating part 202 calculates is not particularly limited. Here, the information concerning the calibration of the camera 10 means calibration matrix information. As shown in FIG. 5A, the calibration matrix information associates two-dimensional coordinates (xia, yia) (pixel) of a capturing image 501 (an arbitrarily point A on a capturing image 501) in the camera coordinate system with three-dimensional coordinates (xra, yra, zra) (length) of the capturing image 501 (the arbitrarily point A) in the world coordinate system. The camera coordinate system has the origin at a center CI of the capturing image 501 corresponding to a focal distance f (length) of the camera 10. The world coordinate system has the origin at a center CR of the camera 10. For example, the calibration matrix information can be K matrix information, P matrix information and the like. And the capturing image 501 is located vertically for a z-axis at a position separated at the focal distance f (length) towards a capturing object in the z-axis direction from the center CR of the camera 10. The camera coordinate system has a horizontal axis at a x-axis (xi), has a vertical axis at a y-axis (yi). The world coordinate system has a horizontal axis at a x-axis (xr), has a vertical axis at a y-axis (yr) and has a depth axis (a viewing axis or an optical axis) at a z-axis (zr).
The motion parameter calculating part 202 converts the camera coordinate system { two-dimensional coordinates (xic, yic)} of the center coordinates c of the calculated ball B into the world coordinate system { three-dimensional coordinates (xrc, yrc, zrc)} with using the calibration matrix information.
Here, the z coordinate value in the three-dimensional coordinates (xrc, yrc, zrc) of the world coordinate system calculated by the calibration matrix information is a z coordinate value of the arbitrary point A on the capturing image 501, so all of the z coordinate value of the arbitrary points A on the capturing image 501 are of a same value. Then, the z coordinate value of the world coordinate system of the ball B flying in the z-axis direction needs to be calculated by a different method.
Therefore, the motion parameter calculating part 202 calculates a z coordinate value of the world coordinate system of the ball B based on a relationship with the calculated radius r of the ball B and the angle θ between both right and left ends of the ball B of the capturing image 501 in the z-axis direction on the basis of the center CR of the camera 10 of the world coordinate system with using Law of cosines. As shown in FIG. 5B, by the following formulas (1) and (2), the Law of cosines is established among a distance l of the both right and left ends of the ball B of the capturing image 501, a distance l corresponding to the diameter 2r of the ball B, a distance D between the left end (or the right end) of the ball B of the capturing image 501 and the center CR of the camera 10 of the world coordinate system and an angle θ between the both right and left ends of the ball B of the capturing image 501 in the z-axis direction on the basis of the center CR of the camera 10 of the world coordinate system.
lsup2 = Dsup2+Dsup2-2*D*cosθ = 2Dsup2 * (1-cosθ) ... (1)
D = SQR {lsup2/ (2* (1-cosθ))} ... (2)
The motion parameter calculating part 202 converts a pixel of the radius r of the ball B into a length with using a previously calculated scale to convert a length (real size) from a pixel, calculates the diameter l (= 2r) (length) of the ball B from the converted radius r (length) of the ball B, calculates the angle θ (degree) between the both right and left ends of the ball B of the capturing image 501 in the z-axis direction from the focal distance f (length) of the camera 10 and the diameter l (length) of the ball B, and calculates the distance D (length) obtained by substituting the diameter l (length) of the ball B and the angle θ (degree) for the above formula (2). Here, the distance D (length) is approximated to the z coordinate value of the world coordinate system of the ball B, so the motion parameter calculating part 202 estimates the calculated distance D (length) in the z coordinate value of the world coordinate system of the ball B. In addition, the above processing is carried out for each of the first ball and the second ball.
And, the motion parameter calculating part 202 calculates a motion parameter (ball speed BS, launch angle LA and side angle SA) of the ball B based on the calculated center coordinates c {three-dimensional coordinates (xrcj, yrcj, zrcj) (j=1,2)} of the first ball and the second ball and an interval of the capturing time of the first ball image and the second ball image (FIG. 3, S105).
The method that the motion parameter calculating part 202 calculates is not particularly limited. As shown in FIG. 6A, the ball speed BS, the launch angle LA and the side angle SA can be calculated based on the center coordinates c1 {three-dimensional coordinates (xrc1, yrc1, zrc1)} of the first ball B1 of the first capturing image in the world coordinate system, the center coordinates c2 {three-dimensional coordinates (xrc2, yrc2, zrc2)} of the second ball B2 of the second capturing image, the first time t1 (sec) when the first capturing image 401 is captured and the second time t2 (sec) when the second capturing image 401 is captured.
Concretely, the motion parameter calculating part 202 calculates speeds (Vx, Vy, Vz) of the ball B on each axis in the world coordinate system by substituting the above value for the following formulas (3) (4) (5) and (6) and calculates a total speed BS of the ball B.
Vx = (xrc2-xrc1) / (t2-t1) ... (3)
Vy = (yrc2-yrc1) / (t2-t1) ... (4)
Vz = (zrc2-zrc1) / (t2-t1) ... (5)
BS = SQR (Vxsup2+Vysup2+Vzsup2) ... (6)
And, the motion parameter calculating part 202 calculates a launch angle LA and a side angle SA in the world coordinate system by substituting the calculated speeds (Vx, Vy, Vz) of the ball B on each axis for the following formulas (7) and (8). In addition, PI means the circular constant.
LA = 180* {tan sup(-1) (Vy/Vx) /PI} ... (7)
SA = 180* {tan sup(-1) (Vz/Vx) /PI} ... (8)
After the motion parameter calculating part 202 finishes capturing the motion parameter of the ball B, then, a rotation parameter of the ball B is carried out. First, an image corresponding part 203 of the flight parameter measuring apparatus 1 generates a first registered ball image obtained by making the first ball image correspond to the second ball image in the camera coordinate system (FIG. 3, S106).
The method that the image corresponding part 203 generates is not particularly limited. As shown in FIG. 6B, at first the image corresponding part 203 corresponds a position (coordinates) of the first ball image 601a (in the first capturing image) to a position (coordinates) of the second ball image 602a (in the second capturing image) by translating the center coordinates c1 (xic1, yic1) of the first ball image 601a (B1) in the camera coordinate system to the center coordinates c2 (xic2, yic2) of the second ball image 602a (B2) (of the second capturing image 602) in the camera coordinate system.
Next, the image corresponding part 203 calculates a size ratio r2/r1 obtained by dividing a radius r2 (pixel) of the second ball image 602a (B2) by a radius r1 (pixel) of the first ball image 601a (B1), multiplies the size ratio r2/r1 by the first ball image 601a (B1) and generates the multiplied first ball image as the first registered ball image 601b obtained by making a size of the first ball image 601a correspond to a size of the second ball image 602a. The first registered ball image 601b is the image to adjust a viewpoint of the first ball B1 to a viewpoint of the second ball B2. When the ball B is rotated, the first ball image 601a is an image before the rotation, the second ball image 602a is an image after the rotation and the surface (mapped points) of the both are different.
In addition, when generating the first registered ball image 601b, the image corresponding part 203 may calculate correspondence coordinates (xi11, yi11) of the first registered ball image 601b corresponding to arbitrary coordinates of the second ball image 602a with using the center coordinates c1 (xic1, yic1) of the first ball image 601a, the arbitrary coordinates (xi2, yi2) of the second ball image 602a and the center coordinates c2 (xic2, yic2) of the second ball image 602a in the camera coordinate system, the size ratio r2/r1 and the following formulas (9) and (10) .
xi11 = (xi2-xic2 )* r2/r1+xic1 ... (9)
yi11 = (yi2-yic2 )* r2/r1+yic1 ... (10)
Here, a pixel comprising the first ball image 601a associates 2D coordinates (xi1, yi1) (pixel) in the camera coordinate system with a pixel value indicating a gray value, the unit of the pixel of the camera coordinate system is different from the unit of the pixel of the image with the size ratio r2/r1 (-), and does not have a decimal. Therefore, when the position and the size of the first ball image 601a is corresponded to the position and the size of the second ball image 602a, as shown in FIG. 7A, it is a possibility to deviate the arbitrary coordinates (xi11, yi11) of the pixel of the first registered ball image 601b in the camera coordinate system from the arbitrary coordinates (xi1, yi1) of the pixel of the first ball image 601a (in the camera coordinate system).
Then, the image corresponding part 203 estimates (interpolates) a pixel value of a target pixel of the first registered ball image 601b based on pixel values of respective four pixels (peripheral pixels or closer pixels) of the first ball image 601a, the four pixels arranged adjacently to four ends of the target pixel of the first registered ball image 601b. In this way, it is possible to dissolve a shift between the pixel value of the pixel of the first registered ball image 601b and the pixel value of the pixel of the first ball image 601a, and to calculate the rotation parameter accurately.
Concretely, the image corresponding part 203 estimates a pixel value I (xi11, yi11) {in arbitrary coordinates (xi11, yi11) of the camera coordinate system} of the target pixel of the first registered ball image 601b by substituting a pixel values I (xi1, yi1), I (xi1+1, yi1), I (xi1+1, yi1+1) and I (xi1, yi1+1) of the peripheral pixels of the first ball image 601a, the peripheral pixels arranged adjacently to the four ends of the target pixel of the first registered ball image 601b for the following formulas (11), (12) and (13).
I (xi11, yi11) = I (xi1, yi1 )*( 1-fx )*( 1-fy) +I (xi1+1, yi1 )*( 1-fx )* fy+ I (xi1+1, yi1+1 )* fx * fy+ I (xi1, yi1+1 )* fx *( 1-fy) ... (11))
fx = xi11-xi1 ... (12)
fy = yi11-yi1 ... (13)
When the image corresponding part 203 finishes generating, a 3D model constructing part 204 of the flight parameter measuring apparatus 1 constructs a 3D model of the first registered ball image 601b obtained by converting the camera coordinate system of the generated first registered ball image 601b into the world coordinate system of the generated first registered ball image 601b (FIG. 3, S107).
The method that the 3D model constructing part 204 constructs is not particularly limited. At first, as shown in FIG. 7B, the 3D model constructing part 204 extracts only a region of interest (Region of Interest : interest domain : ROI) of the first registered ball image 601b using center coordinates c11 (pixel) of the first registered ball image 601b and a radius r11 (pixel) of the first registered ball image 601b in the camera coordinate system. The first registered ball image 601b indicates the ball (call a first registered ball B1`). Concretely, the 3D model constructing part 204 calculates beginning point coordinates b11 (xib11, yib11) of the first registered ball image 601b (in the camera coordinate system) and end point coordinates e11 (xie11, yie11) of the first registered ball image 601b (in the camera coordinate system) with using the center coordinates c11 (xic11, yic11) of the first registered ball image 601b, the radius r11 (pixel) of the first registered ball B1`, and the following formulas (14), (15), (16) and (17).
xib11 = xic11-r11 ... (14)
yib11 = yic11-r11 ... (15)
xie11 = xic11+r11 ... (16)
yie11 = yic11+r11 ... (17)
An area surrounded by a circle of the radius r11 with the center coordinates c11 (xic11, yic11) as the center of the circle is the first registered ball image 601b (ROI image). Next, the 3D model constructing part 204 converts the camera coordinate system {two-dimensional coordinates (xi11, yi11)} of the extracted first registered ball image 601b of the ROI image into a world coordinate system {three-dimensional coordinates (xr11, yr11, zr11)} with using the calibration matrix information.
Here, as mentioned above, all of the z coordinate values (zr11) of the world coordinate system calculated by the calibration matrix information are of a same value on the ROI image of the extracted first registered ball image 601b, therefore, the z coordinate value needs to be calculated by a different method.
The first registered ball image 601b is bulged into a hemispherical shape in the z-axis direction at only the radius r11 (length) of the first registered ball B1` from the center coordinates c11 (xrc11, yrc11) (length) of the first registered ball B1` three-dimensionally, and comprises a visible surface (a visible area) of the first registered ball B1` captured (seen) from the camera 10.
Then, the 3D model constructing part 204 converts a pixel of the radius r11 of the first registered ball image 601b (B1`) into a length of the radius r11 of the first registered ball image 601b (B1`), as shown in FIG. 7B, forms a visible surface 601c of a hemispherical first registered ball B1` toward the camera 10 with using the center coordinates c11 (xrc11, yrc11) (length) of the first registered ball image 601b in the world coordinate system and the radius r11 (length) of the first registered ball image 601b (B1`). The 3D model constructing part 204 extends a straight line lz projecting in the z-axis direction (toward the camera 10) from a target pixel C (xr11, yr11) (a mapped point) {in target coordinates (xr11, yr11) of the camera coordinate system} of the first registered ball image 601b into the formed visible surface 601c, and calculates the z coordinate value (zr11) of an intersection point of the straight line lz and the formed visible surface 601c. The 3D model constructing part 204 calculates a correspondence pixel C ` (xr11, yr11, zr11) of x, y and z (three-dimensional) coordinates (xr11, yr11, zr11) of the first registered ball image 601b by assigning the calculated z coordinate (zr11) to the target pixel C (xr11, yr11) of the x and y (two-dimensional) coordinates (xr11, yr11) converted by the calibration matrix information in the extracted first registered ball image 601b. The 3D model constructing part 204 calculates correspondence pixels corresponding to all target pixels comprising the first registered ball image 601b, and constructs a 3D model of the first registered ball image 601b comprised with all the calculated correspondence pixels. By performing the above process for all pixels of the first registered ball image 601b, the 3D model of the first registered ball image 601b is constructed (three-dimensional modeling).
In addition, the z coordinate (zr11) of the correspondence pixel C ` of the first registered ball image 601b is calculated easily by using the center coordinates c11 (xrc11, yrc11) (length) of the first registered ball image 601b in the world coordinate system, the radius r11 (length) of the first registered ball B1`, and the following formula (18), and adopting a positive value in two calculated values.
zr11 = SQR [r11 sup2 - {(xr11-xrc11) sup2 + (yr11-yrc11) sup2}] ... (18)
When the 3D model constructing part 204 finishes constructing, a virtual rotating part 205 of the flight parameter measuring apparatus 1 rotates virtually the constructed 3D model of the first registered ball image 601b in the world coordinate system by using an initial rotation parameter (e.g., a spin axis SX0 and a total spin TS0 as initial values) estimated in advance and rotation matrix information (FIG. 3, S108).
The method that the virtual rotating part 205 rotates is not particularly limited. At first, the virtual rotating part 205 uses the rotation matrix information to simulate the rotation of the 3D model in the world coordinate system. The rotation matrix information R associates three-dimensional coordinates V (xr11, yr11, zr11) of the 3D model before the rotation and an initial rotation parameter (SX0, TS0) with three-dimensional coordinates V` (xr11`, yr11`, zr11`) of the 3D model after the rotation. The rotation matrix information R is expressed generally in the following formula (19).
V` (xr11`, yr11`, zr11`) = R (SX0, TS0)* V (xr11, yr11, zr11) ... (19)
Here, the rotation matrix information R may use a three-dimensional angle (an Eulerian angle), but the rotation matrix information R in the present invention sets a spin axis and a total spin corresponding to the three-dimensional angle.
As shown in FIG. 8A, the virtual rotating part 205 gets three-dimensional coordinates (xr11`, yr11`, zr11`) of the 3D model after the rotation by substituting the three-dimensional coordinates (xr11, yr11, zr11) of the 3D model before the rotation and the initial rotation parameter (SX0, TS0) for the rotation matrix information R. By using the rotation matrix information R, it is possible to perform the calculation processing required for a virtual rotation once, and to simplify the processing.
When the virtual rotating part 205 finishes rotating, a registered image generating part 206 of the flight parameter measuring apparatus 1 generates a second registered ball image in the camera coordinate system obtained by converting the world coordinate system of the visible surface , captured from the camera 10 in the 3D models of the first registered ball image 601b after the rotation , into a camera coordinate system of the visible surface (FIG. 3, S109).
The method that the registered image generating part 206 generates is not particularly limited. At first, as shown in FIG. 8A, the registered image generating part 206 extracts a visible surface 801a hemispherically extending in the z-axis direction toward the camera 10 from the center coordinates c11 (xrc11, yrc11) of the first registered ball image 601b (B1`) after the rotation in the 3D model 801 (three-dimensional coordinates). The extracted visible surface 801a is included in a part of the second ball image 602a.
Next, the registered image generating part 206 converts the world coordinate system {three-dimensional coordinates (xr11`, yr11`, zr11`)} of the extracted visible surface 801a into the camera coordinate system {two-dimensional coordinates (xi11`, yi11`)} of the extracted visible surface 801a with using the calibration matrix information. And, as shown in FIG. 8B, the registered image generating part 206 generates the converted visible surface 801a in the 3D models of the first registered ball image 601b after the rotation as the second registered ball image 801b of the camera coordinate system. In this way, it is possible to compare the second registered ball image 801b with the second ball image 602a.
When the registered image generating part 206 finishes generating, a difference calculating part 207 of the flight parameter measuring apparatus 1 calculates a difference between the generated second registered ball image 801b and the second ball image 602a (FIG. 3, S110).
The method that the difference calculating part 207 calculates is not particularly limited. The second registered ball image 801b is generated with using the first registered ball image 601b before the rotation, so the second registered ball image 801b does not correspond to all of second ball image 602a. Then, at first, as shown in FIG. 8B, the difference calculating part 207 extracts the second compared ball image 802a , corresponding to the second registered ball image 801b , in the second ball image 602a. Here, the camera coordinate system {two-dimensional coordinates (xi11`, yi11`)} of the second compared ball image 802a corresponds to the camera coordinate system {two-dimensional coordinates (xi2, yi2)} of the second registered ball image 801b. And, the second compared ball image 802a is an image for comparison with the second registered ball image 801b. In this way, by generating the second registered ball image 801b based on the first registered ball image 601b corresponding to the second ball image 602a, so it is easy to compare with the second ball image 602a (the second compared ball image 802a), and it is possible to simplify the processing.
And, the difference calculating part 207 calculates a difference between the second registered ball image 801b and the second compared ball image 802a. Fig. 8B is an example indicating the second registered ball image 801b and the second compared ball image 802a. If the estimated rotation parameter generating the second registered ball image 801b coincides with a real value, the second registered ball image 801b is approximately same as the second compared ball image 802a, and the above difference becomes the minimum value. Otherwise, if the estimated rotation parameter generating the second registered ball image 801b differs from the real value, the second registered ball image 801b is completely different from the second compared ball image 802a and the above difference becomes larger. In the present invention, by comparing the second registered ball image 801b with the second compared ball image 802a, it is possible to calculate the rotation parameter with using the natural design of the surface of the ball B without using the specific logos or the like of the surface of the ball B as a mark.
Here, the difference calculating part 207 calculates the subtracted value obtained by subtracting a pixel value of a pixel of the second compared ball image 802a from a pixel value of a pixel of the second registered ball image 801b for respective pixels, calculates a squared value obtained by squaring the calculated subtracted value for respective pixels and calculates a total value obtained by summing the calculated squared value of respective pixels as the difference. In this way, it is possible to reflect a slight variation between the second registered ball image 801b and the second compared ball image 802a in the difference, and to calculate the rotation parameter of the ball B accurately.
In addition, in the above case, the difference calculating part 207 extracts the second compared ball image 802a and calculates the difference between the second registered ball image 801b and the second compared ball image 802a. To simplify the processing, the difference calculating part 207 may compare the second ball image 602a with the second registered ball image 801b as it is, and calculate the difference. Namely, even if the difference calculating part 207 calculates the difference, the difference of an area of the second ball image 602a not corresponding to the second registered ball image 801b is with an approximately constant value, so the difference of an area of the second ball image 602a corresponding to the second registered ball image 801b greatly contributes to the total difference. When the rotation parameter making the difference of the minimum value that is found easily, the difference calculating part 207 may calculate the difference between the second registered ball image 801b and the second ball image 602a.
When the difference calculating part 207 finishes calculating, a rotation parameter determining part 208 of the flight parameter measuring apparatus 1 repeats the virtual rotation of the 3D model, the generation of the second registered ball image and the calculation of the difference by changing the initial rotation parameter, and determines a rotation parameter to minimize the difference as a real rotation parameter of the ball B.
The method that the rotation parameter determining part 208 determines is not particularly limited. At first, to calculate the minimum value of the difference (FIG. 3, S111NO), the rotation parameter determining part 208 sets the difference calculated some time ago as a standard difference and changes (e.g., increases or decreases) the initial rotation parameter (the spin axis SX0 and the total spin TS0) used some time ago with only a predetermined change value (FIG. 3, S112).
Next, the rotation parameter determining part 208 rotates virtually the 3D model of the first registered ball image 601b by using the changed initial rotation parameter and the rotation matrix information through the virtual rotating part 205 (FIG. 3, S108).
And, the rotation parameter determining part 208 generates the second registered ball image in the camera coordinate system obtained by converting a world coordinate system of a new visible surface , captured from the camera 10 in the 3D model of the first registered ball image 601b after the rotation , into a camera coordinate system of the new visible surface through the registered image generating part 206 (FIG. 3, S109).
Further, the rotation parameter determining part 208 calculates a new difference between the generated second registered ball image and the second ball image 602a (the second compared ball image) through the difference calculating part 207 (FIG. 3, S110).
The rotation parameter determining part 208 sets the new difference as a compared difference, compares the compared difference with the standard difference and determines a difference which is smaller as a temporary difference (FIG. 3, S111).
Here, if the compared difference is the temporary difference, it is possible to determine that the second rotation parameter , increased by the change value more than the initial rotation parameter , makes the difference small. Therefore, to calculate the minimum value of the difference (FIG. 3, S111NO), the rotation parameter determining part 208 calculates the third rotation parameter increased by the change value more than the second rotation parameter (FIG. 3, S112) and calculates a new compared difference through S108, S109 and S110. In this case, the temporary difference calculated by the second rotation parameter becomes the standard difference and the new compared difference of the third rotation parameter becomes the compared difference.
Otherwise, if the standard difference is the temporary difference, it is possible to determine that the initial rotation parameter rather than the second rotation parameter makes the difference small. Therefore, to calculate the minimum value of the difference (FIG. 3, S111NO), this time, the rotation parameter determining part 208 sets the standard difference calculated with the initial rotation parameter, calculates third rotation parameter decreased by the change value less than the initial rotation parameter (FIG. 3, S112) contrary to the previous change and calculates a new compared difference through S108, S109 and S110. In this case, the temporary difference calculated by the initial rotation parameter becomes the standard difference and the new compared difference of the third rotation parameter becomes the compared difference.
In this way, the rotation parameter determining part 208 repeats S108, S109 and S110, re-changes (increases or decreases) the changed initial rotation parameter (and the changed rotation parameter) by the change value, and performs convergence arithmetic operation so that the calculated difference can become the minimum value by re-changing the rotation parameter. For example, the optimization method to perform convergence arithmetic operation can use the least square method, the Gauss Newton method of the nonlinear least square method.
About the termination of the convergence arithmetic operation, for example, when it is determined if the standard difference is small after it is determined repeatedly if the compared difference is small, it is possible to determine that the Nth rotation parameter (the Nth spin axis SXn, the Nth total spin TSn) calculating the standard difference makes the difference the minimum value. Otherwise, when it is determined if the compared difference is small after it is determined repeatedly if the standard difference is small, it is possible to determine that the Nth rotation parameter (the Nth spin axis SXn, the Nth total spin TSn) calculating the compared difference makes the difference the minimum value. In addition, the termination of the convergence arithmetic operation may be appropriately set by the kind of the optimization method.
By the way, as a result of the repetition, when the calculated difference becomes the minimum value (FIG. 3, S111YES), the rotation parameter decision part 208 determines the rotation parameter (SXn, TSn) to minimize the difference as a real rotation parameter (spin axis SX, total spin TS) of the ball B (FIG. 3, S113).
When the rotation parameter decision part 208 finishes determining, a flight parameter displaying part 209 of the flight parameter measuring apparatus 1 displays the motion parameter (ball speed BS, launch angle LA and side angle SA) of the ball B by the motion parameter calculating part 202 and the rotation parameter (spin axis SX, total spin TS) of the ball B by the rotation parameter decision part 208 at a predetermined display part (FIG. 3, S114).
The method that the flight parameter displaying part 209 displays is not particularly limited. For example, the flight parameter displaying part 209 may display at the display part previously set to the flight parameter measuring apparatus 1 or display at the player`s terminal apparatus (liquid crystal display) being communicable in radio with the flight parameter measuring apparatus 1. In this way, the player can know the flight parameter of the ball B own launched.
In this way, the measurement of the flight parameter of the ball B finishes. The player checks the flight parameter of the ball B his launched and puts a new ball B beside the flight parameter measuring apparatus 1. The flight parameter measuring apparatus 1 comes back to S101.
By the way, the present invention determines the rotation parameter to minimize the difference between the second registered ball image 801b and the second ball image 602a (the second compared ball image 802a), therefore, to improve the measurement accuracy of the rotation parameter, the constitution of the second registered ball image 801b and the second ball image 602a is extremely important.
Here, the second registered ball image 801b, caused by the generation of the first registered ball image 601b , and the second ball image 602a are obtained by capturing the ball B flying in different space and different timing, so the reflectance of light from the ball B to the camera 10 is not constant about each of the first registered ball image 601b and the second ball image 602a.
Then, the present invention may comprise furthermore an image processing part 210 respectively normalizing the first registered ball image 601b and the second ball image 602a by Retinex processing, respectively detecting (extracting) a ball structure indicating a characteristic structure of a whole surface of the ball from the normalized first registered ball image 601b and the normalized second ball image 602a by binarization processing, respectively detecting (extracting) a special feature indicating a local characteristic on the ball from the normalized first registered ball image 601b and the normalized second ball image 602a by patch binarization processing, and respectively re-constructing the (new) first registered ball image 601b and the (new) second ball image 602a obtained by respectively composing the ball structure and the special feature of the normalized first registered ball image 601b and the normalized second ball image 602a. The 3D model constructing part 204 constructs the 3D model of the re-constructed first registered ball image, and the difference calculating part 207 extracts the second compared ball image in the re-constructed second ball image.
Here, as shown in FIG. 9A, the re-construction of the ball image of the image processing part 210 has three processing of (1) Normalizing by Retinex processing, (2) Detecting Ball Structure, and (3) Detecting Special Feature. It is understood that the first registered ball image 901b re-constructing the first registered ball image 601b by the image processing part 210 expresses only a characteristic image. In this way, it is possible to improve the measurement accuracy of the rotation parameter.
The Retinex processing means a processing modeling a sight of a person, considering peripheral pixels to the four ends of the target pixel and correcting the pixel value of the target pixel. Although the registered ball image 601b and the second ball image 602a express the ball B in different space and different timing, the reflectance of the light and the luminosity of ball B in different space are equalized by the Retinex processing, and it is possible to generate the image expressing the ball B in same space. In this way, it is easy to calculate the difference between the second registered ball image 801b and the second ball image 602a.
The normalized ball image by the Retinex processing comprises of a ratio (a strength ratio) between a pixel value and the mean pixel value of the peripheral pixels. The ratio L (x, y) {in coordinates (x, y)} of the target pixel of the normalized ball image can be calculated easily with using the pixel value I (x, y) {in coordinates (x, y)} of the ball image in the specific camera coordinates (x, y), the pixel value (I * G ∂) (x, y) of the peripheral pixels of the target value operating a filter to make a senility image, and the following formula (20).
L (x, y) = I (x, y) / (I * G ∂) (x, y) ... (20)
Here, for example, the filter is a smoothing filter, a Gaussian filter or the like.
The whole surface of the ball B has various concavities-convexities. For example, a golf ball has many dimples on the whole surface, a soccer ball has many pentagons and hexagons on the whole surface and a baseball and a tennis ball have many seams on the whole surface. The image processing part 210 smooths a pixel having a small pixel value by performing the binarization processing to the normalized ball image and emphasizes a pixel having a big pixel value. Namely, a gradation in the normalized ball image is emphasized and a dark area becomes the ball structure. In this way, it is possible to distribute a characteristic of the whole surface of the ball B and a background.
Here, for example, the binarization processing assigns "1" (white) to the target pixel when the pixel value of the target pixel is a predetermined threshold or more than the threshold, or assigns "0" (black) to the target pixel when the pixel value of the target pixel is less than the threshold. For example, the threshold may be set the value being common to all pixels of the normalized ball image or may be set the value being different a respective plural area obtained by dividing the normalized ball image into the plural area. The binarization processing includes an outline detecting processing tracking an edge of the target pixel assigned "0" (black), detecting an adjacent pixel to be the closest to the target pixel and finding a connection part of the target pixel. For example, the outline detecting processing can be a Sobel processing, a Canny processing or an EDPF (Edge Draw Parameter Free) processing or the like. The Sobel processing is a filter processing calculating a primary spatial differential from the normalized ball image and detecting an edge of the normalized ball image based on a primary spatial differential. The Canny processing is an algorithm removing a noise of the normalized ball image, finding a luminance gradient of the normalized ball image after the removement of the noise, removing an unrelated pixel for the edge comprised of the luminance gradient and performing the binarization processing to an image removing an unrelated pixel by a hysteresis using two thresholds. The EDPF processing is an application of an ED processing and is a processing to dispense with the setting of the parameter necessary for the ED processing. The ED processing is an algorithm running real time, removing an image of the no-edge and generating an edge map from the normalized ball image.
The surface of the ball B has a break, a wound, the logo (mark) of the manufacturer in local (partial). The image processing part 210 performs the patch binarization processing to the normalized ball image, emphasizes a pixel of consecutive areas partially and smooths a pixel of other areas. In this way, it is possible to detect the special feature of the surface of the ball B. Here, patch binarization processing is a binarization processing setting the threshold to respective pixels.
The action effect of the re-construction of the ball image by the image processing part 210 will be explained. As shown in FIG. 9B, when there is not the re-construction of the ball image by the image processing part 210, the gradation of the first registered ball image 601b and the second ball image 602a are variation, the change for the difference between the second registered ball image and the second ball image is easy to become small and it is hard to find the minimum value. Otherwise, when there is the re-construction of the ball image (the re-constructed first registered ball image and the re-constructed second ball image) by the image processing part 210, the gradation of the re-constructed first registered ball image 901b and the re-constructed second ball image 902a are clear, the change for the difference between the second registered ball image and the second ball image is easy to become big and it is easy to find the minimum value. Then, it is possible to simplify the processing by the re-construction of the ball image of the image processing part 210, it is easy to find the minimum value of the difference and it is possible to improve the measurement accuracy of the rotation parameter.
In addition, for example, in S106, when the first registered ball image is generated, the image processing part 210 re-constructs the first registered ball image and the second ball image, the 3D model of the re-constructed the re-constructed first registered ball image is constructed and later processing goes smoothly.
<Examples>
The present invention will be explained below according to Examples, etc., and does not limit by there.
At first, we produced a flight parameter measuring apparatus 1 experimentally based on FIG. 1 - FIG. 3, set the flight parameter measuring apparatus 1 as Example, and measured a flight parameter of a golf ball B which a golf robot launched with using Example. As shown in FIG. 10A, we put the golf ball B on the tea of Golf practice range, put a commercial flight parameter measuring apparatus 10 on the right side of the golf ball B and put the flight parameter measuring apparatus 1 in the present invention on the left side of the golf ball B. Here, the commercial flight parameter measuring apparatus 10 is an existing product to measure a flight parameter accurately. And, when the golf robot launched the golf ball B with a golf club E, the commercial flight parameter measuring apparatus 10 and the flight parameter measuring apparatus 1 in the present invention measured a flight parameter of the golf ball B at the same time. The golf robot was adopted to lose the error by the habit of the shot and launched the golf ball B with the golf club E on various conditions (swing speed, launch direction, launch angle). We inspected a measurement accuracy of the flight parameter measuring apparatus 1 by showing graphically a measurement result each of the commercial flight parameter measuring apparatus 10 and the flight parameter measuring apparatus 1 in the present invention.
As the result, as shown in FIG. 10B, the speed of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the speed of the golf ball B measured by commercial flight parameter measuring apparatus 10. As shown in FIG. 11A, the launch angle of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the launch angle of the golf ball B measured by commercial flight parameter measuring apparatus 10, too. As shown in FIG. 11B, the side angle of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the side angle of the golf ball B measured by commercial flight parameter measuring apparatus 10, too.
Surprisingly, as shown in FIG. 12A, the spin axis of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the spin axis of the golf ball B measured by commercial flight parameter measuring apparatus 10, too. And, as shown in FIG. 12B, the total spin of the golf ball B measured by the flight parameter measuring apparatus 1 in the present invention coincided approximately with the total spin of the golf ball B measured by commercial flight parameter measuring apparatus 10, too. Therefore, we understood that the flight parameter measuring apparatus 1 in the present invention can measure accurately the flight parameters of the ball by a simple image processing method.
In addition, the embodiment of the present invention corresponds the first ball image to the second ball image, not only this, corresponds the second ball image to the first ball image and gets the same action effect. The embodiment of the present invention was explained the flight parameter measuring apparatus 1 corresponding to the golf ball B, it is not necessary to limit it to this. The present invention can be adopted widely to an apparatus or a method to measure a flight parameter of a ball such as baseball, tennis, soccer, rugby, ice hockey, gate ball, ball game to launch (fly) a ball B or the like.
In the embodiment of the present invention, the flight parameter measuring apparatus 1 is configured to include each unit, but it may be configured that a program for materializing the units is stored in a storage medium and the storage medium is provided. In such configuration, the program is read on the apparatus materializes the respective units. In this case, the program read from the storage medium provides the effect of the present invention. Additionally, the steps executed by the respective units may be stored in the hard disk.
As described above, the flight parameter measuring apparatus and the flight parameter measuring method are useful as an apparatus and a method for measuring a flight parameter of the ball in every ball game to fly a ball. It is effective as the flight parameter measuring apparatus and the flight parameter measuring method that can measure accurately the flight parameters of the ball by a simple image processing method.
1 Flight parameter measuring apparatus
201 Image capturing part
202 Motion parameter calculating part
203 Image corresponding part
204 3D model constructing part
205 Virtual rotating part
206 Registered image generating part
207 Difference calculating part
208 Rotation parameter determining part
209 Flight parameter displaying part
210 Image processing part

Claims (9)

  1. A flight parameter measuring apparatus comprising:
    an image capturing part capturing a ball in flight with a camera continuously, and getting a first ball image indicating the ball in a first capturing image captured first and a second ball image indicating the ball in a second capturing image captured second;
    an image corresponding part generating a first registered ball image obtained by making a size of the first ball image correspond to a size of the second ball image in a camera coordinate system;
    a 3D model constructing part constructing a 3D model of the first registered ball image obtained by converting a camera coordinate system of the generated first registered ball image into a world coordinate system of the generated first registered ball image;
    a virtual rotating part rotating virtually the constructed 3D model of the first registered ball image in the world coordinate system by using an initial rotation parameter estimated in advance and rotation matrix information;
    a registered image generating part generating a second registered ball image in a camera coordinate system obtained by converting a world coordinate system of a visible surface , captured from the camera in the 3D model of the first registered ball image after the rotation , into a camera coordinate system of the visible surface;
    a difference calculating part extracting a second compared ball image , corresponding to the second registered ball image , in the second ball image and calculating a difference between the second registered ball image and the second compared ball image; and
    a rotation parameter determining part repeating the virtual rotation of the 3D model, the generation of the second registered ball image and the calculation of the difference by changing the initial rotation parameter, and determining a rotation parameter to minimize the difference as a real rotation parameter of the ball.
  2. The flight parameter measuring apparatus according to claim 1, further comprising:
    an image processing part respectively normalizing the first registered ball image and the second ball image by Retinex processing, respectively detecting a ball structure indicating a characteristic structure of a whole surface of the ball from the normalized first registered ball image and the normalized second ball image by binarization processing, respectively detecting a special feature indicating a local characteristic on the ball from the normalized first registered ball image and the normalized second ball image by patch binarization processing, and respectively re-constructing the first registered ball image and the second ball image obtained by respectively composing the ball structure and the special feature of the normalized first registered ball image and the normalized second ball image, wherein the 3D model constructing part constructs the 3D model of the re-constructed first registered ball image, and the difference calculating part extracts the second compared ball image in the re-constructed second ball image.
  3. The flight parameter measuring apparatus according to claim 1, wherein:
    the image corresponding part corresponds a position of the first ball image to a position of the second ball image by translating center coordinates of the first ball image in the camera coordinate system to center coordinates of the second ball image in the camera coordinate system, calculates a size ratio obtained by dividing a radius of the second ball image by a radius of the first ball image in the camera coordinate system, multiplies the size ratio by the first ball image and generates the multiplied first ball image as the first registered ball image.
  4. The flight parameter measuring apparatus according to claim 1, wherein:
    the 3D model constructing part extracts only the first registered ball image using center coordinates of the first registered ball image and a radius of the first registered ball image in the camera coordinate system, converts the camera coordinate system of the extracted first registered ball image into a world coordinate system with using calibration matrix information of the camera, converts a pixel of the radius of the first registered ball image into a length of the radius of the first registered ball image, forms a visible surface of a hemispherical first registered ball toward the camera with using center coordinates of the first registered ball image in the world coordinate system and the converted length of the radius of the first registered ball image, extends a straight line projecting in a z-axis direction toward the camera from a target pixel of the first registered ball image into the formed visible surface, calculates a z coordinate of an intersection point of the straight line and the formed visible surface, calculates a correspondence pixel of x, y and z coordinates of the first registered ball image in the world coordinate system by assigning the calculated z coordinate to the target pixel of the x and y coordinates converted by the calibration matrix information in the extracted first registered ball image, calculates correspondence pixels corresponding to all target pixels comprising the first registered ball image, and constructs the 3D model of the first registered ball image comprised with all the calculated correspondence pixels.
  5. The flight parameter measuring apparatus according to claim 1, wherein:
    the virtual rotating part uses the rotation matrix information to simulate the rotation of the 3D model in the world coordinate system, the rotation matrix information associating three-dimensional coordinates of the 3D model before the rotation and an initial rotation parameter with three-dimensional coordinates of the 3D model after the rotation, and gets three-dimensional coordinates of the 3D model after the rotation by substituting the three-dimensional coordinates of the 3D model before the rotation and the initial rotation parameter for the rotation matrix information.
  6. The flight parameter measuring apparatus according to claim 1, wherein:
    the registered image generating part extracts a visible surface hemispherically extending in a z-axis direction toward the camera from center coordinates of the first registered ball image after the rotation in the 3D model, converts the world coordinate system of the extracted visible surface into a camera coordinate system of the extracted visible surface with using calibration matrix information of the camera, and generates the converted visible surface in the 3D models of the first registered ball image after the rotation as the second registered ball image of the camera coordinate system.
  7. The flight parameter measuring apparatus according to claim 1, wherein:
    the difference calculating part calculates a subtracted value obtained by subtracting a pixel value of a pixel of the second compared ball image from a pixel value of a pixel of the second registered ball image for respective pixels, calculates a squared value obtained by squaring the calculated subtracted value for respective pixels, and calculates a total value obtained by summing the calculated squared value of respective pixels as the difference.
  8. The flight parameter measuring apparatus according to claim 1, wherein:
    the rotation parameter determining part changes the initial rotation parameter with only a predetermined change value, repeats the virtual rotation of the 3D model, the generation of the second registered ball image and the calculation of the difference, re-changes the changed initial rotation parameter by the change value, and performs convergence arithmetic operation so that the calculated difference can become the minimum value by re-changing the rotation parameter.
  9. A flight parameter measuring method comprising:
    an image capturing step for capturing a ball in flight with a camera continuously, and getting a first ball image indicating the ball in a first capturing image captured first and a second ball image indicating the ball in a second capturing image captured second;
    an image corresponding step for generating a first registered ball image obtained by making a size of the first ball image correspond to a size of the second ball image in a camera coordinate system;
    a 3D model constructing step for constructing a 3D model of the first registered ball image obtained by converting a camera coordinate system of the generated first registered ball image into a world coordinate system of the generated first registered ball image;
    a virtual rotating step for rotating virtually the constructed 3D model of the first registered ball image in the world coordinate system by using an initial rotation parameter estimated in advance and rotation matrix information;
    a registered image generating step for generating a second registered ball image in the camera coordinate system obtained by converting a world coordinate system of a visible surface , captured from the camera in the 3D model of the first registered ball image after the rotation , into a camera coordinate system of the visible surface;
    a difference calculating step for extracting a second compared ball image , corresponding to the second registered ball image , in the second ball image and calculating a difference between the second registered ball image and the second compared ball image; and
    a rotation parameter determining step for repeating the virtual rotation of the 3D model, the generation of the second registered ball image, and the calculation of the difference by changing the initial rotation parameter, and determining a rotation parameter to minimize the difference as a real rotation parameter of the ball.
PCT/JP2018/021293 2017-06-02 2018-06-01 Flight parameter measuring apparatus and flight parameter measuring method WO2018221746A1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
AU2018256648A AU2018256648B1 (en) 2017-06-02 2018-06-01 Flight parameter measuring apparatus and flight parameter measuring method
CN201880002063.7A CN109392306B (en) 2017-06-02 2018-06-01 Flight parameter measurement device and flight parameter measuring method
SG11201910034R SG11201910034RA (en) 2017-06-02 2018-06-01 Flight parameter measuring apparatus and flight parameter measuring method
EP18785799.0A EP3446065B1 (en) 2017-06-02 2018-06-01 Flight parameter measuring apparatus and flight parameter measuring method
KR1020187034433A KR102002745B1 (en) 2017-06-02 2018-06-01 Flight parameter measurement device and flight parameter measurement method
CA3022839A CA3022839C (en) 2017-06-02 2018-06-01 Flight parameter measuring apparatus and flight parameter measuring method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017109620A JP6236600B1 (en) 2017-06-02 2017-06-02 Flight parameter measuring apparatus and flight parameter measuring method
JP2017-109620 2017-06-02

Publications (1)

Publication Number Publication Date
WO2018221746A1 true WO2018221746A1 (en) 2018-12-06

Family

ID=60477069

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/021293 WO2018221746A1 (en) 2017-06-02 2018-06-01 Flight parameter measuring apparatus and flight parameter measuring method

Country Status (9)

Country Link
US (1) US10345324B2 (en)
EP (1) EP3446065B1 (en)
JP (1) JP6236600B1 (en)
KR (1) KR102002745B1 (en)
CN (1) CN109392306B (en)
CA (1) CA3022839C (en)
SG (1) SG11201910034RA (en)
TW (1) TWI631315B (en)
WO (1) WO2018221746A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6236600B1 (en) * 2017-06-02 2017-11-29 株式会社Gpro Flight parameter measuring apparatus and flight parameter measuring method
KR102084252B1 (en) * 2017-11-29 2020-03-03 한국전자통신연구원 System and method for simultaneous reconsttuction of initial 3d trajectory and velocity using single camera images
JP6838766B2 (en) * 2018-01-23 2021-03-03 ダブリュエイダブリュジーディー インコーポレイテッド Golf ball tracking system
CN110389349B (en) * 2018-04-17 2021-08-17 北京京东尚科信息技术有限公司 Positioning method and device
CN109035276B (en) * 2018-06-26 2022-03-18 北京中科慧眼科技有限公司 Image edge extraction method and device and automatic driving system
JP7115376B2 (en) * 2019-03-18 2022-08-09 日本電信電話株式会社 Rotation state estimation device, method and program
US10832418B1 (en) * 2019-05-09 2020-11-10 Zoox, Inc. Object velocity from images
CN111192321B (en) * 2019-12-31 2023-09-22 武汉市城建工程有限公司 Target three-dimensional positioning method and device
CN113077413A (en) * 2020-01-06 2021-07-06 苏州宝时得电动工具有限公司 Self-moving equipment and control method thereof
US20210256729A1 (en) * 2020-02-13 2021-08-19 Proprio, Inc. Methods and systems for determining calibration quality metrics for a multicamera imaging system
CN111833396B (en) * 2020-06-05 2024-03-29 哈工大机器人(中山)无人装备与人工智能研究院 Method and system for converting camera coordinate system of blood sampling device into world coordinate system
CN111991782B (en) * 2020-08-25 2021-11-30 腾特体育科技南通有限公司 System with motion capture function applied to ice hockey passing and controlling training
CN113345027B (en) * 2021-05-24 2022-05-06 武汉港迪智能技术有限公司 Gantry crane area protection method based on dome camera
CN113884005B (en) * 2021-09-23 2023-08-22 中国人民解放军63620部队 Estimation method for measuring point position of carrier rocket optical measuring system
CN114225361A (en) * 2021-12-09 2022-03-25 栾金源 Tennis ball speed measurement method
CN114510679B (en) * 2021-12-15 2024-04-12 成都飞机工业(集团)有限责任公司 Device position information obtaining method and device, terminal device and storage medium
JP7231877B1 (en) 2022-08-31 2023-03-02 岩崎通信機株式会社 Angle measuring device, angle measuring method, angle measuring program
JP7319751B1 (en) 2023-04-12 2023-08-02 株式会社Knowhere Computer, Program, Information Processing Method and Model Generation Method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040032970A1 (en) * 2002-06-06 2004-02-19 Chris Kiraly Flight parameter measurement system
US20150356748A1 (en) * 2013-01-08 2015-12-10 Golfzon Co., Ltd. Method and apparatus for sensing moving ball

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4734378A (en) * 1985-06-26 1988-03-29 Abbott Laboratories Precipitation of interfering proteins in fluorescence polarization immunoassay for digoxin
JPS6236600A (en) * 1985-08-09 1987-02-17 富士写真フイルム株式会社 Manufacture of radiation image conversion panel
EP0917081B1 (en) * 1997-11-17 2001-10-10 DATALOGIC S.p.A. Maxicode locating method
AU2003274430A1 (en) 2002-06-06 2003-12-22 Wintriss Engineering Corporation Flight parameter measurement system
JP4109094B2 (en) * 2002-12-03 2008-06-25 Sriスポーツ株式会社 Method for measuring the rotational and flight characteristics of a sphere
JP2005291824A (en) * 2004-03-31 2005-10-20 Yokohama National Univ Flying behavior measuring apparatus of flying object, and flying behavior measuring method of flying object
EP1810721A1 (en) * 2006-01-19 2007-07-25 Friends-for-Golfers GmbH Golf diagnosis apparatus, golf equipment device, golf diagnosis system, and method of mounting a golf diagnosis apparatus
JP5240328B2 (en) * 2011-08-08 2013-07-17 カシオ計算機株式会社 Imaging apparatus and program
KR101706200B1 (en) * 2011-11-25 2017-02-16 한국전자통신연구원 Method and apparatus for measuring spin character of rotating body
KR101472274B1 (en) * 2013-01-08 2014-12-12 (주) 골프존 Device for sensing moving ball and method for the same
US9171211B2 (en) 2013-09-20 2015-10-27 Rapsodo Pte. Ltd. Image processing for launch parameters measurement of objects in flight
US9400924B2 (en) * 2014-05-23 2016-07-26 Industrial Technology Research Institute Object recognition method and object recognition apparatus using the same
CN113147578A (en) * 2015-04-10 2021-07-23 麦克赛尔株式会社 Vehicle with image projection part
US20170039683A1 (en) * 2015-08-06 2017-02-09 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, image processing system, and non-transitory computer readable medium
US10290119B2 (en) * 2016-09-15 2019-05-14 Sportsmedia Technology Corporation Multi view camera registration
JP6236600B1 (en) * 2017-06-02 2017-11-29 株式会社Gpro Flight parameter measuring apparatus and flight parameter measuring method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040032970A1 (en) * 2002-06-06 2004-02-19 Chris Kiraly Flight parameter measurement system
US20150356748A1 (en) * 2013-01-08 2015-12-10 Golfzon Co., Ltd. Method and apparatus for sensing moving ball

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3446065A4 *

Also Published As

Publication number Publication date
US20180348249A1 (en) 2018-12-06
KR20180133927A (en) 2018-12-17
CA3022839A1 (en) 2018-12-02
JP2018205074A (en) 2018-12-27
CN109392306B (en) 2019-11-26
KR102002745B1 (en) 2019-07-23
CA3022839C (en) 2019-07-02
SG11201910034RA (en) 2019-11-28
EP3446065B1 (en) 2020-03-25
CN109392306A (en) 2019-02-26
US10345324B2 (en) 2019-07-09
TWI631315B (en) 2018-08-01
JP6236600B1 (en) 2017-11-29
TW201825865A (en) 2018-07-16
EP3446065A4 (en) 2019-06-05
EP3446065A1 (en) 2019-02-27

Similar Documents

Publication Publication Date Title
CA3022839C (en) Flight parameter measuring apparatus and flight parameter measuring method
CN104091324B (en) Quick checkerboard image feature matching algorithm based on connected domain segmentation
CN105286871B (en) Video processing-based body height measurement method
JP6575609B2 (en) Sensing device and sensing method for moving ball
CN110332887A (en) A kind of monocular vision pose measurement system and method based on characteristic light punctuate
Lupascu et al. Automated detection of optic disc location in retinal images
CN110232389A (en) A kind of stereoscopic vision air navigation aid based on green crop feature extraction invariance
CN110648362B (en) Binocular stereo vision badminton positioning identification and posture calculation method
Itami et al. A simple calibration procedure for a 2D LiDAR with respect to a camera
CN104574312A (en) Method and device of calculating center of circle for target image
TW201432624A (en) Method and apparatus for sensing moving ball, and image processing method of ball image for calculation of spin of moving ball
CN109993747A (en) Merge the rapid image matching method of dotted line feature
US20220148153A1 (en) System and method for extracting and measuring shapes of objects having curved surfaces with a vision system
Song et al. Calibration of event-based camera and 3d lidar
CN101617338A (en) Body form generation method, body form generate equipment and program
AU2018256648B1 (en) Flight parameter measuring apparatus and flight parameter measuring method
Chen et al. Object recognition and localization based on kinect camera in complex environment
CN117314792B (en) Depth image restoration method based on RGB image edge capture
Furuno et al. A study on spin-rate measurement using a uniquely marked moving ball
CN117876457A (en) Golf club data measurement method and device and electronic equipment
Karami Image-based 3D metrology of non-collaborative surfaces
CN117830817A (en) Three-dimensional recognition method for underwater V-shaped groove weld joint
Elliott Camera calibration and configuration for estimation of tennis racket position in 3D
CN117372498A (en) Multi-pose bolt size measurement method based on three-dimensional point cloud
Tang et al. Basketball detection based on moving robot

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20187034433

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018785799

Country of ref document: EP

Effective date: 20181119

ENP Entry into the national phase

Ref document number: 2018785799

Country of ref document: EP

Effective date: 20181119

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18785799

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE