CN101947385A - Method for acquiring collision relationship and complete movement trail of billiards in snooker movement - Google Patents

Method for acquiring collision relationship and complete movement trail of billiards in snooker movement Download PDF

Info

Publication number
CN101947385A
CN101947385A CN 201010506981 CN201010506981A CN101947385A CN 101947385 A CN101947385 A CN 101947385A CN 201010506981 CN201010506981 CN 201010506981 CN 201010506981 A CN201010506981 A CN 201010506981A CN 101947385 A CN101947385 A CN 101947385A
Authority
CN
China
Prior art keywords
coordinate
ball
billiard ball
collision
billiard
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN 201010506981
Other languages
Chinese (zh)
Other versions
CN101947385B (en
Inventor
毋立芳
程照辉
涂玲
刘健
刘铮
孙京
刘宪章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Technology
Original Assignee
Beijing University of Technology
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 Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN201010506981A priority Critical patent/CN101947385B/en
Publication of CN101947385A publication Critical patent/CN101947385A/en
Application granted granted Critical
Publication of CN101947385B publication Critical patent/CN101947385B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for acquiring a collision relationship and a complete movement trail of billiards in snooker movement, which comprises the following steps of: acquiring successive frame images of the snooker movement, determining a surface coordinate position of each billiard of each of the frame images, and correcting the movement trail of collision points of the billiards in the movement trail of each billiard; and in the successive frame, judging whether a direction of the movement trail of the current billiard of the current frame is changed or not according to the change of the coordinate position of the movement trail of each billiard, if the direction is changed, judging the collision relationship, and correcting the coordinate of the current billiard at the collision points. The method has the advantages that: according to the disperse billiard position of the adjacent frames, the complete movement trail of the billiards is drawn in real time; data concerned in a match are given to help athletes analyze the direction and the intensity of stroke and help the athletes improve billiard level; and accurate data are provided and comprise a first collision sphere after the athlete hits the billiard, hazard and a pocket position, the out-of-bound billiard, and a hitting distance of the athlete.

Description

In the Snooker motion, obtain the method for billiard ball collision relation and entire motion track
Technical field
The area of computer aided that the present invention relates to be applied to the sports field is obtained the method for billiard movement track, relates to a kind of method of obtaining billiard ball collision relation and entire motion track in the Snooker motion in particular.
Background technology
Snooker (Snooker) billiard ball and American billiard ball are sports that extensively welcome by people, also are simultaneously the events of important sports events such as the Asian Games, international occupation match, demonstrate increasing physical culture glamour.Often hold various contests both at home and abroad, in order to improve athletic level, often to do the statistics of some technical data to the ball that the sportsman hits, particularly want the movement locus of tracking ball, help the sportsman to analyze direction of stroke, dynamics, help the sportsman to improve sports level.Judge the visual judge's of traditional referee who always continues to use method in order to improve the snooker match at present, develop a kind of computer and judged scoring system automatically, though utilize the movement locus that this system can tracking ball, but because system adopts is the camera technology of finding a view, common camera collection is per second 25 frames, what gather is the image sequence that disperses, the point of impingement of the point of impingement of ball and ball, ball and Bian Ku often gather less than, therefore can not obtain real complete movement locus, also can not effectively analyze the collision relation of each ball of table top.
Summary of the invention
The objective of the invention is to propose a kind of method of obtaining billiard ball collision relation and entire motion track in the Snooker motion, this method is depicted the original motion track of billiard movement at first according to the discrete billiard ball position of consecutive frame; According to the movement locus analysis collision relation of ball, the billiard movement track is proofreaied and correct, adjusts, is depicted the entire motion track of billiard movement then; Provide some data of paying close attention in the match, comprising: first collision ball after sportsman's batting, pocket ball and sack position, out-of-bounds ball, athletic hitting distance.
Technical scheme of the present invention is that a kind of method of obtaining billiard ball collision relation and entire motion track in the Snooker motion comprises: obtain the sequential frame image of bar snooker motion, determine the table top plane coordinates position of each billiard ball in each two field picture; Wherein, long limit, storehouse, billiard table table top limit is that X-axis, minor face are Y-axis, and the billiard ball coordinate is a billiard ball centre point coordinate; According to the plane coordinates of each billiard ball in every two field picture, obtain each billiard movement track; Wherein, described obtaining in each billiard movement track the movement locus of the billiard ball point of impingement is revised, the step of described correction comprises:
A, determine the characteristic value of the coordinate position point of each billiard ball in each two field picture, described characteristic value comprises: the straight line that each billiard ball present frame coordinate points and former frame coordinate points constitute is at the difference between the X coordinate of the slope of X-axis, two coordinate points, the angle of air line distance, straight line and X-axis positive direction of difference, two coordinate points between the Y coordinate;
B, in successive frame, variation according to the movement locus position coordinates of each billiard ball, whether the judgement present frame changes when the movement locus direction of forecourt, if change, judge that at first present frame works as forecourt and whether with other billiard ball collision is arranged, determine the point of impingement, revise the coordinate of current billiard ball at the point of impingement if any collision; As collisionless, judge whether present frame has collision with storehouse, table top limit when forecourt, determine the point of impingement, revise the coordinate of current billiard ball if any collision at the point of impingement;
Describedly judge that whether present frame has collision to be with other billiard ball when forecourt:
If the movement locus direction of the current billiard ball of b1 present frame changes, judge that other billiard ball change the distance of the movement locus straight line of the preceding coordinate of direction to current billiard ball;
B11, with the diameter of distance and billiard ball relatively is if distance is less than the billiard ball diameter, then on the movement locus of these billiard ball before current billiard ball change direction;
B12, judge whether these billiard ball have the change of the direction of motion at next frame;
B13, change, then these billiard ball are the collision billiard ball, and present frame is the collision frame, provide the coordinate of collision billiard ball when the collision frame;
B14, obtain the coordinate of current billiard ball at the point of impingement, the slope that is about in described current billiard ball present frame coordinate points and this coordinate points characteristic value constitutes straight line A, obtain through the vertical line B of collision spherical coordinates by straight line A perpendicular to straight line A, obtain the intersecting point coordinate of straight line A and vertical line B, on straight line A, obtain a new virtual billiard ball coordinate points of colliding ball of being close to by intersecting point coordinate and collision billiard ball at the coordinate of collision during frame, determine that this new coordinate points is current billiard ball point of impingement coordinate;
Describedly judge that whether present frame has collision to be with storehouse, table top limit when forecourt:
Whether b2, judgement two continuous frames change when the direction of the movement locus of forecourt;
If b21 changes, then current billiard ball collision storehouse, limit, present frame collides frame exactly;
Do you b22, judge that angle difference absolute value in the current billiard ball two continuous frames characteristic value is greater than the threshold limit value of the movement locus coordinate of revising current billiard ball? be, then obtain current billiard ball point of impingement coordinate: promptly by the slope of current billiard ball present frame coordinate in the characteristic value and the slope of next frame coordinate, obtain respectively through the linear equation of present frame coordinate points and the linear equation of process next frame coordinate points, obtain the intersecting point coordinate of two straight lines, determine that this intersecting point coordinate is point of impingement coordinate.
The threshold limit value of the movement locus coordinate of the current billiard ball of described correction is 20.
The described method of obtaining billiard ball collision relation and entire motion track in the Snooker motion further includes:
Determine the distance of mother bulb from the start frame coordinate to the collision frame coordinate; The ball of promptly determining first motion in all balls of table top is a mother bulb, and it is first collision ball of mother bulb that the billiard ball that impacted by mother bulb are defined as, thereby obtains the distance of mother bulb from the start frame coordinate to the collision frame coordinate.
The described method of obtaining billiard ball collision relation and entire motion track in the Snooker motion further includes:
Determine to pocket ball or out-of-bounds ball promptly according to the movement locus of each ball in the billiard ball, are zero ball be defined as pocketing ball or out-of-bounds ball for the last frame coordinate, and concrete steps are:
G1, determine current billiard ball in the end the coordinate in the two field picture be zero;
G2, begin to seek the non-vanishing nearest frame of coordinate figure, provide when the coordinate figure of forecourt at this frame toward first frame direction from last frame;
The coordinate at the coordinate figure of g3, described this frame and 6 sack two ends constitutes two straight lines respectively, and described two straight lines and X-axis form angle angle1 and angle angle2 respectively, calculates the movement locus straight line of current billiard ball and the angle angle of X-axis;
If g4 angle angle is between the angle angle1 and angle angle2 of one of them sack in 6 sacks, determine that then this sack is the sack that pockets of ball of pocketing, these billiard ball are the ball that pockets, otherwise these billiard ball are the out-of-bounds ball.
The invention has the beneficial effects as follows: according to the discrete billiard ball position of consecutive frame, real-time depiction goes out the entire motion track of billiard movement; Movement locus analysis collision relation according to ball, provide some data of more paying close attention in the match, for helping the sportsman to analyze direction of stroke, dynamics, help the sportsman to improve sports level accurate data is provided: comprising: first collision ball after sportsman's batting, ball and sack position pocket, the out-of-bounds ball, athletic hitting distance.And automatic assistant judge's score of computer and automaticdata statistics, reserve judge's score have been realized based on above-mentioned data.
Below in conjunction with drawings and Examples the present invention is described in detail.
Description of drawings
Fig. 1 is a flow chart of steps of the present invention;
Fig. 2 is billiard ball of the present invention and billiard ball collision, current billiard ball point of impingement coordinate correction schematic diagram;
Fig. 3 is billiard ball of the present invention and the collision of storehouse, limit, current billiard ball point of impingement coordinate correction schematic diagram;
Fig. 4 is the billiard ball of the present invention differentiation schematic diagram that pockets;
When Fig. 5 does not revise the point of impingement for the present invention, the movement locus schematic diagram of current spherical coordinates;
After Fig. 6 is the correction point of impingement of the present invention, the movement locus schematic diagram of current spherical coordinates.
The specific embodiment
Embodiment
A kind of method embodiment that in the Snooker motion, obtains billiard ball collision relation and entire motion track, referring to Fig. 1 to Fig. 6, this method is based on an area of computer aided judgment system, and described system comprises camera, Snooker table, video collector and computer; Described camera is installed on the top at snooker table surface center, the maximum visual angle of camera contains covers the billiard table table top, and the video output of camera is connected to video collector, and video collector is connected to computer, system is according to the camera pixel and the billiard table sized data of input, the billiard table table top is converted into a known plane coordinate system, and according to the rule of snooker, the sportsman impacts red ball earlier, if red hazard, then impact colour ball, otherwise, then change next sportsman and play ball.If there is not red ball on the table top, then impact colour ball according to yellow, green, brown, blue, powder, black order, the foundation of coordinate system as shown in Figure 4, the O point is the origin of coordinates (0,0), X-axis is that the long limit 1-1 in storehouse, billiard table table top 1 limit, Y-axis are storehouse, billiard table table top limit minor face 1-2.
Described a kind of method of obtaining billiard ball collision relation and entire motion track in the Snooker motion comprises: obtain the sequential frame image of bar snooker motion, determine the table top plane coordinates position of each billiard ball in each two field picture; Wherein, long limit, storehouse, billiard table table top limit is that X-axis, minor face are Y-axis, and the billiard ball coordinate is a billiard ball centre point coordinate; According to the plane coordinates of each billiard ball in every two field picture, obtain each billiard movement track; Because what gather is the image sequence that disperses, the point of impingement of the point of impingement of ball and ball, ball and Bian Ku often gather less than, thereby the movement locus of billiard ball shows to come out at the point of impingement constantly, so revise the coordinate of the point of impingement, additional complete movement locus, the movement locus except the point of impingement does not need to revise;
Therefore described obtaining in each billiard movement track comprises billiard ball collision relation and obtaining of movement locus:
A, determine the characteristic value of the coordinate position point of each billiard ball in each two field picture, described characteristic value comprises: the straight line that each billiard ball present frame coordinate points and former frame coordinate points constitute is at the difference between the X coordinate of the slope of X-axis, two coordinate points, the angle of air line distance, straight line and X-axis positive direction of difference, two coordinate points between the Y coordinate;
B, in successive frame, variation according to the original motion track position coordinate of each billiard ball, whether the judgement present frame changes when the movement locus direction of forecourt, if change, judge that at first present frame works as forecourt and whether with other billiard ball collision is arranged, determine the point of impingement, revise the coordinate of current billiard ball at the point of impingement if any collision; As collisionless, judge whether present frame has collision with storehouse, table top limit when forecourt, determine the point of impingement, revise the coordinate of current billiard ball if any collision at the point of impingement;
Describedly judge that whether present frame has collision to be with other billiard ball when forecourt:
If the movement locus direction of the current billiard ball of b1 present frame changes, judge that other billiard ball change the distance of the movement locus straight line of the preceding coordinate of direction to current billiard ball;
B11, with the diameter of distance and billiard ball relatively is if distance is less than the billiard ball diameter, then on the movement locus of these billiard ball before current billiard ball change direction;
B12, judge whether these billiard ball have the change of the direction of motion at next frame;
B13, change, then these billiard ball are the collision billiard ball, and present frame is the collision frame, provide the coordinate of collision billiard ball when the collision frame;
B14, obtain the coordinate of current billiard ball at the point of impingement, as shown in Figure 2, the slope that is about in described current billiard ball 2 present frame coordinate points and this coordinate points characteristic value constitutes straight line A, obtain through the vertical line B of collision ball 3 coordinates by straight line A perpendicular to straight line A, obtain the intersecting point coordinate O of straight line A and vertical line B, coordinate when colliding frame obtains a new coordinate points C who is close to the virtual billiard ball 4 that collide ball on straight line A by intersecting point coordinate and collision billiard ball, determines that this new coordinate points C is current billiard ball point of impingement coordinate;
Describedly judge that whether present frame has collision to be with storehouse, table top limit when forecourt:
Whether b2, judgement two continuous frames change when the direction of the movement locus of forecourt;
If b21 changes, then current billiard ball collision storehouse, limit, present frame collides frame exactly;
Do you b22, judge that angle difference absolute value in the current billiard ball two continuous frames characteristic value is greater than the threshold limit value of the movement locus coordinate of revising current billiard ball? be, then obtain current billiard ball point of impingement coordinate: as shown in Figure 3, promptly by the slope of current billiard ball present frame coordinate in the characteristic value and the slope of next frame coordinate, obtain respectively through the linear equation f1 of present frame coordinate points and the linear equation f2 of process next frame coordinate points, obtain the intersecting point coordinate f of two straight lines, determine that this intersecting point coordinate is point of impingement coordinate.
The threshold limit value of the movement locus coordinate of the current billiard ball of described correction is 20.
The described method of obtaining billiard ball collision relation and entire motion track in the Snooker motion further includes:
Determine the distance of mother bulb from the start frame coordinate to the collision frame coordinate; The ball of promptly determining first motion in all balls of table top is a mother bulb, and it is first collision ball of mother bulb that the billiard ball that impacted by mother bulb are defined as, thereby obtains the distance of mother bulb from the start frame coordinate to the collision frame coordinate.
The described method of obtaining billiard ball collision relation and entire motion track in the Snooker motion further includes:
Determine to pocket ball or out-of-bounds ball promptly according to the movement locus of each ball in the billiard ball, are zero ball be defined as pocketing ball or out-of-bounds ball for the last frame coordinate, and concrete steps are:
G1, determine current billiard ball in the end the coordinate in the two field picture be zero;
G2, begin to seek the non-vanishing nearest frame of coordinate figure, provide when the coordinate figure of forecourt at this frame toward first frame direction from last frame;
The coordinate at the coordinate figure of g3, described this frame and 6 sack two ends constitutes two straight lines respectively, and described two straight lines and X-axis form angle angle1 and angle angle2 respectively, calculates the movement locus straight line of current billiard ball and the angle angle of X-axis;
If g4 angle angle is between the angle angle1 and angle angle2 of one of them sack in 6 sacks, determine that then this sack is the sack that pockets of ball of pocketing, these billiard ball are the ball that pockets, otherwise these billiard ball are the out-of-bounds ball.
The present embodiment specific procedure is carried out:
The position coordinates string pResult of respective frame in A, the first reading database resolves the table top coordinate that obtains ball.PResult string value is the coordinate string that contains each spherical coordinates that is generated by the automatic station-keeping system that system carries, and passes in the database, only needs directly to read with program.
Before A1, the parsing, the colour ball numbering is respectively C31-C37 by yellow ball, green ball, brown ball, basketball, the sphere of powder, black ball in pResult coordinate string, and red ball is numbered R11-R25, and the numbering of Archon is W10.
A2, parsing back colour ball numbering convert 0-5 to corresponding to the C31-C37 order, and coordinate figure is constant.Red ball numbering converts 6-20 to corresponding to the R11-R25 order, and coordinate figure is constant.The Archon numbering converts 21 to by W10, and coordinate figure is constant.Such conversion is to write for program is easier and realize.
B, writing and realizing, the characteristic value of needs calculating each point and relevant flag information for program.
B1, calculate the characteristic value of the coordinate position of each billiard ball in each two field picture, its characteristic value comprises:
Suppose mother bulb the coordinate of the 4th frame for (x1, y1), be at the coordinate of the 3rd two field picture (x2, y2) then
Mother bulb in the characteristic value of the point of the 4th frame is:
Figure 2010105069819100002DEST_PATH_IMAGE001
Figure 76881DEST_PATH_IMAGE002
Figure 2010105069819100002DEST_PATH_IMAGE003
The explanation of the flag bit of the movement locus intensity of variation of B2, each billiard ball:
This flag bit is Change_flag, supposes that the characteristic value of coordinate of two adjacent points of current billiard ball is: angle1, and angle2, x_diff, y_fiff, then:
Figure 504025DEST_PATH_IMAGE006
C, according to the table top coordinate of the billiard ball that read in, change and position coordinates according to the original motion track of each ball, analyze it and whether collide storehouse, limit or ball, and calculate its point of impingement.
The crash analysis of C1, ball and ball: determine the collision relation of ball and ball, first of mother bulb collides ball, obtains the coordinate of the point of impingement; Specific procedure is implemented as:
Calculate characteristic value when forecourt present frame point, when the movement locus direction of ball changes, be the Change_falg of this point〉0, does discriminant function Is_it_coll_a_ball have value to return? Is_it_coll_a_ball calculates the distance of the coordinate of all billiard ball to movement locus straight line before the forecourt collision in the function of program, the diameter of this distance and snooker is compared, if distance is less than bulb diameter, this ball is on the movement locus before the forecourt collision, might be the collision ball, next judge that whether the ball that might collide is in the place ahead when forecourt, and whether this ball has the change of movement locus direction at next frame, if top condition satisfies, then function Is_it_coll_a_ball returns numerical value 1, those billiard ball that satisfy condition in function are exactly the collision ball when forecourt, at this moment, calculate the coordinate of the ball and the ball point of impingement by the slope of this point and this point, and to revise current point be the point of impingement, as shown in Figure 2: establish current billiard ball 2 and be Archon, billiard ball 3 are the collision ball, Archon 2 when dotted line billiard ball 4 are virtual collision, the linear equation of the straight line A of the movement locus of current billiard ball is line1, calculate the slope of the vertical line of movement locus straight line by the slope meter of the movement locus before the collision, the linear equation line2 of the vertical line B of process collision ball, calculate the vertical point of intersection point o(of two straight lines), thereby calculating when the distance of the current point of forecourt (a) to the point (o) that hangs down | the coordinate (b) of ao| and collision ball is to the distance of the point (o) that hangs down | bo|, then the point of impingement (c) to the coordinate of the point (o) that hangs down is | co|, and then calculate the coordinate that coordinate that c orders is the point of impingement;
When function Is_it_coll_a_ball returns numerical value 0, do not collide ball, do not need to revise the point of impingement.If working as forecourt is under the situation of mother bulb, the collision ball of then obtaining just is first collision ball of mother bulb.
The crash analysis in C2, ball and table top bag storehouse: determine the collision relation in ball and table top bag storehouse, seek the point of impingement of missing, revise the point of impingement; The specific procedure implementation is:
=1.
Calculate i+1 point and i+2 point characteristic value angle, if the absolute value of 2 angle difference is greater than 20, then current billiard ball collision stage flour bag storehouse but necessarily missed the point of impingement, by this point and the following point of impingement that a bit calculates, and to revise current point be the point of impingement: referring to Fig. 3, by the slope of current some j in the characteristic value and the slope of a following k, the linear equation f1 of the current point of calculating process respectively and process be the linear equation f2 of any down, calculate the intersection point f of two straight lines, the dotted line m among the figure is the track before not revising; If the x coordinate of intersection point is a positive number and less than the length on long limit, the y coordinate is a positive number and less than the length of minor face, then this intersection point is the point of impingement; Otherwise correcting mistakes of point reverts to original value.
Fig. 5 and Fig. 6 have illustrated to revise the movement locus of the two kinds of situations in front and back when forecourt.
D, calculate athletic hitting distance, i.e. the distance of mother bulb from start frame to the collision frame.
E, according to the movement locus trend of each ball, be zero ball for the last frame coordinate, search for the non-vanishing nearest frame of its coordinate forward, calculate this frame coordinate and each sack two ends coordinate
Figure 2010105069819100002DEST_PATH_IMAGE007
The straight line that constitutes and the angle of X positive axis, the ball of determining to pocket, pocket ball sack and out-of-bounds ball, program process:
Determine when forecourt in the end the coordinate in the two field picture be zero and be to be in the state of pocketing (L), out-of-bounds state (W);
Begin to seek the non-vanishing nearest frame of coordinate figure from last frame toward first frame direction, provide when the coordinate figure of forecourt at this frame, judge the coordinate figure of this point in the program with circulation, as long as the x coordinate of an object ball or y coordinate greater than zero, circulate just by break;
Calculate the coordinate at this point and 6 sack two ends respectively
Figure 193763DEST_PATH_IMAGE007
The straight line that constitutes and angle angle1, the angle2 of X positive axis, calculate the movement locus straight line of billiard ball and the angle angle of X positive axis, referring to shown in Figure 4,6 sack u are labeled as 1,2,3,4,5,6 respectively, the coordinate points that is labeled as 1 sack two ends is b(0,52.5) and c (52.5,0).At first calculate in the program: the characteristic value angle of the preceding coordinate points a that pockets that judges, calculate this coordinate points a and the straight line of some b, c formation and angle angle1, the angle2 of x positive axis again.If the size of angle is between angle1, the angle2, be angle angle greater than angle1, determine then that less than angle2 sack u1 is the sack that pockets of ball of pocketing, otherwise, the straight line that the coordinate points at the two ends of coordinates computed point a and sack u2 constitutes and the angle of x positive axis.With the angle of this coordinates computed point a and sack 3,4,5,6, can determine the concrete sack that pockets.
If when the sack that pockets is non-vanishing (the assignment sack is zero during initialization), then these billiard ball are the ball that pockets, otherwise these billiard ball are the out-of-bounds ball;
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.

Claims (4)

1. in the Snooker motion, obtain the method for billiard ball collision relation and entire motion track, comprising: obtain the sequential frame image of bar snooker motion, determine the table top plane coordinates position of each billiard ball in each two field picture; Wherein, long limit, storehouse, billiard table table top limit is that X-axis, minor face are Y-axis, and the billiard ball coordinate is a billiard ball centre point coordinate; According to the plane coordinates of each billiard ball in every two field picture, obtain each billiard movement track; It is characterized in that described obtaining in each billiard movement track the movement locus of the billiard ball point of impingement is revised, the step of described correction comprises:
A, determine the characteristic value of the coordinate position point of each billiard ball in each two field picture, described characteristic value comprises: the straight line that each billiard ball present frame coordinate points and former frame coordinate points constitute is at the difference between the X coordinate of the slope of X-axis, two coordinate points, the angle of air line distance, straight line and X-axis positive direction of difference, two coordinate points between the Y coordinate;
B, in successive frame, variation according to the movement locus position coordinates of each billiard ball, whether the judgement present frame changes when the movement locus direction of forecourt, if change, judge that at first present frame works as forecourt and whether with other billiard ball collision is arranged, determine the point of impingement, revise the coordinate of current billiard ball at the point of impingement if any collision; As collisionless, judge whether present frame has collision with storehouse, table top limit when forecourt, determine the point of impingement, revise the coordinate of current billiard ball if any collision at the point of impingement;
Describedly judge that whether present frame has collision to be with other billiard ball when forecourt:
If the movement locus direction of the current billiard ball of b1 present frame changes, judge that other billiard ball change the distance of the movement locus straight line of the preceding coordinate of direction to current billiard ball;
B11, with the diameter of distance and billiard ball relatively is if distance is less than the billiard ball diameter, then on the movement locus of these billiard ball before current billiard ball change direction;
B12, judge whether these billiard ball have the change of the direction of motion at next frame;
B13, change, then these billiard ball are the collision billiard ball, and present frame is the collision frame, provide the coordinate of collision billiard ball when the collision frame;
B14, obtain the coordinate of current billiard ball at the point of impingement, the slope that is about in described current billiard ball present frame coordinate points and this coordinate points characteristic value constitutes straight line A, obtain through the vertical line B of collision spherical coordinates by straight line A perpendicular to straight line A, obtain the intersecting point coordinate of straight line A and vertical line B, on straight line A, obtain a new virtual billiard ball coordinate points of colliding ball of being close to by intersecting point coordinate and collision billiard ball at the coordinate of collision during frame, determine that this new coordinate points is current billiard ball point of impingement coordinate;
Describedly judge that whether present frame has collision to be with storehouse, table top limit when forecourt:
Whether b2, judgement two continuous frames change when the direction of the movement locus of forecourt;
If b21 changes, then current billiard ball collision storehouse, limit, present frame collides frame exactly;
Do you b22, judge that angle difference absolute value in the current billiard ball two continuous frames characteristic value is greater than the threshold limit value of the movement locus coordinate of revising current billiard ball? be, then obtain current billiard ball point of impingement coordinate: promptly by the slope of current billiard ball present frame coordinate in the characteristic value and the slope of next frame coordinate, obtain respectively through the linear equation of present frame coordinate points and the linear equation of process next frame coordinate points, obtain the intersecting point coordinate of two straight lines, determine that this intersecting point coordinate is point of impingement coordinate.
2. according to the described method of in the Snooker motion, obtaining billiard ball collision relation and entire motion track of claim 1, it is characterized in that the threshold limit value of the movement locus coordinate of the current billiard ball of described correction is 20.
3. according to the described method of in the Snooker motion, obtaining billiard ball collision relation and entire motion track of claim 1, it is characterized in that the described method of obtaining billiard ball collision relation and entire motion track in the Snooker motion further includes:
Determine the distance of mother bulb from the start frame coordinate to the collision frame coordinate; The ball of promptly determining first motion in all balls of table top is a mother bulb, and it is first collision ball of mother bulb that the billiard ball that impacted by mother bulb are defined as, thereby obtains the distance of mother bulb from the start frame coordinate to the collision frame coordinate.
4. according to the described method of in the Snooker motion, obtaining billiard ball collision relation and entire motion track of claim 1, it is characterized in that the described method of obtaining billiard ball collision relation and entire motion track in the Snooker motion further includes:
Determine to pocket ball or out-of-bounds ball promptly according to the movement locus of each ball in the billiard ball, are zero ball be defined as pocketing ball or out-of-bounds ball for the last frame coordinate, and concrete steps are:
G1, determine current billiard ball in the end the coordinate in the two field picture be zero;
G2, begin to seek the non-vanishing nearest frame of coordinate figure, provide when the coordinate figure of forecourt at this frame toward first frame direction from last frame;
The coordinate at the coordinate figure of g3, described this frame and 6 sack two ends constitutes two straight lines respectively, and described two straight lines and X-axis form angle angle1 and angle angle2 respectively, calculates the movement locus straight line of current billiard ball and the angle angle of X-axis;
If g4 angle angle is between the angle angle1 and angle angle2 of one of them sack in 6 sacks, determine that then this sack is the sack that pockets of ball of pocketing, these billiard ball are the ball that pockets, otherwise these billiard ball are the out-of-bounds ball.
CN201010506981A 2010-10-12 2010-10-12 Method for acquiring collision relationship and complete movement trail of billiards in snooker movement Active CN101947385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010506981A CN101947385B (en) 2010-10-12 2010-10-12 Method for acquiring collision relationship and complete movement trail of billiards in snooker movement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010506981A CN101947385B (en) 2010-10-12 2010-10-12 Method for acquiring collision relationship and complete movement trail of billiards in snooker movement

Publications (2)

Publication Number Publication Date
CN101947385A true CN101947385A (en) 2011-01-19
CN101947385B CN101947385B (en) 2012-09-12

Family

ID=43451087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010506981A Active CN101947385B (en) 2010-10-12 2010-10-12 Method for acquiring collision relationship and complete movement trail of billiards in snooker movement

Country Status (1)

Country Link
CN (1) CN101947385B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103143158A (en) * 2013-03-09 2013-06-12 北京工业大学 Method for improving snooker hit rate
CN104954750A (en) * 2015-06-18 2015-09-30 北京共创普惠科技有限公司 Data processing method and device for billiard system
CN108079565A (en) * 2017-12-28 2018-05-29 深圳市超级视觉科技有限公司 A kind of game of billiards scoring system
CN108475435A (en) * 2017-06-29 2018-08-31 深圳英麦吉科技有限公司 Billiard position determining method, billiard position determining device and electronic equipment
CN108960098A (en) * 2018-06-22 2018-12-07 梁栋 A kind of billiard ball collision relation recognition method and game of billiards scoring system
CN109366501A (en) * 2018-12-13 2019-02-22 中国石油大学(华东) Gas ice hockey robot control method, device and gas ice hockey equipment
CN110334617A (en) * 2019-06-20 2019-10-15 梁栋 The judgment method and game of billiards scoring system on a kind of billiard ball collision library side
CN110339549A (en) * 2019-07-30 2019-10-18 佛山科学技术学院 A kind of billiards based on computer vision is into hole judgment method and system
CN110433494A (en) * 2018-05-02 2019-11-12 鈊象电子股份有限公司 Drop point prediction technique, drop point forecasting system and gaming decision method
CN111475573A (en) * 2020-04-08 2020-07-31 腾讯科技(深圳)有限公司 Data synchronization method and device, electronic equipment and storage medium
CN112199756A (en) * 2020-10-30 2021-01-08 久瓴(江苏)数字智能科技有限公司 Method and device for automatically determining distance between straight lines
CN112509136A (en) * 2020-11-30 2021-03-16 江苏理工学院 Model compression and collision detection method based on spherical coordinate primitive mapping
CN112816117A (en) * 2021-02-01 2021-05-18 深圳市瑞驰文体发展有限公司 Billiard movement process detection, storage and multiple-disc display method and system
CN112843664A (en) * 2021-01-09 2021-05-28 深圳市瑞驰文体发展有限公司 Positioning method and system of billiard ball placing device
CN112891909A (en) * 2019-11-19 2021-06-04 杨清平 Snooker scoring device
CN113577773A (en) * 2021-07-08 2021-11-02 武汉指娱互动信息技术有限公司 Collision data processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002186702A (en) * 2000-12-22 2002-07-02 Sefamedeia Create:Kk Billiard practicing device and billiard practicing system
JP2006043017A (en) * 2004-08-03 2006-02-16 Seiko Epson Corp Display device
US20060063599A1 (en) * 2004-09-23 2006-03-23 Michael Greenspan Method and apparatus for positional error correction in a robotic pool systems using a cue-aligned local camera
GB2440573A (en) * 2006-07-28 2008-02-06 Sound Decisions Ltd Snooker ball setting aided by image correlation
JP2009273542A (en) * 2008-05-13 2009-11-26 Taito Corp Ball movement management device of billiard table
CN101770550A (en) * 2010-03-09 2010-07-07 刘铮 Computer-assisted snooker judging method for snooker
CN101848376A (en) * 2010-05-19 2010-09-29 朱万政 Television system for analyzing displacement of billiards

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002186702A (en) * 2000-12-22 2002-07-02 Sefamedeia Create:Kk Billiard practicing device and billiard practicing system
JP2006043017A (en) * 2004-08-03 2006-02-16 Seiko Epson Corp Display device
US20060063599A1 (en) * 2004-09-23 2006-03-23 Michael Greenspan Method and apparatus for positional error correction in a robotic pool systems using a cue-aligned local camera
GB2440573A (en) * 2006-07-28 2008-02-06 Sound Decisions Ltd Snooker ball setting aided by image correlation
JP2009273542A (en) * 2008-05-13 2009-11-26 Taito Corp Ball movement management device of billiard table
CN101770550A (en) * 2010-03-09 2010-07-07 刘铮 Computer-assisted snooker judging method for snooker
CN101848376A (en) * 2010-05-19 2010-09-29 朱万政 Television system for analyzing displacement of billiards

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《体育科学》 20070430 许彩明等 台球运动中主球运动轨迹的仿真分析 第80-83页 1-4 第27卷, 第4期 2 *
《第十四届全国信号处理学术年会(CCSP-2009)论文集》 20090831 毋立芳等 一种鲁棒的图像分割算法 第252-255页 1-4 第25卷, 第8A期 2 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103143158B (en) * 2013-03-09 2014-11-05 北京工业大学 Method for improving snooker hit rate
CN103143158A (en) * 2013-03-09 2013-06-12 北京工业大学 Method for improving snooker hit rate
CN104954750A (en) * 2015-06-18 2015-09-30 北京共创普惠科技有限公司 Data processing method and device for billiard system
CN108475435A (en) * 2017-06-29 2018-08-31 深圳英麦吉科技有限公司 Billiard position determining method, billiard position determining device and electronic equipment
CN108475435B (en) * 2017-06-29 2021-09-03 深圳英麦吉科技有限公司 Billiard position determining method, billiard position determining device and electronic equipment
CN108079565A (en) * 2017-12-28 2018-05-29 深圳市超级视觉科技有限公司 A kind of game of billiards scoring system
CN110433494A (en) * 2018-05-02 2019-11-12 鈊象电子股份有限公司 Drop point prediction technique, drop point forecasting system and gaming decision method
CN108960098A (en) * 2018-06-22 2018-12-07 梁栋 A kind of billiard ball collision relation recognition method and game of billiards scoring system
CN108960098B (en) * 2018-06-22 2022-04-01 梁栋 Billiard collision relation recognition method and billiard game scoring system
CN109366501A (en) * 2018-12-13 2019-02-22 中国石油大学(华东) Gas ice hockey robot control method, device and gas ice hockey equipment
CN110334617A (en) * 2019-06-20 2019-10-15 梁栋 The judgment method and game of billiards scoring system on a kind of billiard ball collision library side
CN110334617B (en) * 2019-06-20 2021-04-27 梁栋 Method for judging collision of billiards with pool edges and billiard game scoring system
CN110339549B (en) * 2019-07-30 2021-08-03 佛山科学技术学院 Billiard hole entering judgment method and system based on computer vision
CN110339549A (en) * 2019-07-30 2019-10-18 佛山科学技术学院 A kind of billiards based on computer vision is into hole judgment method and system
CN112891909A (en) * 2019-11-19 2021-06-04 杨清平 Snooker scoring device
CN111475573A (en) * 2020-04-08 2020-07-31 腾讯科技(深圳)有限公司 Data synchronization method and device, electronic equipment and storage medium
CN112199756A (en) * 2020-10-30 2021-01-08 久瓴(江苏)数字智能科技有限公司 Method and device for automatically determining distance between straight lines
CN112509136A (en) * 2020-11-30 2021-03-16 江苏理工学院 Model compression and collision detection method based on spherical coordinate primitive mapping
CN112509136B (en) * 2020-11-30 2023-06-23 江苏理工学院 Model compression and collision detection method based on spherical coordinate primitive mapping
CN112843664A (en) * 2021-01-09 2021-05-28 深圳市瑞驰文体发展有限公司 Positioning method and system of billiard ball placing device
CN112816117A (en) * 2021-02-01 2021-05-18 深圳市瑞驰文体发展有限公司 Billiard movement process detection, storage and multiple-disc display method and system
CN112816117B (en) * 2021-02-01 2022-06-14 深圳市瑞驰文体发展有限公司 Billiard movement process detection, storage and multiple-disc display method and system
CN113577773A (en) * 2021-07-08 2021-11-02 武汉指娱互动信息技术有限公司 Collision data processing method and device, electronic equipment and storage medium
CN113577773B (en) * 2021-07-08 2024-01-23 武汉指娱互动信息技术有限公司 Collision data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN101947385B (en) 2012-09-12

Similar Documents

Publication Publication Date Title
CN101947385B (en) Method for acquiring collision relationship and complete movement trail of billiards in snooker movement
CN103143158B (en) Method for improving snooker hit rate
US10762642B2 (en) Systems and methods for indicating user performance in launching a basketball toward a basketball hoop
US9036864B2 (en) Ball trajectory and bounce position detection
CN105183849B (en) A kind of match Video Events detection of Snooker and semanteme marking method
US20120242699A1 (en) Modification of turf tv participant decorations based on multiple real-time factors
CN103617644B (en) Cross the border method of discrimination in a kind of shuttlecock sideline based on machine vision
CN101893935A (en) Cooperative construction method for enhancing realistic table-tennis system based on real rackets
CN105205447A (en) Go identification method based on go image and go board
CN106991357A (en) The shooting of automatic identification Basketball Match and the algorithm scored based on panoramic video
WO2014005561A1 (en) Equipment using cameras for recording and displaying impact of the ball around the lines of the playing area
Hsu et al. Coachai: A project for microscopic badminton match data collection and tactical analysis
CN110420445B (en) Wall ball training method and device based on augmented reality
Jayalath Hawk Eye technology used in cricket
CN108269265A (en) Billiard ball batter's box assay method and its device based on deep learning
CN109126100A (en) Ball controlling percentage calculation method, device, equipment and storage medium
CN113808167A (en) Volleyball movement track extraction method based on video data
CN112802066A (en) Multi-target tracking method and system based on multi-track fusion
CN103404122A (en) Motion-vector-based comparison of moving objects
CN111754549A (en) Badminton player track extraction method based on deep learning
CN101770550A (en) Computer-assisted snooker judging method for snooker
CN112245889A (en) Method and system for automatically judging tennis ball out of bounds
Shum et al. A spatiotemporal approach to extract the 3D trajectory of the baseball from a single view video sequence
CN111275021A (en) Automatic football offside line scribing method based on computer vision
EP3836012A1 (en) A device, computer program and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant