[go: up one dir, main page]

WO2007037350A1 - 馬位置情報解析並びに表示方法 - Google Patents

馬位置情報解析並びに表示方法 Download PDF

Info

Publication number
WO2007037350A1
WO2007037350A1 PCT/JP2006/319390 JP2006319390W WO2007037350A1 WO 2007037350 A1 WO2007037350 A1 WO 2007037350A1 JP 2006319390 W JP2006319390 W JP 2006319390W WO 2007037350 A1 WO2007037350 A1 WO 2007037350A1
Authority
WO
WIPO (PCT)
Prior art keywords
horse
boat
image
template
race
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.)
Ceased
Application number
PCT/JP2006/319390
Other languages
English (en)
French (fr)
Inventor
Ikushi Yoda
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.)
PLUSMIC Corp
Original Assignee
PLUSMIC Corp
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 PLUSMIC Corp filed Critical PLUSMIC Corp
Priority to US12/088,729 priority Critical patent/US8107679B2/en
Priority to JP2007537691A priority patent/JP4658266B2/ja
Publication of WO2007037350A1 publication Critical patent/WO2007037350A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/103Static body considered as a whole, e.g. static pedestrian or occupant recognition
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/30241Trajectory

Definitions

  • the present invention relates to a method for analyzing position information of each horse, each boat, etc. from race images of horse racing, bicycle racing, boat racing, auto, etc., and a display method thereof, and each horse, each boat, etc. in the image analysis.
  • the present invention relates to a method for accurately extracting images.
  • Race development of each horse is valuable data for predicting the next race, and is effective data for monitoring rule violations such as course disturbance.
  • anticipation newspapers, etc. capture the characteristics of each horse in the past race, distinguish preceding horses, follow-up horses, etc., and distinguish between handy, race distance, racetrack status, right-handed, left-handed Considering the winners and weakers, the ranking of the horses is predicted.
  • accurate information on past race developments was a force of the past, it was impossible to predict the development of the race (tracking each horse). This is because in the conventional races such as horse racing and boat racing, there is an effective method for analyzing position information of each horse and each boat.
  • past race data does not exist, and it takes time to accumulate new data. Even if it is installed, it will take 1-2 years to actually use it for race prediction. . Also, since previous race information cannot be obtained, the race information is insufficient. Furthermore, small-scale racetracks such as local horse races are too costly to introduce.
  • Japanese Laid-Open Patent Publication No. 6-165882 discloses an idea of obtaining and displaying position information of each racehorse such as a plurality of TV camera power provided around the racetrack.
  • FIG. 1 is an overall block diagram showing an example of the moving motion reproduction device of the publication.
  • This moving motion reproduction device reproduces the state in which several horses 9a, 9b, 9c run on the racetrack 6 by moving the horse models 13a, 13b, 13c.
  • the image data of the television cameras 7A to 7L is configured to be transmitted to the respective detection devices 8A to 8L.
  • the detection devices 8A to 8L detect the traveling horse image data from the television camera (for example, 7H) that captures the traveling horses 9a, 9b, and 9c among the television cameras 7A to 7L.
  • the image data of the horses 9a, 9b, and 9c are transmitted to the object motion determination apparatus 1.
  • a judgment criterion registration device 5 is connected to the object motion determination device 1. For example, the color of a hat or clothes for each jockey is registered in the object motion judgment device 1 by the judgment criterion registration
  • each of the traveling horses 9a, 9b, and 9c is compared with the registration data registered from the determination reference registration device 5 and the detection devices 8A to 8L force. Analyze and track movement. It is also possible to register the bib number of each of the traveling horses 9a, 9b, 9c in the object motion determination device 1 by the determination criterion registration device 5.
  • This judgment standard registration device 5 is specifically composed of a mobile television camera, etc., and approaches the horse or jockey before running and projects and registers one by one.
  • the television cameras 7A to 7L and the detection devices 8A to 8L constitute moving operation capturing means for capturing the moving operation state of moving objects such as the traveling horses 9a, 9b, and 9c.
  • the tracking result data of the moving motion of the traveling horses 9a, 9b, 9c is transmitted to the motion data creation device 2.
  • This motion data creation device 2 is provided integrally with a game machine comprising a running surface 12, horse models 13a, 13b, 13c and the like.
  • Patent Document 1 Japanese Patent Laid-Open No. 2005-24315
  • Patent Document 2 JP-A-6-165882
  • the present invention has been made in view of the above-mentioned problems.
  • the present invention analyzes a plurality of roll images provided around the racetrack, obtains position information of each horse from the analysis data, A method and means for analyzing the trajectory of a specific horse's race by displaying the degree of similarity of the specific horse between successive screens of the roll image and displaying the race development of each horse.
  • the purpose is to provide.
  • the present invention further relates to an improvement in the image analysis of the above-mentioned proposal, and proposes an extraction algorithm for automatically and accurately performing the above-described image clipping operation of a horse or the like.
  • the purpose is to provide.
  • the position information analysis' display method of each horse, each boat, etc. of the present invention analyzes the position information of each horse, each boat, etc. from race images of horse racing, boat racing, etc. This is a method of displaying, in a continuous race captured image, each horse, each boat, etc. is identified by similarity analysis, and the trajectory of each horse, each boat, etc. in the race image is continuously tracked, The position information of each horse, each boat, etc. is analyzed from the positional relationship with the fixed position information such as a racetrack and a racetrack in the image, and the trajectory of each horse, each boat, etc. is displayed.
  • the identification information of each horse, each boat, etc. on each screen is compared with the identification information of each horse, each boat, etc. on the next screen, and the next screen target having a high similarity to the previous screen target is compared. It is characterized by being identified and identified as the same horse or boat.
  • the identification method based on the similarity is performed by recognition using color information, and each horse, each boat, etc. in the race image is identified by the size of the image of each horse, each boat, etc.
  • Each template is identified by using the selected template.
  • the template has a hexagonal shape, and the size of the template is variable according to the size of each horse, boat, etc. on the screen.
  • the size of the template is determined by performing color identification of the target image in a search area wider than the template, and determining a cutout area.
  • a template with a size that matches the size of each boat's image is defined.
  • the template only the upper part excluding the leg portion of the horse is used as the similarity analysis region, and in the template, the regions corresponding to the horse head and the horseman's head are weighted and similar. It is characterized by performing degree analysis.
  • the race track display method of the present invention uses the positional information analysis method for each horse, each boat, etc. to analyze the positional information for each horse, each boat, etc.
  • the race track of each horse, boat, etc. in the race is displayed by continuously displaying position information such as.
  • race track data is distributed to a personal computer, a portable terminal, or a mobile phone via the Internet using the race track display method, and the distributed data is used.
  • the race development is reproduced by computer graphics, and the reproduced moving image race image is displayed on a personal computer, a portable terminal, or a cellular phone.
  • the position information prayer-display method of each horse, each boat, etc. is based on the position information of each horse, each boat, etc. from the race images of horse racing, boat racing, etc. This is a method of analyzing and displaying, and in a continuous race image, each horse, each boat, etc. is identified by similarity analysis and the trajectory of each horse, each boat, etc. in the race image is tracked continuously.
  • each horse, each boat, etc. which displays the trajectory of each horse, each boat, etc., as well as analyzing the positional information of each horse, each boat, etc., from the positional relationship with the fixed position information such as the racetrack and the boat racetrack in each image,
  • the position information analysis / display method for boats, etc. in the consecutive race images, unnecessary portions other than the race course are deleted from the images, and clipped images of each horse and each boat are extracted.
  • the unnecessary portion may be set to 0 from the position coordinates of each horse, each boat, etc. in the previous image of the continuous image to the rear image information from the rear of the predetermined position from the last horse position.
  • a wrinkle portion is extracted from the continuous image, and all image information outside the wrinkle is set to 0.
  • the RGB information of the image is converted into HSV information to generate the number of components of each HSV force histogram, and the area ratio of the clipped image and the entire image is calculated to calculate the area ratio.
  • a threshold value that is a boundary between the clipped image and the background image on the histogram is calculated, and image information other than the image power background color is extracted according to the threshold value.
  • a template that matches the size of the image of each horse, each boat, etc. is used to identify each horse, each boat, etc. in the race image, and each horse, each boat, etc. is identified within the template. And performing a logical product (AND) of the horse mask obtained by the identification and the image information other than the extracted background color to eliminate noise other than the cut-out image of the horse. .
  • the template is hexagonal and matches the size of each horse, boat, etc. on the screen.
  • the size and shape of the template are variable, or the size of the template is determined by performing color identification of the target image in a search area wider than the template, A template having a size that matches the size of the image of each horse, boat, etc. is defined by the cutout region.
  • the template only the upper part excluding the leg of the horse is used as the similarity analysis area, and the area corresponding to the head of the horse and the head of the jockey is weighted in the template. It is characterized by performing similarity analysis.
  • the present invention particularly calculates patrol image power of a horse race or the like that has been conventionally imaged without laying a new facility.
  • the position of a horse or the like during a race is calculated, and the race development that is difficult to display based on the data. This makes it possible to easily provide race data that is useful as data for judging a race or for predicting the next race.
  • the race function which has been difficult in the past, is analyzed by analyzing the similarity function between consecutive screens using a template that matches the size of the subject. It is now easy to extract the same horse from the middle horse group and identify and analyze between successive screens. As a result, it was possible to easily obtain valuable data on race development by analyzing patrol images that have existing capabilities without any special capital investment as described above.
  • the amount of position information data during the race is overwhelmingly small compared to the amount of data of the race image itself, so only the position information data is distributed and raced using CG or the like. If the image is reproduced on the receiving side, the amount of data to be distributed is small, so that it can be sufficiently received by, for example, a mobile phone and a power dial-up line. Therefore, it is possible to easily enjoy a race image on a mobile phone or a mobile terminal as an alternative to image transmission, which has been difficult in the past.
  • FIG. 1 is a diagram showing a conventional example.
  • FIG. 2 A schematic diagram of the trajectory of a horse in horse racing.
  • FIG. 3 is a diagram showing an example of a course layout of a racetrack.
  • FIG. 4 is a flowchart of processing in a start frame.
  • FIG. 5 is a continuation of the flowchart of processing at the start frame.
  • FIG. 6 is a flowchart of a mask processing algorithm.
  • FIG. 7 is a flowchart of a template 'matching process.
  • FIG. 8 is a flowchart of a “template drawing” creation process.
  • FIG. 9 is a flowchart of post-real coordinate conversion processing.
  • FIG. 10 is a diagram showing the shape of a template used in the present invention.
  • FIG. 11 is a diagram showing an example of a patrol video immediately after the start.
  • FIG. 12 is a diagram showing an example of a patrol image near the second corner.
  • FIG. 13 is a diagram showing an example of a patrol image near the fourth corner.
  • FIG. 14 is a diagram showing an example of a patrol image near the goal.
  • FIG. 15 is a diagram showing an example of a clipped image of a patrol video immediately after the start corresponding to FIG. 11.
  • FIG. 16 is a diagram showing an example of a clipped image of a patrol video near the two corners corresponding to FIG.
  • FIG. 17 is a diagram showing an example of a clipped image of a patrol video near the four corners corresponding to FIG.
  • FIG. 18 is a diagram showing an example of a cropped image of a troll video near the goal corresponding to FIG.
  • FIG. 19 is a diagram showing a display example of race development.
  • FIG. 20 is a diagram showing a display example of race development when the course is regarded as a straight line.
  • FIG. 21 is an explanatory diagram of a method for comparing the angles formed by two vectors when comparing an input pattern with a standard pattern (a template image that is the basis of comparison).
  • FIG. 22 is a diagram showing an overall flowchart of the improved image processing of the present invention.
  • FIG. 23 is an overall flow chart of the improved image extraction algorithm of the present invention in the case of a turf course.
  • FIG. 24 is an overall flowchart of the image extraction algorithm of the present invention in the case of a dirt course.
  • FIG. 25 is an enlarged view of the same image in FIG.
  • FIG. 26 is an enlarged view of the same image in FIG.
  • FIG. 27 is an enlarged view of the same image in FIG. 23.
  • FIG. 28 is an enlarged view of the same image in FIG. 23.
  • FIG. 29 is an enlarged view of the same image in FIG. 23.
  • FIG. 30 is an enlarged view of the same image in FIG. 23.
  • FIG. 31 is an enlarged view of the same image in FIG. 24.
  • FIG. 32 is an enlarged view of the same image in FIG. 24.
  • FIG. 33 is an enlarged view of the same image in FIG. 24.
  • FIG. 34 is an enlarged view of the same image in FIG. 24.
  • FIG. 35 is an enlarged view of the same image in FIG. 24.
  • FIG. 36 is an enlarged view of the same image in FIG. 24.
  • FIG. 37 is a detailed flowchart of S101 and S102 in FIG.
  • FIG. 38 is a detailed flowchart of S103 in FIG.
  • FIG. 39 is a detailed flowchart of S104 in FIG. 23.
  • FIG. 40 is a detailed flowchart of S105 in FIG.
  • FIG. 41 is a detailed flowchart of S106 in FIG.
  • FIG. 42 is a diagram showing an example of a histogram of S 161 in FIG. 41. Explanation of symbols
  • FIG. 2 is a diagram schematically showing the actual horse trajectory in horse racing.
  • Fig. 2 the racehorses that started all at once from the gate race near the fence as shown in Fig. 2 at 21.
  • the leading horse keeps the head at a slow pace as much as possible, and often takes the strategy to leave the surplus from the four corners.
  • some horses for example, turn around from the 4th corner like 22 and drive a lot of external force, pulling out the first horse at a stretch and aiming for the best.
  • This is a strategy to get out of the group to avoid losing the momentum of acceleration at the time of driving, even if it is disadvantageous at some distance, as it is restricted when you are in the group.
  • the course has a right turn and a left turn, and differs depending on the racetrack.
  • FIG. 3 shows an example of a course layout of a racetrack.
  • Figure 3 shows an example of a course around the left.
  • the racehorse starts from the start gate 31 and makes one turn counterclockwise as shown by the arrow, and determines the ranking at goal 32.
  • TV cameras 33, 34, 35, 36, etc. that shoot patrol images as described above, and these are all synchronized as described above. I am shooting a horse during the race. For example, a group of horses competing in the vicinity of the goal will shoot from the rear side of the 4-corner brute force 33, the 1-corner camera 34 will also shoot the front force, and the 2-corner camera 35 and 3-corner camera 36. Each is taken from an oblique direction. All the images from each camera are collected and recorded at the center, and all the images after the race are aired in the referee room and the race is judged.
  • Figs. Fig. 11 shows just after the start and Fig. 12 shows two The image of the four corners in Fig. 13 and the vicinity of the goal in Fig. 14 were taken with a one-corner camera 34.
  • the number of frames taken is about 2800-3400.
  • each corner camera 33, 35, 36 is imaged by each corner camera 33, 35, 36 in synchronization with the one corner camera 34. Therefore, for example, the image near the goal in FIG. 14 is also taken by the two-corner camera 35 and the three-corner camera 36 as an oblique lateral force.
  • the template of each image is positioned (S41), mask processing (S42) is performed, and a template matching flag is initialized (S43).
  • the initial settings for these image analyzes are performed manually in consideration of the influence of the gate image. However, it is possible to automate the template matching process described later on the initial screen.
  • FIG. 10 101 (the area of the thin line) is the search area in the next frame.
  • the direction of travel of the horse is limited to the forward direction, and it does not deviate so much even near the corner. Therefore, it is sufficient to search the narrow search range 101 limited to the horse's search area in the frame, centered on the position of the previous horse. This shortens the processing time.
  • reference numeral 102 (bold line area) denotes a rectangular template area.
  • the horse similarity analysis may be performed in the rectangular area.
  • a hexagonal template 103 shown in FIG. 10 is used in order to improve accuracy.
  • mask processing refers to extracting an image part to be analyzed and painting the other part black as shown in FIGS. 15 to 18, for example.
  • the horse and jockey and the fence The parts are identified by color and extracted.
  • the image portion is extracted by extracting the edge of the color information of the horse and jockey portion and the fence portion and cutting out the image portion and performing mask processing as shown in FIGS. Is called.
  • Digital image edge processing is a well-known technique in the field of image processing as disclosed in, for example, JP-A-8-123967 and JP-A-7-93561.
  • a method for obtaining the peak of the minute value is used.
  • the size of the template is adjusted to the size that most matches the extracted image.
  • the image analysis flag has the following items, and these flags are initialized.
  • the template is variable in size and is always used by matching the image. However, if the matching is not performed well, the template region will protrude outside the horse image and will eventually come off. It is necessary to monitor this situation and flag it for later processing. Whether the maximum value of cos ⁇ when using the similarity method is less than the threshold value is necessary for determining the identity of template images because it is determined to be the same when the similarity is below a certain value. is there.
  • these flags are provided as material for determining whether data processing is effective.
  • the template is inserted into the cut image.
  • the tape rate is pasted as a size matching the clipped image.
  • the template that maximizes the number of color image data for the horse is selected by changing the three parameters of the top and side of the hexagon and the vertical and horizontal dimensions of the template in Fig. 10.
  • the object is extracted by the color of horse and jockey in the image, and the horse sample filter (S61) and rail sample filter (S62) are generated, and the grass mask filter (S63). Are also generated and synthesized (S64).
  • the image portion to be analyzed is extracted, and for example, the image information shown in FIGS. 15 to 18 is obtained.
  • the template matching process is performed as follows: a. Edge extraction process (S71)
  • cnt_ Number of pixels in the hexagonal area that is not occluded by other hexagonal areas cnt_z: In the cnt_c area, masked against the current image !, NA! /, find the number of pixels in the part, A flag is determined based on this data.
  • Template matching refers to searching whether the same image as the similarity feature of the current horse image is within the search range of the next screen.
  • the template matching to be performed is determined using a flag.
  • the template area Based on the template area and the unmasked area, it detects which horse is sampled by one horse. Then, the average value of the sampled range of the detected horse is updated as the template size of the current frame.
  • Figure 8 shows a flowchart of the template drawing / creation process.
  • the horse's coordinates are used for the barycentric coordinates.
  • Similarity is a method of comparing angles formed by two vectors when comparing an input pattern and a standard pattern (template image to be compared) as shown in FIG.
  • a standard pattern template image to be compared
  • fluctuations in the pixel values that make up the pattern However, fluctuations in pixel values can be reduced by calculating the angle between the two patterns.
  • X and Ax are input patterns
  • x (1) and x (2) are standard patterns
  • A is a constant.
  • the calculation formula calculates a cosine (formula (1)) as two pattern forces.
  • the hexagonal template registered in the previous frame is calculated by shifting one pixel at a time within the range of 101 in the surrounding area at the same position in the current frame.
  • the location where the angle is the closest is the position of the target horse in the current frame.
  • the pattern in the both frames is calculated by calculating whether the template of the first frame has the highest similarity of the next frame. It can be determined whether or not the same. In this way, the position of the same object can be determined for each frame.
  • a color image composed of RGB pixel colors is converted into three images of hue, saturation, and brightness by HSV conversion.
  • Each color image is an image of hue and lightness, the above similarity is calculated for each, and the sum is used.
  • the absolute position of the horse is obtained as follows.
  • the horse position information analysis' display method of the present invention is intended to display the trajectory of each horse in the race, that is, to display the race development. At that time, the horse position at that time is indispensable. I don't need anything accurate. Near the goal, there is a more accurate video judging device than the conventional one, and a photo grading device is used. It is done more precisely.
  • a halon stick stands on the fence of the racetrack every 200 m, and the number of frames when the first horse passes the halon stick is obtained from a lateral patrol image. Since it can be approximated that the halon rods are moving at a constant speed, the passing frame of the halon and the next halon rod can also be used to calculate the approximate passing distance per frame.
  • the target ground marker is not limited to the halon rod, and more accurate absolute coordinates can be automatically detected by providing an identification display such as changing the color for each fence.
  • the horse rank is determined in order of decreasing Y coordinate value with respect to the Y axis of the image (the vertical direction of the image).
  • the image is taken from the front information power of the horse, and since the one with the smaller vertical axis (Y coordinate) is the head, the order of the horses can be determined.
  • the moving distance between the frames of the first horse in an image in which a forward force is also imaged can be calculated by proportional distribution from the movement in the vertical direction (Y-axis direction) on the screen. Since the passing distance for each frame is divided, the position coordinates of the first horse can be roughly determined. When the position coordinates of the first horse are obtained in this way, the succeeding horse can approximate the distance from the first horse as described above. like this Thus, the absolute position of each horse is calculated.
  • FIG. 9 shows a flowchart of specific post-real coordinate conversion processing.
  • the obtained trajectory information of each horse is displayed along the race plan as shown in FIG.
  • the race development may be displayed by regarding the race track from the start to the goal as a straight line.
  • Figure 19 and Figure 20 show the power of the entire trajectory. Starting from the start to the goal for each frame and displaying it continuously, it is preferable because the race development is well divided. In this case, if the horse image is played back using CG, the race development will become more real.
  • the position information for each frame of the present invention can be distributed only on the position information, and the race image can be reproduced on the receiving side, with the amount of information being significantly less than the image itself. .
  • a race image can be clearly reproduced even on a transmission medium (for example, a mobile phone) with a small transmission amount, which is highly convenient.
  • mask processing refers to extracting an image portion to be analyzed and painting other portions black as shown in FIGS. 15 to 18, for example.
  • the horse and jockey parts and the fence part are identified by color and extracted.
  • the color component of the gate part is similar to that of the horse, so it is extracted together with the horse image.
  • the procedure for applying the template to the gate part is also analyzed. This is wasteful in calculation.
  • FIG 22 shows frames from a continuous image. The overall flow of analyzing horse position information is shown. As shown in Fig. 3, the Noroll camera is placed at 4 to 6 locations around the course, so it is necessary to input which camera image is being analyzed. Environment setting, for example, lawn course or dirt's course power The weather of the day is clear or overcast, which camera image is used depending on the environment information of each camera that affects the imaging conditions and the racehorse position of the racehorse Enter information about whether or not.
  • FIG. 23 and FIG. 24 show an algorithm for improving the accuracy of the image analysis of the present invention.
  • FIG. 23 shows an example of turf course analysis
  • FIG. 24 shows an example of a dirt course analysis.
  • This algorithm is a process that masks parts other than horses accurately (fills in black) to improve tracking accuracy.
  • 25 to 30 are enlarged views of the images in FIG. 31 to 36 are enlarged views of the images in FIG.
  • the feedback information reading process is a process of reading the tracking result of the previous frame (previous image frame) to reflect it in the current frame being processed.
  • Each frame has a difference of only 1 / 30th of a second depending on the specifications of the video, so the processing time and accuracy can be improved by diverting the processing result of the immediately preceding frame.
  • the image to be processed is read into the processing system, and at the same time, the pixel value state is converted to HSV, and the size of the image is measured.
  • the HSV conversion is as follows.
  • the scanned image is given in RGB format.
  • the RGB format is a representation of an image with the red 'blue' and green values that are the three primary colors of light.
  • the format for representing an image with hue 'saturation' intensity is the HSV format.
  • the “gate mask process” is a process of cutting a part behind the last horse. By performing this process, it is possible to eliminate the influence of the start gate immediately after the start in extra portions other than Baba, for example, the frame as shown in FIG. Also, unnecessary as shown in Figure 13 Since this method is also effective for a frame having a background image, it is automatically performed on all images in the present invention.
  • the erase line is drawn with a certain distance from the last horse image force of the previous image, and all the images behind the erase line force are all set to 0 (black).
  • the territory is a value that represents the size of the horse relative to the screen, quoted from the previous image frame processing result.
  • all the images outside the kite are further erased from the image obtained in S103.
  • the erase line is set a predetermined distance outside the heel, and all images outside the erase line are set to 0 (black).
  • the reason why the erasure line is set a predetermined distance outside the heel is that the horse image may cover the heel slightly as shown in FIG.
  • the predetermined distance is a margin for deleting the horse image!
  • the image portion is extracted by extracting the edge of the color information of the horse and jockey portions to cut out the image portion and perform mask processing (S 105).
  • the size of the template is adjusted to the size that best matches the extracted image.
  • the “horse mask process” is a process that uses the tracking result of the previous image frame to mask the part other than the part that seems to have a horse.
  • the RGB information of the image is converted into HSV information to create a histogram with the number of each component of the HSV information, and the area ratio of the clipped image and the entire image is calculated, and the area ratio is calculated according to the area ratio.
  • a threshold value serving as a boundary between the clipped image and the background image on the histogram is set, and image information other than the background color is extracted from the image according to the threshold value (S106).
  • the histogram is a graph in which the horizontal axis represents pixel values and the vertical axis represents distribution thereof.
  • the horizontal axis is the pixel value of each pixel component
  • the vertical axis is the number of each pixel value pixel in the histogram processing base image to create a histogram.
  • the peak portion in Fig. 42 represents a pixel value with a large number of pixels, that is, the value is a Baba color value.
  • the part where the peak is formed is an image of green turf that occupies most of the image, so if the image of the above turf part is all black by cutting it with the threshold determined by the area ratio below. All that remains is the hue of the horse image area. This is shown in FIG.
  • Threshold (All pixels-Pixels outside the mask) * ((White pixels in the horse mask / 8) / Number of black pixels in the mask)
  • Fig. 37 to Fig. 41 show S101 (read feedback information), S102 (image read), 103 (gate mask processing), S104 ( ⁇ mask processing), S105 (horse, ask processing) of Fig. 23.
  • S101 read feedback information
  • S102 image read
  • 103 gate mask processing
  • S104 ⁇ mask processing
  • S105 horse, ask processing
  • the image of the frame immediately before the frame to be analyzed in the continuous image is read (S121), and the size of the territory (horse size) of the immediately preceding image frame is read (S122). ).
  • RGB numerical information of the frame to be analyzed is read (S123), and the R
  • the GB information is converted to HSV (S124), and the image height, width, and depth are set (S125).
  • the last horse position is obtained from the position coordinates of each horse in the previous image (
  • FIG. 39 shows a mask mask processing procedure.
  • the image of the fence (fence) including the horse image is detected in a straight line.
  • a wrinkle portion is detected from the size (length) of the detected image, and the position of the wrinkle portion of the current image is specified.
  • Morphology processing (closing) is performed on the mask mask pixel to remove noise.
  • each cluster is numbered and used as a wrinkle mask label (S144), and the individual areas of all the clusters are calculated (S145).
  • the largest cluster is recognized as ⁇ (S 146).
  • a mask having only the heel portion is created, and the mask edge is obtained (S147). Based on the information at the edge of the mask, the outside mask is masked (S148), and the mask is moved in the outward direction of the eyelid (S149). This is to leave a horse image that is applied to the kite.
  • the horse mask process of FIG. 40 is basically the same as the conventional proposal.
  • step S151 HSV conversion is performed on the current image, and the horse position of the previous image is obtained (
  • step S152 a horse mask is created in an area obtained by extending the periphery of the horse position in the previous image (S152).
  • FIG. 41 shows details of the histogram processing.
  • the histogram is a graph of the pixel values on the horizontal axis and the distribution on the vertical axis as shown in FIG.
  • the horizontal axis counts the pixel value of each pixel component
  • the vertical axis counts the number of pixel value pixels in the histogram processing base image to create a histogram.
  • the peak portion of the figure represents a pixel value having a large number of pixels, that is, the value is a value of Baba color.
  • the threshold calculation formula is the standard for applying the mask.
  • Threshold (All pixels-Pixels outside the mask) * ((White pixels in the horse mask / 8) / Number of black pixels in the mask)
  • Fig. 41 when the histogram is created (S161), the white part in the horse mask and the black part in the saddle mask are detected and counted (S162, S163).
  • the threshold is determined with an unexpected ratio (S164), the value below the HSV component threshold is detected and the maximum and minimum values are found (S165), and the masking histogram of the maximum and minimum values is created. (S166). This is subjected to morphological processing to remove noise and complete the histogram (S167).
  • Fig. 42 shows the histogram corresponding to each component of H 'S' V.
  • Horizontal axis The pixel value of each pixel component (H • S ⁇ V) multiplied by 100 to give an integer
  • Vertical axis This is the number of each pixel value pixel in the histogram processing base image.
  • the race situation can be enjoyed visually on a mobile phone or the like, which contributes to the improvement of the fan's service for horse racing. In addition to contributing to the improvement of horse racing sales, it is possible to produce a new industrial issue (data distribution).

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Image Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Image Processing (AREA)

Abstract

 競馬や競艇において、レース場の周囲から撮像された複数のパトロール映像を解析して各馬のその時の位置情報を入手し、上記パトロール映像の連続画面間の特定の馬を類似度を判定して追尾することにより各馬のレース展開(軌跡)を表示させることを目的とする。本発明の各馬、各艇等の位置情報解析・表示方法は、連続したレース撮像画像において、各馬、各艇等を類似度解析により識別して、該レース画像中の各馬等の軌跡を連続して追尾し、かつ該各画像中の固定位置情報との位置関係より前記各馬、各艇等の位置情報を解析して各馬、各艇等の軌跡を表示する。さらに、上記識別に各馬、各艇等の画像の大きさにマッチしたテンプレートを用い、該テンプレート内において各馬、各艇等の識別を行う。この時、前記テンプレートは6角形状であり、画面上の各馬、各艇等の大きさに合わせて該テンプレートの大きさが可変である。

Description

明 細 書
馬位置情報解析並びに表示方法
技術分野
[0001] この発明は、競馬、競輪、競艇、オート等のレース画像より各馬、各艇等の位置情 報を解析する方法およびその表示方法、及び該画像解析における、各馬、各艇等の 画像を正確に抽出する方法に関する。
背景技術
[0002] 従来、競馬等において観客がレース経過の状況を見るのは、一般的には場内 TV や TV中継等であった。
しかし、これら TV中継は各馬のレース展開を個別に追跡することは困難であり、特 に各馬のレース中の順位を含めた競走軌跡を表示することはできな力 た。
[0003] 各馬のレース展開は、次のレースの予測をするのに貴重なデータであり、またコー ス妨害等のルール違反を監視するために有効なデータである。
例えば、競馬において、レース中に他の馬のコース妨害をすることは違反であり、こ のため競馬場周囲の数力所には TVカメラを設置して各馬の競走状況を逐一映像記 録し、レース後にコース妨害等の違反がなかったかどうかを審判するためのパトロー ル映像が撮像されている。レース中の違反の有無は、現在このパトロール映像によつ て判断されている力 レース中の各馬の詳細な軌跡が表示されると、このレース後の 審判資料としても活用できる。
[0004] また、予想新聞等は、過去のレースの各馬の特徴を捉えて、先行馬とか追!、込み 馬等を区別し、またハンディや競走距離や馬場状態、右周り、左周りの得手、不得手 等を考慮し、出走馬の順位を予想している。しかし、過去のレース展開の正確な情報 は従来な力つたので、レース展開(各馬のコース取り)をカ卩味した予想はできな力つた 。これは、従来競馬、競艇等のレースにおいて、各馬、各艇等の位置情報を解析す る有効な方法がな力つたためである。
[0005] 米国等では、主要ハロン毎に人手で時間と馬順を計測し、これを記録データとして 公表している力 人手でやっているので効率が悪ぐまた連続した記録は取得できな V、のでせ 、ぜ 、ノヽロン毎の間歇的データしか取得できな 、のが現状である。
[0006] また、香港競馬場等では、競馬場に検知アンテナを埋め込み馬に発信器を取り付 けて、馬の通過を該アンテナで検知して各馬の位置情報を入手する試みがなされて V、る。このような発信器を用いた馬位置表示装置の例として特開 2005— 24315号 公報が公知である。
[0007] しかし、発信器の信号の受信には誤動作が生じ易ぐまた新規に必要な装置設備 負担が大きいため、実用化には問題が多ぐなかなか普及していない。
また、過去レースのデータは存在せず、新たなデータの蓄積には時間が掛カるの で、設置されたとしても実際にレース予想に用いるには 1〜2年の年月を必要とする。 また、それ以前のレース情報が得られないので、レース情報としては不十分なものと なる。さらに、地方競馬等の小規模の競馬場等ではコストが掛カり過ぎて導入が不可 能である。
また、競馬場の周辺に設けられた複数の TVカメラ力ゝら各競走馬の位置情報を入手 し、表示するアイデアが特開平 6— 165882号公報に示されている。
[0008] 以下、同公報記載の内容を要約すると、
図 1は、同公報の移動動作再現装置の一例を示す全体ブロック図である。この移動 動作再現装置は、競馬場 6において数頭の馬 9a, 9b, 9cが走る状態を馬模型 13a, 13b, 13cを移動させることにより再現するものである。競馬場 6には、馬が走行するト ラックに沿って複数台のテレビカメラ 7A〜7Lが設置されている。そしてそれらのテレ ビカメラ 7A〜7Lの画像データがそれぞれの検出装置 8A〜8Lに伝送されるように構 成されている。検出装置 8A〜8Lは、テレビカメラ 7A〜7Lのうち走行馬 9a, 9b, 9c を捕えたテレビカメラ(たとえば 7H)からの走行馬の画像データが送信されてくれば、 それを検出して走行馬 9a, 9b, 9cの画像データを物体動作判定装置 1に送信する。 物体動作判定装置 1には、判定基準登録装置 5が接続されており、たとえば騎手毎 の帽子や服の色などをこの判定基準登録装置 5により物体動作判定装置 1に登録し て予め記憶させておく。
[0009] 物体動作判定装置 1では、判定基準登録装置 5から登録された登録データと検出 装置 8A〜8L力 入力された検出データと比較して走行馬 9a, 9b, 9cのそれぞれの 動きを解析して追跡する。なお、判定基準登録装置 5により走行馬 9a, 9b, 9cのそ れぞれのゼッケン番号を物体動作判定装置 1に登録するようにしてもょ 、。この判定 基準登録装置 5は、具体的には移動式のテレビカメラ等力 構成され、走る前の馬ま たは騎手に近づいて 1つずつ映し出して登録する。前記テレビカメラ 7A〜7Lと検出 装置 8A〜8Lとにより、走行馬 9a, 9b, 9c等の移動物体の移動動作状態を捕える移 動動作捕捉手段が構成されて ヽる。
[0010] 物体動作判定装置 1では、走行馬 9a, 9b, 9cの移動動作の追跡結果データを動 作データ作成装置 2に送信する。この動作データ作成装置 2は、走行面 12や馬模型 13a, 13b, 13c等からなるゲーム機に一体的に設けられたものである。
[0011] しかし、走行中の馬の競走軌跡を捉えるのは困難であり、特に群れをなす競走馬 群力も対象の馬を追尾していくのは画像フレーム間の馬の同一性を認識する必要が あるので技術的に難しいにも拘わらず、上記特開平 6— 165882号公報にはこの技 術的解決手段が開示されていない。また、対象の馬の絶対位置をどのように計算す るカゝも開示されておらず、同公報はアイディアのみを示した未完成なものである。 特許文献 1:特開 2005— 24315号公報
特許文献 2 :特開平 6— 165882号公報
発明の開示
発明が解決しょうとする課題
[0012] 本発明は上記課題に鑑みてなされたもので、レース場の周囲に設けられた複数の ノ讣ロール映像を解析し、該解析データから各馬のその時の位置情報を入手し、上 記ノ讣ロール映像の連続画面間の特定の馬を類似度を判定して追尾することにより、 特定の馬のレースにおける軌跡を解析'表示させ、各馬のレース展開を表示させる 方法及び手段を提供することを目的とする。
[0013] また、該各馬、各艇等の位置情報解析'表示方法において、競馬、競艇等のレ ース画像より各馬、各艇等の位置情報を解析するためには、各馬等の画像を適切に 切り抜く作業の自動化が重要である。
[0014] 本発明は、さらに上記提案のものの画像解析の改良に関するものであって、上記 馬等の画像の切り抜き作業をより精度よぐまた自動的に行う抽出アルゴリズムを提 供することを目的とする。
課題を解決するための手段
[0015] 上述した課題を解決するため、本発明の各馬、各艇等の位置情報解析'表示方法 は、競馬、競艇等のレース画像より各馬、各艇等の位置情報を解析し、表示する方 法であって、連続したレース撮像画像において、各馬、各艇等を類似度解析により識 別して該レース画像中の各馬、各艇等の軌跡を連続して追尾し、該各画像中の競馬 場や競艇場等の固定位置情報との位置関係より前記各馬、各艇等の位置情報を解 析すると共に各馬、各艇等の軌跡を表示することを特徴とする。
[0016] さらに、各画面上の前記各馬、各艇等の識別情報を次画面の各馬、各艇等の識別 情報と比較し、前画面の対象と類似度が大きい次画面の対象を同じ馬または同じ艇 等と同定識別することを特徴とする。
[0017] また、前記類似度による識別方法が色情報を用いた認識により行われること、及び 前記レース画像における各馬、各艇等の識別に各馬、各艇等の画像の大きさにマツ チしたテンプレートを用い、該テンプレート内において各馬、各艇等の識別を行うこと を特徴とする。
この時、前記テンプレートが 6角形状であり、画面上の各馬、各艇等の大きさに合わ せて該テンプレートの大きさが可変であることを特徴とする。
[0018] さらに、前記テンプレートの大きさは、該テンプレートより広い範囲の探索領域にお Vヽて前記対象画像の色識別を行って切り出し領域を決定し、該切り出し領域によつ て各馬、各艇等の画像の大きさにマッチした大きさのテンプレートを定めることを特徴 とする。
[0019] またさらに、前記テンプレートにおいて、馬の脚部を除いた上部のみを類似度解析 領域としたこと、前記テンプレートにおいて、馬の頭部及び騎手の頭部に相当する領 域を重み付けを行って類似度解析を行うことを特徴とする。
[0020] あるいは、この発明の競走軌跡表示方法は、前記各馬、各艇等の位置情報解析方 法を用いて前記各馬、各艇等の位置情報を解析し、該各馬、各艇等の位置情報を 連続して表示することにより前記レースにおける各馬、各艇等の競走軌跡を表示する ことを特徴とする。 [0021] またさらに、この発明の競走軌跡表示方法は、前記競走軌跡表示方法に用いて競 走軌跡データをインターネットを介してパソコンや携帯端末、携帯電話に配信し、該 配信されたデータを用いて CGによりレース展開を再現し、該再現した動画レース画 像をパソコンや携帯端末、携帯電話に表示することを特徴とする。
[0022] あるいはさらに、上記目的を達成するため、本発明の各馬、各艇等の位置情報解 祈-表示方法は、競馬、競艇等のレース画像より各馬、各艇等の位置情報を解析し、 表示する方法であって、連続したレース撮像画像において、各馬、各艇等を類似度 解析により識別して該レース画像中の各馬、各艇等の軌跡を連続して追尾し、該各 画像中の競馬場や競艇場等の固定位置情報との位置関係より前記各馬、各艇等の 位置情報を解析すると共に各馬、各艇等の軌跡を表示する各馬、各艇等の位置情 報解析'表示方法において、前記連続したレース撮像画像において、該画像からレ ースコース以外の不要な部分を削除して各馬、各艇等の切り抜き画像を抽出するこ とを特徴とする。
[0023] さらに、前記不要の部分が前記連続画像の前画像の各馬、各艇等の位置座標から 最後尾の馬位置から所定位置後方から後ろの画像情報をすベて 0にすることを特徴 とする。また、前記連続画像から埒部分を抽出し、該埒外の画像情報をすベて 0にす ることを特徴とする。
[0024] またさらに、前記画像の RGB情報を HSV情報に変換して該 HSV情報の各成分数 力 ヒストログラムを作成し、前記切り抜き画像の面積と画像全体の面積比を計算して 該面積比に応じて上記ヒストグラム上の切り抜き画像と背景画像との境界となる閾値 を計算し、前記閾値に応じて前記画像力 背景色以外の画像情報を抽出することを 特徴とする。
[0025] さらに、前記レース画像における各馬、各艇等の識別に前記各馬、各艇等の画像 の大きさにマッチしたテンプレートを用い、該テンプレート内において各馬、各艇等の 識別を行い、該識別によって得られた馬等のマスクと前記抽出された背景色以外の 画像情報との論理積 (AND)を取って、馬等の切り抜き画像以外のノイズを消去する ことを特徴とする。
[0026] さらに、上記テンプレートが 6角形状であり、画面上の各馬、各艇等の大きさに合わ せて該テンプレートの大きさ及び形状が可変であること、あるいは、前記テンプレート の大きさは、該テンプレートより広い範囲の探索領域において前記対象画像の色識 別を行って切り出し領域を決定し、該切り出し領域によって各馬、各艇等の画像の大 きさにマッチした大きさのテンプレートを定めることを特徴とする。
[0027] さらにまた、前記テンプレートにおいて、馬の脚部を除いた上部のみを類似度解析 領域としたこと、また、前記テンプレートにおいて、馬の頭部及び騎手の頭部に相当 する領域を重み付けを行って類似度解析を行うことを特徴とする。
発明の効果
[0028] この発明は、特に新たな施設を敷設することなぐ従来から撮像されている競馬等 のパトロール映像力 レース中の馬等の位置を算出し、該データに基づき表示困難 であったレース展開の再現を容易にすることができたので、レースの審判判定や次の レース予想のデータとして有用なレース'データを容易に提供できる顕著な効果を奏 する。
[0029] さらに、撮像されたレース画像力 個別の馬を追尾するため、対象の大きさに合わ せたテンプレートを用いて連続画面間の類似度関数を解析することにより、従来困難 であった競走中の馬群から同じ馬を抽出して連続画面間の同定解析することが容易 にできるようになった。このことにより、上記のように特に新たな設備投資をせずに、従 来力も存在するパトロール映像を解析することによりレース展開の貴重なデータを容 易に入手できることができた。
[0030] また、上記レース中の位置情報のデータ量は、レース画像そのもののデータ量に比 ベれば圧倒的に少な!/、ので該位置情報データのみを配信し、 CG等を用いてレース 画像を受信側で再現すれば、配信されるデータ量が小さいので、例えば携帯電話と 力 ダイアルアップ回線等でも十分受信可能である。従って、従来困難であった画像 伝送に替わるものとして、携帯電話や携帯端末でも容易にレース画像を楽しむことが 可能となる。
[0031] またさらに、本発明は馬画像以外の不要部分を事前に削除するので処理時間の短 縮化が達成できる。また、埒ゃゲート部分の映像等を馬と誤認識するリスクもなくなる 従って、この発明により、馬等の画像の切り抜きが精度よく行われるので、その後の 類似度比較等の精度があがり、前画面と次の画面との間の同じ馬の同定処理が精 度がよくなり同定ミスが減る。このことによりテンプレートのはずれ現象も少なくなり、は ずれたテンプレートを手動で張り直す手間もなくなる。
[0032] このことにより、解析時間の短縮ィ匕が大幅に向上し、レース後直ぐに位置情報解析 結果、すなわち、各馬のコース取り情報が提供可能になる効果が生じる。
図面の簡単な説明
[0033] [図 1]従来例を示す図である。
[図 2]競馬における馬の軌跡を模式ィ匕した図である。
[図 3]競馬場のコースレイアウトの例を示す図である。
[図 4]開始フレームでの処理のフローチャートである。
[図 5]開始フレームでの処理のフローチャートの続きである。
[図 6]マスク処理アルゴリズムのフローチャートである。
[図 7]テンプレート 'マッチング処理のフローチャートである。
[図 8]テンプレート描画'作成処理のフローチャートである。
[図 9]実座標変換後処理のフローチャートである。
[図 10]本発明に用いられるテンプレートの形状を示す図である。
[図 11]スタート直後のパトロール映像の例を示す図である。
[図 12]2コーナー付近のパトロール映像の例を示す図である。
[図 13]4コーナー付近のパトロール映像の例を示す図である。
[図 14]ゴール付近のパトロール映像の例を示す図である。
[図 15]図 11に対応するスタート直後のパトロール映像の切り出し画像例を示す図で ある。
[図 16]図 12に対応する 2コーナー付近のパトロール映像の切り出し画像例を示す図 である。
[図 17]図 13に対応する 4コーナー付近のパトロール映像の切り出し画像例を示す図 である。
[図 18]図 14に対応するゴール付近のノ《トロール映像の切り出し画像例を示す図であ る。
[図 19]レース展開の表示例を示す図である。
[図 20]コースを直線とみなした場合のレース展開の表示例を示す図である。
[図 21]入力パターンと標準パターン (比較の元となるテンプレート画像)を比較すると きに、 2つのベクトルがなす角度を比較する手法の説明図である。
[図 22]本発明の改良された画像処理の全体のフローチャートを示す図である。
[図 23]芝コースの場合の本発明の改良された画像抽出アルゴリズムの全体のフロー チャートである。
[図 24]ダート'コースの場合の本発明の画像抽出アルゴリズムの全体のフローチヤ一 トである。
[図 25]図 23の同画像の拡大図である。
[図 26]図 23の同画像の拡大図である。
[図 27]図 23の同画像の拡大図である。
[図 28]図 23の同画像の拡大図である。
[図 29]図 23の同画像の拡大図である。
[図 30]図 23の同画像の拡大図である。
[図 31]図 24の同画像の拡大図である。
[図 32]図 24の同画像の拡大図である。
[図 33]図 24の同画像の拡大図である。
[図 34]図 24の同画像の拡大図である。
[図 35]図 24の同画像の拡大図である。
[図 36]図 24の同画像の拡大図である。
[図 37]図 23の S101, S102の詳細なフローチャートである。
[図 38]図 23の S103の詳細なフローチャートである。
[図 39]図 23の S104の詳細なフローチャートである。
[図 40]図 23の S105の詳細なフローチャートである。
[図 41]図 23の S106の詳細なフローチャートである。
[図 42]図 41の S 161のヒストグラムの例を示す図である。 符号の説明
1 物体動作判定装置
2 動作データ作成装置
3 座標検出装置
4 駆動命令作成装置
21, 22 馬の軌跡
31 スタートゲート
32 ゴーノレ
33 4コーナーカメラ
34 1コーナーカメラ
35 2コーナーカメラ
36 3コーナーカメラ
発明を実施するための最良の形態
[0035] 以下、図面を参照し、実施例に基づき本発明を詳細に説明する。
実施例
[0036] 図 2は、競馬における実際の馬の軌跡を模式ィ匕した図である。
図 2において、ゲートから一斉にスタートした各競走馬は、図 2の 21のように柵に近 い方に寄って競走する。先行馬は、なるべくスローペースにして先頭を保ち、 4コーナ 一からの余力を残す作戦をよく取る。しかし、例えば、 22のように 4コーナーから外に 回り、大外力も追い込みを掛け、先頭馬を一気に抜いて一番を目指す馬もいる。これ は、群れの中にいると走行が制限されるので、多少距離的に不利でも追い込み時の 加速の勢いを削がれないように群れの外に出て差し切る作戦である。なお、コースに は右廻りと左廻りがあり、競馬場によって異なる。
[0037] このように、馬の性質や能力、あるいは騎手の考え方によって種々の作戦がレース 展開に影響し、このようなレース展開の駆け引きが勝敗にも大きく影響するので、競 馬ファンはこのような馬のコース取りの軌跡は次のレースを予想するときの貴重なデ ータとなる。また、レースには、競走中各馬のコースを邪魔してはいけないというルー ルがあり、これに違反するとその馬は後着または失格になる。このため、各レースは、 例えば図 3に示す如ぐ競馬場の周辺に設けられた複数の撮像カメラによってモニタ 一されており、この撮像映像 (以下、ノ《トロール映像という。)に基づいてレース後に 審判員によってルール違反がな力つた力どうかが常に審議される。上記撮像は、上 記複数のカメラによって同期して撮像されており、各馬のレース状況は、いろんな角 度力も撮像されて 、て審判資料として供されて!、る。
[0038] 同様の事情は競艇にも存在し、スタート及び 1マーク旋回時のデータは競艇の審判 のために有力な参考データになる。すなわち、現状では VTR再生のみにより各艇の 旋回の様子を監視し、不適切な円転操作により他艇を妨害したなどのチェックを行つ ている。審議の結果、場合によっては注意、出場停止処分が課せられているが、 VT Rのみでは不鮮明な場合もあり、この発明の軌跡表示方法は、この補助手段としても 有用である。
[0039] また、レースにおいては特にコーナーへの入り方が難しぐコーナーを回った後他 の艇に先を行かれてしまった状況は、先に行く艇の波の影響で後続艇は不利になる 。従って、コーナーを先行して通過するために、コーナー手前のどの地点で減速する かの見極めが難しぐこの辺りのコース取りの良否がレース結果に大きく影響する。従 つて、選手側での反省も含め、コース取りの軌跡データは、次のレース結果の予測に 非常に参考になる。
[0040] 図 3には、競馬場のコースレイアウトの例を示す。図 3は、左廻りのコースの例である 。例えば、 2000mのダートコースのレースの場合、競走馬はスタートゲート 31からス タートし、矢印のように左廻りに 1周して、ゴール 32において順位を決める。
[0041] コースの周囲にあるパトロールタワー上には、前記のようにパトロール映像を撮影す るテレビ ·カメラ 33, 34, 35, 36等が設けられており、前記のようにこれらはすべて同 期してレース中の馬を撮影している。例えば、ゴール付近を競走している馬群は、 4コ ーナ一力メラ 33からは後ろ側から、 1コーナーカメラ 34は前力も撮影することになり、 また 2コーナーカメラ 35及び 3コーナーカメラ 36は、それぞれ斜め方向から撮影する ことになる。各カメラの映像はすべてセンターに集められて収録され、レース後すベ ての映像が審判室で放映され、レースの審判が行われる。
[0042] 上記パトロール映像の例を図 11〜図 14に示す。図 11はスタート直後、図 12は 2コ ーナ一、図 13は 4コーナー、図 14はゴール近辺を、いずれも 1コーナーカメラ 34で 撮像したものである。上記 1600mの芝コースのレースの場合、撮像フレーム数は、 約 2800〜3400枚となる。
[0043] 上記 1コーナーカメラ 34と同期して同じ場面の撮像が各コーナーカメラ 33, 35, 36 で撮像されるのは前述のとおりである。従って、例えば、図 14のゴール付近の画像は 、 2コーナーカメラ 35, 3コーナーカメラ 36からは斜め横方向力も撮像されることにな る。
(I)画像処理
これら映像は、図 4〜図 9のフローチャートに従って解析される。
[0044] (1)開始フレームでのスタート処理
まず、図 4において、各画像のテンプレートの位置決めを行い(S41)、マスク処理( S42)を行ってテンプレート'マッチング用フラグの初期化(S43)を行う。これら画像 解析の初期設定はゲート画像の影響を考慮して手動で行われるが、後述するテンプ レート ·マッチング処理を初期画面に用いて自動化してもょ 、。
[0045] なお、本発明のテンプレートは、図 10に示される。図 10において、 101 (細線の領 域)が次のフレームにおける探索領域である。馬は進行方向が前方方向に限られて おり、コーナー付近でもそれほど横方向にはずれることがない。従って、フレーム中 の馬の探索領域は 1つ前の馬の位置を中心して限られた狭い上記探索範囲 101を 探索すれば十分である。このことにより処理時間が短縮される。図 10において、 102 (太線領域)は矩形テンプレート領域である。馬の類似度解析は該矩形領域で行つ てもよい。しかし、本発明ではより精度を高めるため、図 10に示す 6角形のテンプレ ート 103を使用している。
[0046] 以下、手順を述べると以下のとおりとなる。
a.個々の馬のテンプレート座標を手動で設定する。 (S41)
b.色によるマスク処理。(S42)
画像内における馬と騎手の色による対象の抽出する。
[0047] ここで「マスク処理」とは、例えば、図 15〜図 18のように、解析対象の画像部分を抜 き出して、他の部分を黒く塗りつぶすことをいう。ここでは、馬と騎手の部分及び柵の 部分を色によって識別し、抜き出している。
[0048] この場合、画像部分の抜き出しは、上記馬と騎手の部分及び柵の部分の色情報の エッジを抽出することにより該画像部分を切り出して図 15〜図 18のようにマスク処理 が行われる。デジタル画像のエッジ処理は、例えば特開平 8— 123967号公報ゃ特 開平 7— 93561号公報に示されるように画像処理の分野では周知の技術であり、基 本的には微
分値のピークを求める手法を用いる。
[0049] 後述するように、テンプレートの大きさは、上記抜き出された切り出し画像が最も合 致した大きさに合わせられる。
c.馬番の決定
スタート直後の開始フレームにおいては、各馬の画像と馬番の関係を手入力する。 このことにより、最終的に得られた各馬の軌跡と出走馬番との関係が記録される。
[0050] d.フラグの初期化(S43)
画像解析用のフラグは下記の項目があり、これらフラグが初期化される。
'テンプレート領域内の非零値の割合が大きいか判定するフラグ z
'テンプレート領域内で他の馬の 6角形領域に大きく遮蔽されている力判定するフ ラグ c
'テンプレート領域が画像外にはみ出している力判定するフラグ
•どの大きさのリファレンス範囲を使用する力判定するフラグ
[0051] これらフラグを立てるのは次の理由による。レース中競走馬は群をなすことが多ぐ 従って、パトロールタワー上から撮像した場合、図 15の中心部分や図 16の右上方の ように各馬が重なって撮像されることが多い。この場合、次画面の画像とのテンプレ ート画像を比較する場合、他の馬で遮蔽された部分は類似度解析に不要の部分で あるので、該部分を削除して解析する必要がある。テンプレート領域内の非零値の割 合が大き!/ヽか否かは、現在得られて!/ヽる画像情報が類似度解析に十分かどうかを判 断するための基本情報であるのでフラグを立てる。また、テンプレート領域内で他の 馬の 6角形領域に大きく遮蔽されている力判定するフラグは、類似度解析に必要な 最小量のデータ量かどうか (実験では、約 30%あると解析が可能である。)を判断す るために必要である。
[0052] また、テンプレートは大きさが可変で常に画像にマッチングして用いられているが、 マッチングがうまく行っていない場合、馬画像の外にテンプレート領域がはみ出して、 最後には外れてしまう事態も生じるので、この状況をモニターしてフラグを立てておく ことが後の処理に必要である。類似度法を使ったときの cos Θの最大値が閾値未満か どうかは、テンプレート画像同士の同一性判断のためには類似度が一定値以下にな つたとき、同一と判断されるので必要である。
[0053] 上記のように、これらフラグはデータ処理が有効力どうかを判断する材料として提供 される。
e.遮蔽配列の作成(S44)
前記のように、他の馬で遮蔽された部分は類似度解析に不要の部分であるので、 該部分を削除して解析する必要があり、このため遮蔽された配列を作成しておく必要 がある。
[0054] f.馬に割り当てるテンプレート領域 (六角形領域)を作成する。
前記のように、切り出された画像にテンプレートをはめ込む。この時、テープレート は切り出された画像にマッチングした大きさとして貼り付けられる。大きさの調整は、 図 10のテンプレートの 6角形の上辺及び 4角形の縦、横の大きさの 3つのパラメータ を変化させて馬の色画像データ数が最大になるテンプレートが選択される。
[0055] g.次フレームと比較する画像領域の画素値の取得 (S45)
個々の馬のテンプレート領域内で遮蔽されていない 6角形領域内の画素値を取得 、それ以外の領域は全て零値を入力。
これは、次フレームと現画像の同一性を比較するため、同じ領域で比較する必要が あるためである。
h.テンプレート処理(S46)
(後述する。 )
[0056] (2) 2フレーム目以降のメインループ
図 5に示すように、処理対象となるフレーム内において、前記と同様に、 a.色によるマスク処理:馬と騎手の色による抽出(S51) b.テンプレートマッチング処理(S52)
c.テンプレート領域の大きさが変わる可能性があるため、次のフレームのテンプレ ート領域とマッチングするための新たな領域での画素値を取得 (S54)
d. 6角形領域描画'作成処理 (S55)
が行われる。
[0057] 処理対象フレームを終えると
e.実座標変換後処理 (全体の軌跡を絶対座標上で作成) (S56)
これら解析力も得られた各馬の位置座標をレース場の平面図に合わせて図 19のよ うに表示して、あるいはコースを直線とみなした場合の、レース展開を図 20のように表 示して用いられる。
f.終了処理
[0058] ここで、図 6のマスク処理アルゴリズムを説明する。
前記のように、画像内における馬と騎手の色による対象の抽出し、馬のサンプルフ ィルタ(S61)及びレール(柵)のサンプルフィルタ(S62)を生成し、芝のマスクフィル タ(S63)も生成してこれらを合成する(S64)。この「マスク処理」により解析対象の画 像部分を抜き出して、例えば、図 15〜図 18に示される画像情報が得られる。
[0059] (3)テンプレートマッチング処理
テンプレートマッチング処理は、具体的には図 7に示すように、以下の如くなされる a.エッジ抽出処理(S71)
b. リファレンス範囲の取得とテンプレートマッチングの条件設定(S72) 各馬のテンプレート領域にぉ 、て
cnt : 6角形領域の画素数
cnt_ 他の 6角形領域に遮蔽されていない部分の 6角形領域の画素数 cnt_z: cnt_cの領域で、現在の画像と照らし合わせてマスク処理されて!、な!/、部分 の画素数を求め、このデータを元にフラグを決定する。
[0060] 決定するフラグは
• 6角形領域中でマスク処理されて ヽな ヽ部分の割合 (cnt_Z/cnt)が指定した閾値 を満たさない場合、非零値が少ないとみなしてフラグ zを falseに、多い場合は trueとす る。
•6角形領域で遮蔽されていない領域の割合 (cnt_C/cnt)が、指定した閾値を満た さな 、場合、その 6角形領域の遮蔽されて!ヽる領域が大き!/ヽとみなしてフラグ c¾klse に、少ない場合は trueにする。
• cnt_c = cntの場合、その 6角形領域はまったく遮蔽されて ヽな 、ことになるのでし 、フフグ cを exceptionとする。
[0061] c 6角形領域の上下にどの 6角形領域が重なっているのかをチェック。
d.テンプレートマッチング(S73)
テンプレートマッチングは、現在の馬画像の類似度特徴と同じ画像が次画面の探 索範囲にあるかどうかを探索することをいう。
[0062] 1.馬の探索範囲内に他の 6角形領域が存在するかチェック。
2.チェックした後、探索範囲内に存在する場合はテンプレートマッチングを施す。 ここで、どのテンプレートマッチングを施すかフラグを用いて決定。
[0063] · 6角形領域の遮蔽が少ない場合(フラグ c =trueまたは exception):
リファレンス範囲を初期値のままのテンプレートマッチング。
'遮蔽が多い場合 (フラグ c=false):
•直上に 6角形領域がある場合は探索範囲を初期値のままのテンプレートマッチ ング。
•探索範囲内でどの 6角形領域にも属さないエッジを探索.ある場合は探索範囲 を変えてテンプレートマッチング。
[0064] 上の二つの条件を満たさな 、場合はテンプレートマッチングを施さな!/、。
[0065] 3. 1より他の 6角形領域が存在しない場合、非零値が非常に少ない(フラグ z=fal seの時)は、そのまま座標あわせ(S74)へ。
以上の前処理の後、
4.テンプレートの移動範囲を決める。
5.移動範囲内で類似度法を用い一番結果の良力つた領域の座標をテンプレート 座標に設定。 [0066] e.テンプレートの大きさを更新
テンプレート領域とマスク処理されてない範囲を元にどの馬が一頭でサンプリングさ れている力検出する。そして検出された馬のサンプリングされている範囲の平均値を 現在のフレームのテンプレートの大きさとして更新する。
[0067] f.座標あわせ(S74)
更新されたテンプレートが最適解を持つように、テンプレート座標を微調整する。具 体的には、上下方向、左右方向に他の馬がいないか調べ、
V、な 、場合:サンプリングされた範囲を基準に座標を合わせる。
いる場合:前フレームのテンプレート座標と現在のテンプレートの大きさを元にして 合わせる。
[0068] (4)テンプレート描画'作成処理
図 8にテンプレート描画 ·作成処理のフローチャートを示す。
[0069] a.枠データの生成(S81)
b.枠データの描画(S82)
c絶対座標を算出するためのデータを入手。 (S83)
d.例外テンプレートの塗りつぶし(S84)
[0070] 以下の不要となったテンプレートは、色分けされており、塗りつぶされて画面から削 除される。
•赤:対象となって!/ヽる馬が画像外
•青:条件が合わず、何も処理を施さな力つたもの
•黄:馬の非零値の割合が閾値未満
'緑:その馬の座標が重心座標に使われている。
[0071] ここで、この発明に用いられる「類似度」について説明する。
「類似度を用いた認識」の原理は、詳しくは「視覚パターンの処理と認識」(舟久保 登著、啓学出版 1990年初版発行。 )に記載されている。
[0072] 類似度とは入力パターンと標準パターン (比較の元となるテンプレート画像)を比較 するときに、図 21に示すように、 2つのベクトルがなす角度を比較する手法である。単 純に 2枚のパターンの差分を計算する手法では、パターンを構成する画素値の変動 に大きく影響を受けるが、 2つのパターンの角度を計算することにで、画素値の変動 を低減することができる。なお、図 21において、 X, Axは入力パターン、 x(1)、 x(2)は 標準パターン、 Aは定数を示す。
[0073] その計算式は 2つのパターン力 なる余弦 (式( 1) )を計算する。
[0074] [数 1] ss t * ^¾ = co^fft l i = ズ リ
II II I " I 図 10に示されたように、前フレームで登録された 6角形テンプレートを現フレームの 同位置において、その周辺領域である 101の範囲で 1画素ずつずらして計算し、そ の角度が最も一致した場所 (cos Θの最大値の点)が現フレームでの対象となる馬の 位置である。
[0075] こうして、あるフレームにあった対象力 次のフレームに移動した場合、上記最初の フレームのテンプレートが次のフレームの類似度が最も高いかどうかを計算すること により、両フレームに存在するパターンが同一のものかどうかが判定できるのである。 このようにして、各フレーム単位での同一対象物の位置を決定することができる。
[0076] 以下、カラー画像から類似度を計算する手法を説明する。
•類似度による認識
まず RGB画素カゝら構成されるカラー画像を HSV変換により、色相,彩度,明度の 3 枚の画像とする。
ここで色相と明度の 2種の画像パターンとする。各カラー画像は色相と明度の画像 とし、それぞれに対して上記類似度を計算し、その和を用いる。
[0077] (Π)位置座標の解析
上記画面解析から、馬の絶対位置は次のようにして求められる。なお、この発明の 馬位置情報解析'表示方法においては、レース中の各馬の軌跡を表示すること、す なわちレース展開を表示することを目的にしているので、その時その時の馬位置は必 ずしも正確なものを必要としな ヽ。ゴール付近には従来より精密な映像判定装置ゃゴ ール写真判定装置が備わっており、ゴール時の着順の判定及び時間の計測は従来 より別途精密に行われている。
[0078] 本発明では、画像解析より大雑把な絶対位置情報を求めている。求め方は、
1:画像の中に存在する動かないものや、動きの予測が容易なものを絶対座標に対 応づける。例えば、馬のテンプレート座標の平均値は、ストレート等のある一定の間 隔なら、大きくずれるということがない。そこで、始めと終わりの絶対座標のみを手動 で与えてやれば、間の各フレームの絶対座標を予測することができる。
2: 1で求められた絶対座標の基準となるポイントから各馬のテンプレート座標との差 分を求める。
3 :この差分が画像の縦及び横軸方向において、絶対座標に変換した場合、どのく らいの距離が生まれている力カメラの位置、角度、ズーム、及び馬の向き等を考慮に いれて計算する。
4: 1で求めた座標に 3で求めた差分を足し合わせて馬の絶対座標を割り出す。 となっている。
[0079] また、例えば、レース場の柵上には 200m毎にハロン棒が立っており、横方向のパ トロール映像から先頭馬が該ハロン棒を通過した時のフレーム数が求められ、馬はハ ロン棒間は等速運動をしていると近似できるのでハロンと次のハロン棒の通過フレー ムカもおおよその 1フレーム毎の通過距離が算出できる。なお、上記目標とする地上 の標識はハロン棒に限らず、例えば柵毎に色を変える等の識別表示を設けるとより正 確な絶対座標を自動的に検出できるようになる。
[0080] 図 14に示すように前方力も撮像した画像において、画像の Y軸 (画像の上下方向) に対し Y座標の値の小さ!/、順に馬の順位を決定する。例えば図 14にお 、て、画像は 馬の前方情報力ゝら撮像されており、縦軸 (Y座標)の小さい方が先頭になるので馬の 順位を決めることができる。
[0081] そして、例えば、図 18に示すように前方力も撮像した画像における先頭馬のフレー ム間の移動距離は、画面上の上下方向 (Y軸方向)の移動から比例配分で算出でき る。前記 1フレーム毎の通過距離が分力つているので、先頭馬の位置座標がおおよ そ求まること〖こなる。このようにして先頭馬の位置座標が求まると、後続馬は先頭馬の 位置座標との Y軸上のずれ力 前記のように先頭馬との距離が概算できる。このよう にして、ノ トロ一ル画像力 各馬の絶対位置が算出される。
[0082] 図 9には、具体的な実座標変換後処理のフローチャートが示される。
得られた各馬の軌跡情報は、図 19のようにレース場の平面図に沿って表示される。 また、表示は、図 20のようにレース場をスタートからゴールまでを直線とみなしてレー ス展開を表示してもよい。図 19,図 20は全軌跡を表示している力 フレーム毎にスタ ートからゴールまでを動画にして連続して表示するとレース展開がよく分力るので好 ましい。この場合、 CGを用いて馬画像を再生すれば、レース展開がより一層実感を 持ったものになる。
[0083] また、本発明の各フレーム毎に位置情報は画像そのものに比較すれば情報量は圧 倒的に少なぐ該位置情報のみを配信して受信側でレース画像を再生することもでき る。このことにより、伝送量の少ない伝送媒体 (例えば、携帯電話)でも鮮明にレース 画像を再生することができるので、利便性が高い。
[0084] さらに、上記馬位置情報の画像解析の精度を高める実施例を示す。
上記提案の画像解析の例えば図 15や図 17において、色によるマスク処理により 、画像内における馬と騎手の色による対象の抽出する場合、図 15においては柵の部 分 (業界用語では「埒」という。)が、また図 17においては、図 12の後方のスタートゲ ートの映像が抽出されてしまう。
[0085] これら、馬画像とは直接関係ない画像が抽出されるとノイズになるので、テンプレー トで馬画像の切り出しを行う際に誤差要因となり、馬画像抽出の精度を劣化させるこ とがわかった。
[0086] なお、前述の如ぐ「マスク処理」とは、例えば、図 15〜図 18のように、解析対象の 画像部分を抜き出して、他の部分を黒く塗りつぶすことをいう。図 15〜図 18では、馬 と騎手の部分及び柵の部分を色によって識別し、抜き出している。図 15や図 17の場 合は、埒ゃゲート部分の色成分が馬と類似しているので、馬画像と共に抽出すること になり、該埒ゃゲート部分も、前記テンプレートを当てはめ解析する手順が生じ、その 分計算に無駄が生じる。
[0087] 本発明は、上記の欠点を改良し、馬画像切り出し手順において、予め上記馬画像 以外のノイズの部分を消しておこうとするものである。図 22に、連続画像からフレーム を選択し、馬位置情報を解析する全体の流れを示す。ノ讣ロール'カメラは、図 3に示 すようにコース周辺の 4〜6ケ所に配置されて ヽるので、どのカメラの画像を解析して いるかを入力する必要がある。環境設定は、例えば、芝コースか、ダート'コースかと 力 その日の天気は、快晴か、曇天かとか、撮像条件に影響する各カメラの環境情報 や競走馬の競走位置によってどのカメラの画像を用いるかの情報を入力しておく。
[0088] 図 23,図 24に、上記本発明の画像解析の精度を高めるアルゴリズムを示す。なお 、図 23は芝コースの解析の例であり、図 24はダートコースの解析の例である。
このアルゴリズムは、トラツキンング精度を向上するため、馬以外の部分を正確にマ スキング(黒く塗りつぶす)する処理である。なお、図 25〜図 30は、図 23の各画像の 拡大図である。図 31〜図 36は、図 24の各画像の拡大図である。
[0089] 図 23の手順の概要は、以下のとおりである。
S101で、フィードバック情報を読み込む。
フィードバック情報読込処理とは、一つ前のフレーム(直前画像フレーム)のトラツキ ング結果を、処理している現フレームに反映するために読み込む処理である。各フレ ームは、動画の仕様により 30分の 1秒の違いしかないので、直前フレームの処理結 果を流用することで、処理時間 ·精度ともに向上することができる。
[0090] S102で、前記全体画像を読み込む。
画像読込処理では、処理する画像を処理系に読み込むと同時に、画素値状態を R GB力も HSVに変換する HSV変換を行い、続いて、画像のサイズを測定している。 なお、 HSV変換とは、次のようなものである。
[0091] 読込画像は RGB形式で与えられている。 RGB形式とは画像を光の三原色である 赤 '青'緑の数値ィ匕したもので表現したものである。これに対し画像を色相 '彩度'明 度で表す形式を HSV形式と 、う。 HSV形式に変換することで変動させるべきパラメ ータが簡単ィ匕かつ直感化することができ、処理手順が明確になる。
[0092] S103で、上記全体原画像から、最後尾の馬の後方の画像を消去する。
「ゲートマスク処理」とは、最後部の馬より後ろの部分をカットする処理である。この 処理を行うことで、馬場以外の余分な部分、例えば、図 11のようなフレームにおいて 、スタート直後のスタートゲート等の影響を除くことができる。また、図 13のような不要 な背景画像のあるフレームにも有効なので、この発明では全画像に自動的に行われ る。
[0093] 消去ラインは、前画像の最後尾の馬画像力も一定の距離をおいて引かれ、該消去 ライン力 後方のすべての画像がすべて 0 (黒)に設定される。
これは、図 38の S132において、処理するフレームによって画面に対する馬の大き さが変化するため、多少の糊代を持たせて最後尾の馬より後ろをカットしている。テリ トリーとは前画像フレーム処理結果から引用する、画面に対する馬の大きさを表す値 である。
[0094] S104では、上記 S 103で得られた画像から、さらに埒(コースを決める柵)の外側の 画像をすベて消去する。消去ラインは、埒より所定距離外側に設定され、消去ライン から外側の画像はすべて 0 (黒)に設定される。消去ラインが埒より所定距離外側に 設定されるのは、図 25にも見られるように埒に馬画像が多少かぶることがあるからで ある。所定距離はその馬画像を消さな!/、ためのマージンである。
[0095] このように、埒マスク処理では、画像中の埒 (柵)部分を検出して、埒より外側をマス クしている。この処理を行うことで、馬場以外の余分な部分の大半をカットすることが でき、後に行うヒストグラム処理の精度を大幅に向上させることができる。
[0096] カゝくして、原画像からノイズとなる不要な画像が消去され、残された画像には馬画像 と、後はレース上の緑の一様な芝画像のみとなる。
その後、前記提案の手法と同様にして馬画像の抽出が行われる。
[0097] すなわち、画像部分の抜き出しは、上記馬と騎手の部分の色情報のエッジを抽出 することにより該画像部分を切り出してマスク処理が行われる(S 105)。テンプレート の大きさは、上記抜き出された切り出し画像が最も合致した大きさに合わせられる。な お、「馬マスク処理」とは、前画像フレームのトラッキング結果を使用して、馬がいると 思われる部分以外をマスクする処理である。
[0098] 次に、前記原画像に対して、図 29に示される馬画像の抽出を行う(S106)。この手 順が、従来提案のアルゴリズムにな 、新規な点である。
これは原画像の色相情報 (HSV情報)を用い、前記レース'コースの一様な緑の色 相部分を消す手順である。 [0099] これは以下のようになされる。
前記画像の RGB情報を HSV情報に変換して該 HSV情報の各成分数カゝらヒストロ グラムを作成し、前記切り抜き画像の面積と画像全体の面積比を計算して該面積比 に応じて上記ヒストグラム上の切り抜き画像と背景画像との境界となる閾値し、前記閾 値に応じて前記画像から背景色以外の画像情報を抽出する(S106)。
[0100] なお、ヒストグラムとは、図 42に示されるように、横軸に画素値を縦軸にその分布を グラフで表したものである。
本マスク処理ヒストグラムの場合、横軸は各画素成分の画素値、縦軸はヒストグラム 処理基画像中の各画素値ピクセルの個数をカウントして、ヒストグラムを作成して 、る 。図 42のピークの部分が画素数が多い画素値を表しており、つまりその値が馬場色 の値である。つまり、図 42において、ピークを形成している部分は画像の大半を占め る緑の芝の画像であるので、下記面積比で決まる閾値で切って上記芝の部分の画 像は全部黒にすると、残るのは馬画像領域の色相等のみとなる。これが図 29である。
[0101] マスクをかける割合の基準となっている閾値の計算式は、
閾値 = (全画素-埒マスク外の画素) * ((馬マスク内の白色画素/ 8)/埒マスクの黒色 画素数)
で与えている。
[0102] まず、馬場以外部分 (埒より外の部分)を除 、た画素数を求めて、その値に馬の部 分とそれ以外との比率に独自の重みを考慮したものをかけて、閾値を求めて 、る。 図 23の S107では、前記レース画像における各馬、各艇等の識別に前記各馬、各 艇等の画像の大きさにマッチしたテンプレートを用い、該テンプレート内において各 馬、各艇等の識別を行い、該識別によって得られた馬等のマスクと前記抽出された 背景色以外の画像情報との論理和 (AND)を取って、馬等の切り抜き画像以外のノ ィズを消去する。このことにより、図 29における芝画像上に生じている馬画像以外の ノイズが除去されるので、馬画像解析の精度が向上する。
[0103] 図 37〜図 41は、図 23の S101 (フィードバック情報読み込み)、 S102 (画像読み込 み)、 103 (ゲートマスク処理)、 S104 (埒マスク処理)、 S105 (馬、アスク処理)のさら に詳細なフローチャートを示す。なお、図 24のダートコースの場合も処理(S111〜S 117)は、図 23の芝コースの処理(S101〜S107)と同じであり、ダートコースでもこ の手順が有効であることが確認されて 、る。
[0104] 図 37において、前記連続画像における現在解析しょうとするフレームの 1つ前のフ レームの画像を読み込み(S121)、直前画像フレームのテリトリーの大きさ(馬の大き さ)を読み込む(S122)。
[0105] 次に、今解析しょうとするフレームの RGBの数値情報を読み込み(S 123)、該 R
GB情報を HSVに変換し (S124)、画像の高さ、幅、深度を設定する(S 125)。
[0106] 次に、図 38において、前記前画像の各馬の位置座標から最後尾の馬位置を求め(
S131)、最後尾位置にテリトリーを 1. 2倍した縦方向分を足した位置から上部の画 像データ (RGB)をすベて 0に設定する。なお、同様のマスク処理は、前方にも不要 の画像がある場合、必要に応じて前方に対しても行ってょ ヽ。
[0107] 次に、図 39に埒マスク処理の手順を示す。
例えば、図 15のように、画像の HSV成分を抽出すると、馬画像を含め、埒 (柵)の 画像が直線状に検出される。該検出画像の大きさ (長さ)から埒部分を検出し、現画 像の埒部分の位置を特定する。
[0108] 具体的には、以下のとおりである。
図 39の S 141で全画素を 0〖こし、 HSV成分で対応する埒マスクの画素を 1に設定 する(S142)。
[0109] 該埒マスク画素に対してモルフォロジ処理 (クロージング)を実行してノイズを除去し
(S 143)、該埒マスク内でラベリング処理を行い、各クラスタに番号をつけて、埒マス クのラベルとし (S144)、全クラスタの個々の面積を計算して(S145)、その内、最大 のクラスタのものを埒と認定する(S 146)。
[0110] 埒部分のみのマスクを作成し、そのマスク端を求める(S147)。該マスク端の情報を 基に、埒外のマスキングをし(S 148)、該埒マスクを埒の外方向に移動する(S 149) 。これは、埒に掛力る馬画像を残すためである。
現画像に上記マスク処理を行い残された画像カゝらヒストグラムを作成する(S 150)。
[0111] 図 40の馬マスク処理は、基本的には前記従来提案のものと同じである。
すなわち、現画像に HSV変換を実行し、 1フレーム前の画像の馬位置を取得して( S151)、該前画像の馬位置の周辺を拡張した領域で馬マスクを作成する(S152)。 図 41に前記ヒストグラム処理の詳細を示す。
[0112] ヒストグラム処理では、馬場部分以外をカットした画像を基に各色成分毎にヒストグ ラムを作成しそのピーク部分 (馬場色部分)を閾値計算式によって計算された値を使 用して除去する。よって、馬場色部分に効率よくマスクをかける処理である。
[0113] なお、ヒストグラムとは、前述の如ぐ図 42に示すように横軸に画素値を縦軸にその 分布をグラフで表したものである。本マスク処理ヒストグラムの場合、横軸は各画素成 分の画素値、縦軸はヒストグラム処理基画像中の各画素値ピクセルの個数をカウント して、ヒストグラムを作成している。
[0114] 図のピークの部分が画素数が多い画素値を表しており、つまりその値が馬場色の 値である。
マスクをかける割合の基準となって 、る閾値の計算式は
閾値 = (全画素-埒マスク外の画素) * ((馬マスク内の白色画素/ 8)/埒マスクの黒 色画素数)
で与えている。
まず、馬場以外部分 (埒より外の部分)を除いた画素数を求めて、その値に馬の部 分とそれ以外との比率に独自の重みを考慮したものをかけて、閾値を求めて 、る。
[0115] 図 41において、ヒストグラムを作成したら(S161)、馬マスク内の白色部分、埒マス ク内の黒色部分を各検出してカウントし (S162, S 163)、埒マスク外の馬マスクとそ れ意外の比率で閾値を決定し (S164)、 HSV成分の閾値以下の値を検出してその 中の最大値と最小値を求め(S165)、上記最大値と最小値のマスキングヒストグラム を作成する(S166)。これにモルフォロジ処理を行ってノイズを除去しヒストグラムを完 成する(S167)。
[0116] このようにして得られたヒストグラムの例が、図 42に示される。
なお、図 42は、 H' S 'V各成分に対応するヒストグラムを示し、横軸:各画素成分 (H • S · V)の画素値を整数ィ匕するため 100倍したもの、縦軸:ヒストグラム処理基画像中 の各画素値ピクセルの個数である。
[0117] 図 42において、左上図: H成分のみ、右上図: S成分のみ、左下図: V成分のみ、を 示す。
産業上の利用可能性
[0118] 本発明によれば、従来入手困難なレース展開(レース中の各馬の軌跡)が容易に 得られ、これのニーズは高!、ので商用化が期待できる。
また、小容量の一データのみ配信して、受信側でレース画像を再現すれば、携帯 電話等でもレース状況を視覚で楽しむことができ、このことは競馬へのファン'サービ スの向上に資して競馬の売り上げ向上に寄与するとともに、新たな産業上の-一ズ( データ配信)を産むことができる。
[0119] また、本発明の改良された画像抽出方法を用いれば、より精度の高い、また計算 時間の短縮された馬位置情報解析が可能となる。
レース後の速やかなレースのコース取りの情報提供は、審判資料となるば力りでな ぐ競馬ファンへのサービス向上になり、ひいては競馬ファンの増大につながる有力 なツールとなる。

Claims

請求の範囲
[1] 競馬、競艇等のレース画像より各馬、各艇等の位置情報を解析し、表示する方法 であって、
連続したレース撮像画像において、各馬、各艇等を類似度解析により識別して該レ ース画像中の各馬、各艇等の軌跡を連続して追尾し、該各画像中の競馬場や競艇 場等の固定位置情報との位置関係より前記各馬、各艇等の位置情報を解析すると 共に各馬、各艇等の軌跡を表示することを特徴とする各馬、各艇等の位置情報解析 •表示方法。
[2] 各画面上の前記各馬、各艇等の識別情報を次画面の各馬、各艇等の識別情報と 比較し、前画面の対象と類似度が大きい次画面の対象を同じ馬または同じ艇等と同 定識別することを特徴とする前記請求項 1記載の各馬、各艇等の位置情報解析'表 示方法。
[3] 前記類似度による識別方法が高次局所自己相関特徴を用いた認識により行われる ことを特徴とする前記請求項 1又は 2記載の各馬、各艇等の位置情報解析'表示方 法。
[4] 前記レース画像における各馬、各艇等の識別に前記各馬、各艇等の画像の大きさ にマッチしたテンプレートを用い、該テンプレート内において各馬、各艇等の識別を 行うことを特徴とする前記請求項 1〜3の内、いずれか 1項に記載の各馬、各艇等の 位置情報解析,表示方法。
[5] 前記テンプレートが 6角形状であり、画面上の各馬、各艇等の大きさに合わせて該 テンプレートの大きさ及び形状が可変であることを特徴とする前記請求項 4記載の各 馬、各艇等の位置情報解析'表示方法。
[6] 前記テンプレートの大きさは、該テンプレートより広い範囲の探索領域において前 記対象画像の色識別を行って切り出し領域を決定し、該切り出し領域によって各馬、 各艇等の画像の大きさにマッチした大きさのテンプレートを定めることを特徴とする前 記請求項 5記載の各馬、各艇等の位置情報解析 ·表示方法。
[7] 前記テンプレートにおいて、馬の脚部を除いた上部のみを類似度解析領域としたこ とを特徴とする前記請求項 4〜6の内、いずれか 1項に記載の各馬の位置情報解析 · 表示方法。
[8] 前記テンプレートにおいて、馬の頭部及び騎手の頭部に相当する領域を重み付け を行って類似度解析を行うことを特徴とする前記請求項 4〜7の内、いずれか 1項に 記載の各馬の位置情報解析 ·表示方法。
[9] 請求項 1または 2記載の各馬、各艇等の位置情報解析方法を用いて前記各馬、各 艇等の位置情報を解析し、該各馬、各艇等の位置情報を連続して表示することによ り前記レースにおける各馬、各艇等の競走軌跡を表示することを特徴とする競走軌 跡表示方法。
[10] 前記請求項 9記載の競走軌跡表示方法に用いる競走軌跡データをインターネット を介してパソコンや携帯端末、携帯電話に配信し、該配信されたデータを用いて CG によりレース展開を再現し、該再現した動画レース画像をパソコンや携帯端末、携帯 電話に表示することを特徴とする競走軌跡表示方法。
[11] 前記連続したレース撮像画像において、該画像力もレースコース以外の不要な部 分を削除して各馬、各艇等の切り抜き画像を抽出することを特徴とする前記請求項 1 記載の各馬、各艇等の位置情報解析'表示方法。
[12] 前記不要の部分が前記連続画像の前画像の各馬、各艇等の位置座標から最後尾 の馬位置力 所定位置後方力 後ろの画像情報をすベて 0にすることを特徴とする 前記請求項 11記載の各馬、各艇等の位置情報解析'表示方法。
[13] 前記連続画像から埒部分を抽出し、該埒外の画像情報をすベて 0にすることを特 徴とする前記請求項 11または 12記載の各馬、各艇等の位置情報解析'表示方法。
[14] 前記画像の RGB情報を HSV情報に変換して該 HSV情報の各成分数力 ヒストロ グラムを作成し、前記切り抜き画像の面積と画像全体の面積比を計算して該面積比 に応じて上記ヒストグラム上の切り抜き画像と背景画像との境界となる閾値を取得し、 前記閾値に応じて前記画像力 背景色以外の画像情報を抽出することを特徴とする を計算することを特徴とする前記請求項 11〜13の内、いずれか 1項記載の各馬、各 艇等の位置情報解析 ·表示方法。
[15] 前記レース画像における各馬、各艇等の識別に前記各馬、各艇等の画像の大きさ にマッチしたテンプレートを用い、該テンプレート内において各馬、各艇等の識別を 行い、該識別によって得られた馬等のマスクと前記抽出された背景色以外の画像情 報との論理積 (AND)を取って、馬等の切り抜き画像以外のノイズを消去することを 特徴とする前記請求項 14記載の各馬、各艇等の位置情報解析'表示方法。
[16] 各画面上の前記各馬、各艇等の識別情報を次画面の各馬、各艇等の識別情報と 比較し、前画面の対象と類似度が大きい次画面の対象を同じ馬または同じ艇等と同 定識別することを特徴とする前記請求項 11〜15の内、いずれか 1項記載の各馬、各 艇等の位置情報解析 ·表示方法。
[17] 前記テンプレートが 6角形状であり、画面上の各馬、各艇等の大きさに合わせて該 テンプレートの大きさ及び形状が可変であることを特徴とする前記請求項 16記載の 各馬、各艇等の位置情報解析'表示方法。
[18] 前記テンプレートの大きさは、該テンプレートより広い範囲の探索領域において前 記対象画像の色識別を行って切り出し領域を決定し、該切り出し領域によって各馬、 各艇等の画像の大きさにマッチした大きさのテンプレートを定めることを特徴とする前 記請求項 16または 17記載の各馬、各艇等の位置情報解析 ·表示方法。
[19] 前記テンプレートにおいて、馬の脚部を除いた上部のみを類似度解析領域としたこ とを特徴とする前記請求項 17記載の各馬の位置情報解析'表示方法。
[20] 前記テンプレートにおいて、馬の頭部及び騎手の頭部に相当する領域を重み付け を行って類似度解析を行うことを特徴とする前記請求項 17記載の各馬の位置情報 解析,表示方法。
[21] 請求項 11〜20の内、いずれか 1項記載の各馬、各艇等の位置情報解析方法を用 いて前記各馬、各艇等の位置情報を解析し、該各馬、各艇等の位置情報を連続して 表示することにより前記レースにおける各馬、各艇等の競走軌跡を表示することを特 徴とする競走軌跡表示方法。
[22] 前記請求項 21記載の競走軌跡表示方法に用いる競走軌跡データをインターネット を介してパソコンや携帯端末、携帯電話に配信し、該配信されたデータを用いて CG によりレース展開を再現し、該再現した動画レース画像をパソコンや携帯端末、携帯 電話に表示することを特徴とする競走軌跡表示方法。
PCT/JP2006/319390 2005-09-29 2006-09-29 馬位置情報解析並びに表示方法 Ceased WO2007037350A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US12/088,729 US8107679B2 (en) 2005-09-29 2006-09-29 Horse position information analyzing and displaying method
JP2007537691A JP4658266B2 (ja) 2005-09-29 2006-09-29 馬位置情報解析並びに表示方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005-285702 2005-09-29
JP2005285702 2005-09-29

Publications (1)

Publication Number Publication Date
WO2007037350A1 true WO2007037350A1 (ja) 2007-04-05

Family

ID=37899773

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/319390 Ceased WO2007037350A1 (ja) 2005-09-29 2006-09-29 馬位置情報解析並びに表示方法

Country Status (3)

Country Link
US (1) US8107679B2 (ja)
JP (1) JP4658266B2 (ja)
WO (1) WO2007037350A1 (ja)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008279176A (ja) * 2007-05-14 2008-11-20 Bridgestone Sports Co Ltd ゴルフボールの運動測定装置
JP2010225089A (ja) * 2009-03-25 2010-10-07 Toyota Motor Corp 運転者監視装置
WO2011065563A1 (ja) * 2009-11-30 2011-06-03 楽天株式会社 馬体情報提供システム、馬体の静止画データの抽出方法、馬体の静止画データの抽出プログラム、及びコンピュータ読み取り可能な記録媒体
JP2013243435A (ja) * 2012-05-18 2013-12-05 Japan Photo Finish Co Ltd 走行競技において走行状態の監視に用いる映像伝送システム
JP2017117457A (ja) * 2015-12-15 2017-06-29 キヤノン株式会社 表示のために複数の映像フレームを空間的に配置するための方法、システム、及び装置
JP2019175063A (ja) * 2018-03-28 2019-10-10 Kddi株式会社 オブジェクト同定装置
JP2020098441A (ja) * 2018-12-18 2020-06-25 ヒロテック株式会社 着順判定方法、着順判定装置およびプログラム

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8253799B2 (en) * 2007-07-27 2012-08-28 Sportvision, Inc. Detecting an object in an image using camera registration data indexed to location or camera sensors
JP2009045322A (ja) * 2007-08-22 2009-03-05 Aruze Corp ゲーミングマシン及びその制御方法
WO2013126931A2 (en) * 2012-02-22 2013-08-29 Mobii Systems (Pty) Ltd Timing system and method
JP6103350B2 (ja) * 2012-12-18 2017-03-29 カシオ計算機株式会社 運動支援装置、運動支援方法および運動支援プログラム
US10664705B2 (en) 2014-09-26 2020-05-26 Nec Corporation Object tracking apparatus, object tracking system, object tracking method, display control device, object detection device, and computer-readable medium
WO2016121111A1 (ja) * 2015-01-30 2016-08-04 楽天株式会社 情報処理装置、情報処理方法、プログラム
US11631251B2 (en) * 2020-02-23 2023-04-18 Tfi Digital Media Limited Method and system for jockey and horse recognition and tracking
US12478895B2 (en) * 2022-10-29 2025-11-25 Constructor Technology Ag Automatic automotive race management

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01130288A (ja) * 1987-11-16 1989-05-23 Toyo Syst Kaihatsu Kk コンピュータによる移動物体の動作解析方法
JP2002063577A (ja) * 2000-08-15 2002-02-28 Nippon Telegr & Teleph Corp <Ntt> 画像解析システム,画像解析方法および画像解析プログラム記録媒体
JP2003216955A (ja) * 2002-01-23 2003-07-31 Sharp Corp ジェスチャ認識方法、ジェスチャ認識装置、対話装置及びジェスチャ認識プログラムを記録した記録媒体
JP2004046647A (ja) * 2002-07-12 2004-02-12 Univ Waseda 動画像データに基づく移動物体追跡方法及び装置
JP2004058737A (ja) * 2002-07-25 2004-02-26 National Institute Of Advanced Industrial & Technology 駅ホームにおける安全監視装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5513103A (en) * 1991-01-10 1996-04-30 Charlson; Cary Method of acquiring and disseminating handicapping information
JPH056434A (ja) * 1991-06-27 1993-01-14 Matsushita Electric Ind Co Ltd 自動追尾装置
US6141041A (en) * 1998-06-22 2000-10-31 Lucent Technologies Inc. Method and apparatus for determination and visualization of player field coverage in a sporting event

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01130288A (ja) * 1987-11-16 1989-05-23 Toyo Syst Kaihatsu Kk コンピュータによる移動物体の動作解析方法
JP2002063577A (ja) * 2000-08-15 2002-02-28 Nippon Telegr & Teleph Corp <Ntt> 画像解析システム,画像解析方法および画像解析プログラム記録媒体
JP2003216955A (ja) * 2002-01-23 2003-07-31 Sharp Corp ジェスチャ認識方法、ジェスチャ認識装置、対話装置及びジェスチャ認識プログラムを記録した記録媒体
JP2004046647A (ja) * 2002-07-12 2004-02-12 Univ Waseda 動画像データに基づく移動物体追跡方法及び装置
JP2004058737A (ja) * 2002-07-25 2004-02-26 National Institute Of Advanced Industrial & Technology 駅ホームにおける安全監視装置

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008279176A (ja) * 2007-05-14 2008-11-20 Bridgestone Sports Co Ltd ゴルフボールの運動測定装置
US8401818B2 (en) 2007-05-14 2013-03-19 Bridgestone Sports Co., Ltd Golf ball movement measuring apparatus
JP2010225089A (ja) * 2009-03-25 2010-10-07 Toyota Motor Corp 運転者監視装置
WO2011065563A1 (ja) * 2009-11-30 2011-06-03 楽天株式会社 馬体情報提供システム、馬体の静止画データの抽出方法、馬体の静止画データの抽出プログラム、及びコンピュータ読み取り可能な記録媒体
JP4794700B2 (ja) * 2009-11-30 2011-10-19 楽天株式会社 馬体情報提供システム、馬体の静止画データの抽出方法、馬体の静止画データの抽出プログラム、及びコンピュータ読み取り可能な記録媒体
AU2010323476B2 (en) * 2009-11-30 2013-01-17 Rakuten Group, Inc. Horse body information provision system, horse body still image data extraction method, horse body still image data extraction program, and computer-readable recording medium
US8803974B2 (en) 2009-11-30 2014-08-12 Rakuten, Inc. Horse body information provision system, horse body still image data extraction method, horse body still image data extraction program and computer-readable recording medium
JP2013243435A (ja) * 2012-05-18 2013-12-05 Japan Photo Finish Co Ltd 走行競技において走行状態の監視に用いる映像伝送システム
JP2017117457A (ja) * 2015-12-15 2017-06-29 キヤノン株式会社 表示のために複数の映像フレームを空間的に配置するための方法、システム、及び装置
JP2019175063A (ja) * 2018-03-28 2019-10-10 Kddi株式会社 オブジェクト同定装置
JP2020098441A (ja) * 2018-12-18 2020-06-25 ヒロテック株式会社 着順判定方法、着順判定装置およびプログラム
JP7161717B2 (ja) 2018-12-18 2022-10-27 ヒロテック株式会社 着順判定方法、着順判定装置およびプログラム

Also Published As

Publication number Publication date
JP4658266B2 (ja) 2011-03-23
US20090042628A1 (en) 2009-02-12
US8107679B2 (en) 2012-01-31
JPWO2007037350A1 (ja) 2009-04-09

Similar Documents

Publication Publication Date Title
WO2007037350A1 (ja) 馬位置情報解析並びに表示方法
D’Orazio et al. A review of vision-based systems for soccer video analysis
Komorowski et al. Footandball: Integrated player and ball detector
US20190342479A1 (en) Objects Trail-Based Analysis and Control of Video
US8077981B2 (en) Providing virtual inserts using image tracking with camera and position sensors
CN106709436B (zh) 面向轨道交通全景监控的跨摄像头可疑行人目标跟踪系统
CN102289948B (zh) 高速公路场景下一种多特征融合的多车辆视频跟踪方法
CN102890781B (zh) 一种针对羽毛球比赛视频的精彩镜头识别方法
CN101739551B (zh) 运动目标识别方法及系统
CN104134222B (zh) 基于多特征融合的车流监控图像检测和跟踪系统及方法
CN102629384B (zh) 视频监控中异常行为的检测方法
CN101794451A (zh) 基于运动轨迹的跟踪方法
JP2009505553A (ja) ビデオストリームへの視覚効果の挿入を管理するためのシステムおよび方法
US8300894B2 (en) Method for decomposition and rendering of video content and user interface for operating the method thereof
Chotimanus et al. Real swing extraction for video indexing in golf practice video
JP6902492B2 (ja) オブジェクト同定装置
KR20020078449A (ko) 축구 비디오 자동 분석 장치 및 방법
JP4181313B2 (ja) シーン内容情報付加装置及びシーン内容情報付加プログラム
CN108010057A (zh) 一种交互式铁路线路实景视频中目标编辑方法
CN104463910B (zh) 基于运动矢量的高速运动目标提取方法
CN114882074B (zh) 目标运动状态识别方法、装置、设备及介质
CN116469040B (zh) 一种基于视频和传感器感知融合的橄榄球员跟踪方法
CN100442307C (zh) 球门检测方法
Alemán-Flores et al. Morphological thick line center detection
Li et al. Fast-moving object tracking in air hockey

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
ENP Entry into the national phase

Ref document number: 2007537691

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 12088729

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06798438

Country of ref document: EP

Kind code of ref document: A1