WO2010050110A1 - 移動体検出方法及び移動体検出装置 - Google Patents

移動体検出方法及び移動体検出装置 Download PDF

Info

Publication number
WO2010050110A1
WO2010050110A1 PCT/JP2009/004523 JP2009004523W WO2010050110A1 WO 2010050110 A1 WO2010050110 A1 WO 2010050110A1 JP 2009004523 W JP2009004523 W JP 2009004523W WO 2010050110 A1 WO2010050110 A1 WO 2010050110A1
Authority
WO
WIPO (PCT)
Prior art keywords
distance
region
movement
moving
moving body
Prior art date
Application number
PCT/JP2009/004523
Other languages
English (en)
French (fr)
Inventor
岩崎正宏
登一生
Original Assignee
パナソニック株式会社
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 パナソニック株式会社 filed Critical パナソニック株式会社
Priority to CN2009801118239A priority Critical patent/CN101983389B/zh
Priority to EP09803985.2A priority patent/EP2330557B1/en
Priority to US12/671,793 priority patent/US8340357B2/en
Priority to JP2009549322A priority patent/JP4456181B1/ja
Publication of WO2010050110A1 publication Critical patent/WO2010050110A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/215Motion-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30241Trajectory

Definitions

  • the present invention relates to a method for detecting a moving object in an image, and in particular, from a moving image composed of a plurality of images, based on motion information of the image, all moving objects such as a person that moves while changing its shape.
  • the present invention relates to a method of detecting a moving object by dividing an area that specifies a partial area.
  • a method for extracting candidate regions from the image There is a method in combination with a method of applying an object model prepared in advance to a candidate area of an extracted object (see, for example, Patent Document 1 and Non-Patent Document 1).
  • Patent Document 1 a silhouette image of a target object such as a person is extracted from a plurality of images as a target object candidate area, and a model related to the target object such as a person in which the part of the target is parameterized in advance from knowledge about the target object
  • a method of applying the model to the extracted silhouette image using the above is disclosed.
  • a parameterized model can be applied to a moving body such as a person who moves while changing its shape, so that it is possible to detect the moving body and divide the region.
  • Non-Patent Document 1 an image obtained by photographing one fixed moving body from a plurality of viewpoints is input, and Euclidean distance between pixel value data in each image and pixel value data of other images is calculated.
  • a method is disclosed in which dimensional compression is performed so that images taken from similar viewpoints can be projected so as to be close to each other in a two-dimensional space.
  • PCA Principal Component Analysis
  • Patent Document 1 has a problem in that a moving body cannot be detected correctly, particularly in a scene where a moving body such as a person passes around the street.
  • the moving object detection method represented by the above-mentioned Patent Document 1 needs to extract a target object candidate region from an image as described above. At this time, if the target object candidate area cannot be correctly extracted, it is impossible to accurately apply the model obtained by parameterizing the target object to the target object candidate area. In particular, in a crowded scene, it is difficult to correctly extract an object candidate region. For example, when moving objects of various sizes are mixed on the image, a plurality of moving objects are mistakenly extracted as one moving object, and there are moving objects to be extracted.
  • Non-Patent Document 1 image data can be projected onto a low-dimensional space that is efficiently compressed by performing nonlinear processing using the distance between images as an input. Furthermore, data distributed continuously and nonlinearly can be efficiently expressed by geodetic distance conversion and dimensional compression.
  • the main purpose of Non-Patent Document 1 is to visualize the similarity between images by projecting a plurality of images into a low-dimensional space, and various postures in a multi-joint object such as a person whose shape changes A method for correctly detecting a moving object while responding to a change is not disclosed.
  • the present invention detects a moving body that can correctly divide an area including a moving body such as a person who moves while changing its shape without being affected by the posture or size of the moving body. It is an object to provide a method and a moving body detection apparatus.
  • the present invention is a method for detecting a moving object in a moving image by performing region division that specifies all or a part of the moving object in the moving image.
  • An image input step for accepting a plurality of pictures constituting the image, and detecting a motion of the image between two temporally adjacent pictures for each block comprising one or more pixels constituting the picture.
  • a motion analysis step for calculating a movement trajectory by connecting motions for the plurality of pictures, and a distance for calculating a distance representing similarity between the movement trajectories for the plurality of movement trajectories calculated in the motion analysis step. Of the distances calculated in the calculation step and the distance calculation step, a distance smaller than a predetermined threshold is connected to calculate the distance in the distance calculation step.
  • the discontinuity is converted into a geodetic distance, discontinuous points in the obtained geodetic distance distribution are detected, and the region segmentation is performed by making a movement locus separated by a geodetic distance smaller than the detected discontinuous point into one cluster. And an output step for outputting the result of the area division in the area division step.
  • the present invention can be realized not only as the above-mentioned moving body detection method, but also as a moving body detection device having the above steps as constituent elements, a program for causing a computer to execute the above steps, a CD-ROM storing the program, etc. It can also be realized as a computer-readable recording medium.
  • the above method and apparatus can accurately detect a moving body such as a person who moves while changing its shape and divide the region into regions. Furthermore, it is also possible to predict the movement of the moving object using the results of detection and area division.
  • FIG. 1 is a functional block diagram showing a basic configuration of a moving object detection apparatus according to Embodiment 1 of the present invention.
  • FIG. 2 is a block diagram showing a hardware configuration of the moving object detection apparatus according to the present invention.
  • FIG. 3 is a flowchart showing the basic operation of the moving object detection device according to Embodiment 1 of the present invention.
  • FIG. 4 is a diagram illustrating a processing example of the motion analysis unit according to Embodiment 1 of the present invention.
  • FIGS. 5A to 5C are diagrams showing an example of the effect of the geodetic distance of the area dividing unit in the first embodiment of the present invention.
  • FIGS. 1 is a functional block diagram showing a basic configuration of a moving object detection apparatus according to Embodiment 1 of the present invention.
  • FIG. 2 is a block diagram showing a hardware configuration of the moving object detection apparatus according to the present invention.
  • FIG. 3 is a flowchart showing the basic operation of the moving object detection device according to Embodi
  • FIGS. 6A and 6B are diagrams showing an example of the effect of the geodetic distance of the area dividing unit in the first embodiment of the present invention.
  • FIGS. 7A to 7C are diagrams showing a processing example of the area dividing unit according to the first embodiment of the present invention.
  • FIG. 8 is a flowchart showing the basic operation of the moving object detection device according to the modification of the first embodiment of the present invention.
  • FIGS. 9A to 9D are diagrams showing processing examples of the area dividing unit in the modification of the first embodiment of the present invention.
  • FIG. 10 is a functional block diagram showing the basic configuration of the moving object detection device according to the second embodiment of the present invention.
  • FIG. 11 is a flowchart showing the basic operation of the moving object detection device according to the second embodiment of the present invention.
  • FIGS. 12 (a) to 12 (f) are diagrams showing processing examples of the area dividing unit according to the second embodiment of the present invention.
  • FIGS. 13A to 13C are diagrams showing an example of hierarchical clustering processing of the area dividing unit according to the second embodiment of the present invention.
  • FIG. 14 is a functional block diagram illustrating a configuration example of the moving object detection device according to the first modification of Embodiments 1 and 2 of the present invention.
  • FIGS. 15A and 15B are diagrams showing display examples of the image display unit in the first modification of Embodiments 1 and 2 of the present invention.
  • FIG. 16 is a functional block diagram illustrating a configuration example of the moving object detection device according to the second modification of Embodiments 1 and 2 of the present invention.
  • FIG. 17 is a diagram showing an example of recording / transmission data in the second modification of Embodiments 1 and 2 of the present invention.
  • FIG. 18 is a functional block diagram illustrating a configuration example of the moving object detection device according to the third embodiment of the present invention.
  • FIG. 19 is a flowchart showing the basic operation of the moving object detection device according to Embodiment 3 of the present invention.
  • FIG. 20 is a diagram showing an example of motion prediction according to Embodiment 3 of the present invention.
  • FIGS. 21A to 21C are diagrams showing examples of figures that can be separated by the method according to the second embodiment of the present invention.
  • One embodiment of the present invention is a method for detecting a moving body in a moving image by dividing an area that specifies all or a part of the moving body in the moving image, and includes a plurality of moving images.
  • An image input step for receiving one picture, and a motion of the image between two temporally adjacent pictures for each block of one or more pixels constituting the picture, and the detected motion is
  • the distance calculated in the distance calculation step is connected to the distance calculated in the distance calculation step by connecting distances smaller than a predetermined threshold.
  • the movement trajectories separated by geodesic distances smaller than the discontinuous points form one cluster, and therefore, the character space is similar in terms of similarity between the movement trajectories compared to clustering using the Euclidean distance, which is a linear distance.
  • Clustering is performed in consideration of general continuity. Therefore, it is reliably discriminated whether each block in the picture belongs to the same object (or part) or separate object (or part).
  • the distance between the first movement locus and the second movement locus is converted into a geodetic distance.
  • the distance from the first movement trajectory to the second movement trajectory is traced while following the movement trajectory that is separated by a distance smaller than the predetermined threshold among the distances calculated in the distance calculation step. It is preferable to calculate the distance of the route as a geodetic distance.
  • the geodetic distance is smaller as the density in the distribution of the plurality of movement trajectories is larger.
  • the above-mentioned conversion is performed after weighting so that the high-similarity movement trajectory is identical with higher accuracy by performing distance conversion using the density of the movement trajectory distribution.
  • the region dividing step generates a plurality of threshold values used for the region dividing, and calculates each of the plurality of generated threshold values in the distance calculating step.
  • the distance calculated in the distance calculation step is converted into the geodetic distance by connecting distances smaller than the threshold among the calculated distances, and discontinuous points in the obtained distribution of the plurality of geodetic distances are detected.
  • a region dividing candidate generating step for dividing the region by making a movement locus separated by a geodetic distance smaller than the detected discontinuous point into one cluster, and generating a result of the region dividing as a region dividing candidate; Get instructions on the number of classes, and generate the region division candidates divided into the same or closest number of regions as the number of earned classes Selected from a plurality of regions divided candidates generated in step may comprise a region division candidate selection step of outputting the selected region division candidates as a result of the area division.
  • a plurality of values between a maximum value and a minimum value in the plurality of distances calculated in the distance calculation step are generated as the threshold value.
  • the first discontinuous point is detected when the thresholds are arranged in order from a larger value to a smaller value for the plurality of distances calculated in the distance calculation step.
  • a plurality of values smaller than the detected discontinuous points are generated as the plurality of threshold values, and by setting the threshold values effectively, the shape moves especially while changing its shape. It is possible to detect a moving object such as a person reliably and at a higher speed, and at the same time, correctly perform area division.
  • the region division candidate generation step discontinuous points are detected for a plurality of distances calculated in the distance calculation step, and the region division is hierarchically performed based on a threshold value.
  • a threshold value e.g., a threshold value for a subject.
  • fine moving body extraction based on the detailed movement of the subject.
  • a discontinuous point is detected from a large threshold value, and for the divided clusters, Each of them is configured to detect discontinuous points using a threshold value and to divide the region in a hierarchical manner.
  • the threshold value is generated effectively, and by setting the threshold value effectively, it is possible to detect the moving object such as a person moving while changing its shape reliably and faster. At the same time, it is possible to correctly perform area division.
  • a distance that is the Nth smallest distance from the movement trajectory is specified and specified.
  • a plurality of values selected in descending order with respect to a plurality of distances are generated as the plurality of threshold values, and by this setting the threshold values are effectively set, the shape moves particularly while changing its shape. It is possible to detect a moving object such as a person reliably and at a higher speed, and at the same time, correctly perform area division.
  • a predetermined number of movement trajectories are selected for each of the plurality of movement trajectories calculated in the motion analysis step, and the selected one is not selected.
  • each of the plurality of distances is converted into a geodetic distance, whereby the selected distance and the unselected distance As compared with the linear distance, the similarity / dissimilarity between the movement trajectories is emphasized, and it is possible to correctly express the motion of an object connected by a joint like a person. Become.
  • a movement trajectory whose distance is equal to or less than a predetermined threshold is selected and not selected.
  • each of the plurality of distances is converted into a geodetic distance, whereby the selected distance and the unselected distance Since the relationship is non-linear, the similarity / dissimilarity between the movement trajectories is emphasized compared to the linear distance, and it is possible to correctly express the motion of an object connected by a joint like a person. .
  • a two-dimensional motion vector or affine parameter indicating the motion is calculated as the motion detection, whereby a motion vector or affine parameter is used.
  • the distance calculating step in addition to the similarity between the movement trajectories of the blocks, the distance between the blocks in the picture and a straight line connecting the blocks are used as the distance calculation. It is configured to calculate at least one of the angles indicating the inclination of the moving object, so that it is possible to efficiently capture the movement of a moving object whose shape changes with a rotational motion about a joint like a person. It becomes possible.
  • the output step includes a display step of displaying the result of the region division obtained in the region division step so as to be superimposed on the picture received in the image input step.
  • a display step of displaying the result of the region division obtained in the region division step so as to be superimposed on the picture received in the image input step.
  • a moving image including two or more moving objects is received, and in the region dividing step, the region dividing is performed on the two or more moving objects by 2
  • the above-described moving body is configured to be detected, so that it is possible to correctly detect a plurality of moving objects even for an image including a plurality of moving bodies that move while changing their shapes.
  • the moving object detection method further calculates a movement trajectory representing the area from the movement trajectory of the block constituting the area specified in the area dividing step, and calculates the calculated representative movement. It is configured to include a motion prediction step for predicting the movement of the moving body by predicting that the area moves according to the trajectory.
  • the moving body is used by using a trajectory that represents the movement trajectory of a plurality of blocks. By predicting the motion, it is possible to perform motion prediction with high noise resistance.
  • the output step specifies a region in the picture accepted in the image input step based on a result of region division in the region division step, and a corresponding region for each of the identified regions
  • the result of the division is configured to include a recording / transmission step for recording or transmitting the result to the storage means, and thereby, by separately holding the detected moving body image based on the divided areas, respectively.
  • FIG. 1 is a functional block diagram showing the configuration of the moving object detection device 100 according to the first embodiment.
  • the moving body detection apparatus 100 includes an image input unit 101, a motion analysis unit 102, a distance calculation unit 103, a region division unit 104, and an output unit 105. And this moving body detection apparatus 100 detects the moving body in a moving image by carrying out the area division
  • the image input unit 101 is a processing unit that receives input of a plurality of temporally different images (pictures) constituting a moving image, and is, for example, a video camera or a communication interface connected to the video camera.
  • the motion analysis unit 102 detects the motion of the image between two temporally adjacent pictures for each block composed of one or more pixels constituting the picture received by the image input unit 101, and detects the detected motion Is a processing unit that calculates a movement trajectory by connecting a plurality of pictures.
  • the distance calculation unit 103 uses the movement trajectory of the block i calculated by the motion analysis unit 102 and the movement trajectory of blocks other than i to capture the change in the shape of the moving object, and calculates the similarity of the block motion. It is a processing unit that calculates a distance to be expressed. For example, when the movement trajectory of N blocks is used, the calculated distance is an N ⁇ N distance matrix.
  • the distance between the blocks changes depending on the movement, in particular, an object such as a person that moves while changing its shape like a joint object. It is possible to express movement as a distance matrix.
  • the movement locus of block i is referred to as movement locus i.
  • the “distance” in this specification includes not only the distance between two points in a two-dimensional space but also the arithmetic distance between multidimensional data, and a single value or a set of a plurality of values. (Distance matrix).
  • the region dividing unit 104 is a processing unit that performs region division by clustering a plurality of movement trajectories calculated by the motion analysis unit 102 using a threshold value used for region division. Specifically, the area dividing unit 104 applies geodetic distance conversion to the distance matrix calculated by the distance calculating unit 103 using a threshold value regarding data continuity, that is, calculated by the distance calculating unit 103. By connecting the distances that are smaller than the threshold among multiple distances, each of the multiple distances is converted into a geodetic distance, and discontinuous points are detected in the distribution of the distance between the trajectories after the geodetic distance conversion at each threshold. Then, by dividing the movement trajectories continuously distributed so that the movement trajectories separated by the geodesic distance smaller than the detected discontinuous points become one cluster, the region division for the threshold value is performed.
  • the area dividing unit 104 determines whether the distance between the first movement locus and the second movement locus in the conversion from the distance (distance matrix) calculated by the distance calculation unit 103 to the geodetic distance (geodetic distance conversion). In the case of converting the distance into a geodetic distance, the second movement from the first movement trajectory while following the movement trajectory separated by a distance smaller than a predetermined threshold among the distances calculated by the distance calculation unit 103. The distance of the route to the locus is calculated as the geodetic distance.
  • the output unit 105 the detection result of the moving object in the moving image performed by the region dividing unit 104, the memory or recording medium writing processing unit that outputs the region dividing result of the image, or the output interface that outputs to the display device Etc.
  • each area obtained as a result of area division corresponds to each moving body
  • detection of each moving body and area division for dividing a plurality of moving body areas in an image are particularly I do not distinguish. That is, the process of “detecting a moving object” corresponds to the process of “area division”.
  • each component (image input unit 101, motion analysis unit 102, distance calculation unit 103, region division unit 104, and output unit 105) constituting the moving body detection apparatus 100 is a camera, as shown in FIG.
  • It may be realized by software, or may be realized by hardware such as an electronic circuit.
  • the constituent elements other than the input / output unit such as the display device may be realized by a program and data (that is, software) executed by a computer, an electronic circuit, It may be realized by hardware such as a memory and a recording medium, or may be realized by mixing them.
  • a program and data that is, software
  • step S101 the image input unit 101 receives a plurality of pictures.
  • step S102 the motion analysis unit 102 calculates a block motion from at least two pictures.
  • pixel motion is calculated as an example of calculating block motion.
  • pixel unit processing will be described as an example of block unit processing.
  • Non-Patent Document 2 or Non-Patent Document 3 and Non-Patent Document 4 can be used to calculate a motion vector by optical flow calculation.
  • the motion analysis unit 102 uses the pictures input at time t and time t + 1 to use the motion vector (u i t , v i t ) of pixel i. Is estimated.
  • the frames do not necessarily have to be continuous.
  • the motion of the pixels may be obtained using pictures input at time t and time t + n.
  • n is an integer of 1 or more.
  • an affine parameter may be estimated as the pixel motion instead of the two-dimensional motion vector. At this time, motion information may be obtained for all pixels.
  • the image may be divided into grids to obtain motion information only for pixels on the grid at regular intervals, or as described above, the image may be divided into blocks and each block may be obtained. You may also ask for motion information. Furthermore, when calculating a motion vector using Non-Patent Document 2, since the reliability can be calculated, only pixels having motion information with high reliability may be used. Moreover, when calculating a motion vector using the nonpatent literature 3, an occlusion can be estimated. For this reason, only the motion information of pixels that are not shielded may be used.
  • Non-Patent Document 4 is known to be capable of high-speed processing, and may be used when high-speed processing is required.
  • Non-Patent Document 5 can be used as a method for calculating a motion vector assuming affine deformation.
  • the above method estimates the affine parameter A i t corresponding to the motion near the pixel i of the picture input at time t and time t + 1.
  • pixel positions x i t and x i t + 1 on the picture at time t and time t + 1 have the following relationship.
  • the above method can estimate the motion of the pixel i with higher accuracy than the case of using a method of calculating a motion vector assuming a translational movement, particularly for an object that performs a rotational motion.
  • step S103 the motion analysis unit 102 uses the motion information calculated in step S102 to calculate the movement trajectory i from the pixel motion for a plurality of temporally different pictures.
  • the movement locus of the pixel i is referred to as a movement locus i.
  • the motion of the pixel i is tracked using the motion information 302 calculated in step S102 from the pixel i303 of the input image 301 at time t.
  • the movement locus i is calculated as follows using the pixel position (x i t , y i t ) on the picture at the time t when the pixel i passes.
  • T is the number of pictures used to calculate the movement trajectory.
  • step S104 the distance calculation unit 103 calculates a distance matrix including the similarity of the motion of the pixels using the movement trajectory i calculated by Equation 2 above.
  • the linear distance f (i, j) between the movement trajectory i and the movement trajectory j can be calculated as shown in Equation 3 below.
  • w is a weighting factor and is a parameter set by the designer.
  • the above expression 3 may be modified as the following expression 4.
  • ptn ij and mtn ij are shown in the following formulas 5 and 6, respectively.
  • Equation 3 in addition to the time average value of the distance between moving tracks shown in Equation 5, the temporal variation in the distance between moving tracks shown in Equation 6 is changed to the linear distance.
  • f i, j
  • the temporal variation in the distance between the movement trajectories shown in the above expression 6 indicates the similarity of the movement of the pixels, and thus, not only the rigid body whose relationship between the distances between the pixels does not change with time, Changes in the shape of joint objects can be captured. Note that the same effect can be expected by using time-variable components as shown in the following equations 8 to 13 instead of the above equation 6.
  • u t i the motion vector from time t to t + 1 (u i t, v i t), ⁇ u t i ⁇ u t i> is the inner product.
  • the area dividing unit 104 executes Steps S105 (geodetic distance conversion) and S106 (area dividing). Specifically, in S105, the region dividing unit 104 uses the threshold value R for the linear distance f (i, j) calculated by the above formula 3 or the above formula 4, and uses the following formula 14 for the threshold value. In this way, non-linear processing is performed to calculate f ′ (i, j).
  • the region dividing unit 104 selects R moving trajectories j in ascending order of the linear distance from the moving trajectory i when focusing on the moving trajectory i, and does not change the distance from the selected moving trajectory j.
  • the distance from the unselected movement trajectory j is changed to infinity.
  • the linear distances f (i, j) are selected in ascending order, but the threshold value R may be set as in the following equation.
  • the region dividing unit 104 selects and selects a predetermined number of movement trajectories in ascending order of distance for each of the plurality of movement trajectories calculated by the motion analysis unit 102 as shown in the above equation 14.
  • each of a plurality of distances may be converted into a geodetic distance, or when focusing on the moving trajectory i as shown in Equation 15 above
  • a non-linearity is selected in which the movement trajectory j whose distance is equal to or less than a predetermined threshold is selected and the distance from the unselected movement trajectory is changed to infinity.
  • each of a plurality of distances may be converted into a geodetic distance.
  • the distance non-linearization is not limited to the above function, and any distance conversion may be used as long as the nonlinear transformation is performed on the distances related to the movement trajectory i and the movement trajectory j.
  • linear distance f (i, j) may be weighted by multiplying the weight calculated using Expression 16 and Expression 17 as follows, and then the processing of Expression 14 or Expression 15 may be performed. Good.
  • NN indicates that processing is performed for the neighboring points of the movement trajectory.
  • a movement trajectory within a certain distance from each of the movement trajectories j and i, or N movements in ascending order of distance Indicates calculation using a trajectory. That is, N a and N b are the number of moving tracks within a certain distance or N. Note that z is set by the designer.
  • dispersion may be used as in the following equation 17.
  • f (i, j) By converting f (i, j) using the weights of the above equation 16 and the above equation 17, when the movement locus similar to the movement locus i and j is spatially dense (the movement locus having a short distance) In the case of f), f (i, j) is relatively small, and in the case of spatial sparseness (in the case of a moving trajectory with a long distance), f (i, j) j) becomes relatively large. That is, when the area dividing unit 104 converts each of the plurality of distances calculated by the distance calculation unit 103 into a geodetic distance, the greater the density in the distribution of the plurality of movement trajectories calculated by the motion analysis unit 102, the greater the density. Convert to geodetic distance after weighting so that the geodesic distance is small. This enables distance conversion in consideration of the density of the distribution of pixel movement trajectories.
  • the region dividing unit 104 calculates a geodetic distance using the non-linearized distance f ′ (i, j) as in the following equation.
  • min (x, y) is a function that returns the smaller of the values x and y.
  • s is a movement trajectory s, which is a relay point for tracing from the movement trajectory i to the movement trajectory j.
  • the relay point s in f ′ (i, s) + f ′ (s, j) is not limited to one point.
  • This method is a shortest path search method called the Dijkstra method and is described in Non-Patent Document 6 below.
  • FIG. 5A shows a two-dimensional data distribution.
  • each data point corresponds to the movement trajectory i shown in Formula 3 or Formula 4 above.
  • the distance between the data point i and the data point j is the distance between the data point i and the data point k. It becomes smaller than the distance.
  • the distance between the data point i and the data point j is not the Euclidean distance, but the geodetic distance. This is the distance that the data point called is traced as indicated by an arrow.
  • the distance between the data point i and the data point j is larger than the distance between the data point i and the data point k.
  • the distance between the head pixel i 802 and the hand tip pixel j 803 is a distance indicated by a linear distance 801.
  • the threshold R is appropriately set by performing nonlinear processing such as Expression 14 to Expression 17 above, as shown in FIG.
  • the distance to the pixel j803 is a distance as a linear sum as indicated by an arrow from the pixel k804 to the pixel j. Therefore, while the linear distance 801 cannot continuously represent the shape of joints of joint objects such as a person as data, the continuity can be expressed by using the shape of joints as a distance.
  • the calculation method of geodesic distance is not limited to the said Formula 17.
  • step S106 the region dividing unit 104 performs clustering by detecting discontinuous points using g (i, j) obtained by performing geodetic distance conversion corresponding to the threshold value R in step S105.
  • g (i, j) there is a discontinuity between the movement locus i and the movement locus j where g (i, j) is infinite.
  • FIG. 7A is a diagram showing the movement trajectories a to h
  • FIG. 7B is a conceptual diagram of the high-dimensional space representing the movement trajectories a to h shown in FIG. 7A. .
  • FIG. 7A is a diagram showing the movement trajectories a to h
  • FIG. 7B is a conceptual diagram of the high-dimensional space representing the movement trajectories a to h shown in FIG. 7A. .
  • FIG. 7A is a diagram showing the movement trajectories a to h
  • FIG. 7B is a conceptual diagram of the high-dimensional
  • the number of the movement trajectories a to h is eight, but actually, the movement trajectory corresponding to each pixel may be used, or the movement trajectory obtained in units of blocks is used. May be.
  • one point in the high-dimensional space representing the movement trajectories a to h corresponds to one movement trajectory expressed by the above equation 2. That is, a point on the high-dimensional space is a result of tracking pixels not only over an area on a single picture but over a plurality of temporally different pictures. Further, on the high-dimensional space, the distance between the points corresponds not to the Euclidean distance between the vectors but to a geodetic distance as shown in the above equation 20.
  • FIG. 7C shows the clustering result.
  • the distance between the movement locus a and the movement locus b shown in the above equation 3 or 4 is f (a, b)
  • the threshold value is set as R
  • the distance f (f, g) is assumed to have a value larger than the threshold value R.
  • g (e, f), g (c, d), and g (f, g) are infinite even if the geodetic distance is obtained by the above equation 17.
  • the area dividing unit 104 determines that the discontinuous points are between the movement trajectory c and the movement trajectory d, between the movement trajectory e and the movement trajectory f, and between the movement trajectory f and the movement trajectory g.
  • the movement trajectories a, b, and c can be traced without passing through discontinuous points. Therefore, the movement trajectories a, b, and c do not take an infinite value.
  • the moving trajectory is infinite because it passes through the discontinuous point g (c, d). In this way, the set of the movement trajectory i and the movement trajectory j where the geodetic distance is not infinite is the same cluster, and when it is infinite, it is a different cluster.
  • a group in which the geodesic distance is infinite and a group in which the geodesic distance is not infinite can be arranged and separated into a total of four clusters of ⁇ 1 , ⁇ 2 , ⁇ 3 , and ⁇ 4 .
  • the threshold value R may be set in accordance with the minimum size of the moving object to be detected and the movement on the image. It is also possible to calculate the detection rate and the false detection rate while changing the threshold value R according to the scene, and select the threshold value R that makes the detection rate and the false detection rate equal, that is, EER (Equal Error Rate). It is also possible to select the threshold value R by giving priority to the detection rate or giving priority to reducing the false detection rate.
  • the region dividing unit 104 can determine that the set of movement trajectories whose geodetic distance is not infinite is the same cluster by making the sets of movement trajectories continuous. By making it continuous, clusters can be separated based on discontinuous points.
  • the output unit 105 outputs the movement trajectory separated into clusters in S106 to the inside (memory, etc.) or outside (recording medium, display device, etc.) of the apparatus as a result of area division. Thereby, a moving body can be detected.
  • the present embodiment by calculating a distance such as the above expression 3 or 4 with respect to the movement trajectory, it is possible to divide the region in consideration of the pixel position and the similarity of motion. Therefore, in the examples shown in FIGS. 7A to 7C, the difference in head movement and arm movement, and the difference in movement between upper and lower thighs are reflected, and the head, arms, and upper thighs ), The lower leg (hard) can be divided into separate clusters. Furthermore, this method can detect and divide each moving body in a scene where there are a plurality of people, as well as detection of body parts and area division of one moving body by the same method. .
  • clustering is performed in a non-linear space without the need for a large amount of parameter fitting, thereby correctly segmenting a moving image including a person who moves while changing its shape. It is possible to detect a moving body in the image.
  • the mobile body detection apparatus may divide the region by a method different from the region division based on the discontinuity point of the geodetic distance in the present embodiment.
  • a method different from the region division in the first embodiment here, a method for performing region division without conversion to a geodetic distance will be described as a modification of the first embodiment.
  • the configuration of the moving body detection apparatus basically includes an image input unit 101, a motion analysis unit 102, a distance calculation unit 103, a region division unit 104, and an output unit 105.
  • this moving body detection apparatus 100 detects the moving body in a moving image by carrying out the area division
  • the area dividing unit 104 according to this modification performs area division by a method different from that in the first embodiment. Hereinafter, description will be made centering on the area dividing unit 104 according to this modification.
  • FIG. 8 is a flowchart showing the basic operation of the moving object detection device according to the modification of the first embodiment of the present invention.
  • steps S101 to S104 are the same as steps S101 to S104 in FIG.
  • the region dividing unit 104 executes steps S205 (clustering) and S206 (labeling).
  • step S205 the region dividing unit 104 uses the distance f (i, j) between the movement trajectory i and the movement trajectory j calculated by the above formula 3 or the above formula 4 to move in ascending order of f (i, j).
  • Clustering is performed by repeating the process of combining the trajectory i and the movement trajectory j as the same class.
  • FIG. 9 (a) the movement trajectories a to h change greatly depending on the posture change even if the moving bodies are the same. However, as long as the objects are connected by joints, it can be assumed that the movement trajectory in the vicinity retains high similarity.
  • FIG. 9B is a conceptual diagram of a high-dimensional space representing the movement trajectories a to h.
  • a three-dimensional space is used for ease of explanation, but in reality, each element of the vector shown in Equation 2 corresponds to each dimension.
  • the number of movement trajectories a to h is eight, actually, a movement trajectory corresponding to each pixel may be used, or a movement trajectory obtained in units of blocks may be used.
  • one point in the high-dimensional space representing the movement trajectories a to h corresponds to one movement trajectory shown in the above equation 2. That is, a point on the high-dimensional space is a result of tracking pixels not only over an area on a single picture but over a plurality of temporally different pictures.
  • the distance between the points in the high-dimensional space corresponds to a distance as shown in the above formula 3 or 4 instead of the Euclidean distance between the vectors shown in the above formula 2.
  • the region dividing unit 104 performs clustering based on the discontinuity of the distance between the movement trajectories by clustering the movement trajectories based on the continuity of the distribution in the high-dimensional space composed of the movement trajectories.
  • each cluster can be expected to correspond to an individual moving body or a part of the moving body, and detection of the moving body and area division can be performed.
  • each area to be divided is expressed as follows.
  • M is the number of areas and is determined empirically according to the scene to be used.
  • a process is performed in which the movement trajectory i and the movement trajectory j are set to the same region label ⁇ m in ascending order of f (i, j) excluding itself.
  • one of the movement trajectory i or the movement trajectory j is the case already belongs to the region theta k is still to belong to the even region theta k pixels area label is not granted. Further, if the movement trajectory i and the movement trajectory j already belong to different areas, the area labels are integrated.
  • step S206 the area dividing unit 104 labels all the movement trajectories with respect to the process performed in step S205, and determines whether or not the number of areas is a predetermined M.
  • the region dividing unit 104 sets the movement locus i and the movement locus j to the same region label ⁇ m in ascending order of f (i, j) in step S205. Repeat the process. If the number of movement trajectories belonging to each area is equal to or less than the threshold value N, it may be excluded from the area by treating it as an outlier.
  • the area dividing unit 104 assigns the same area label ⁇ 1 to the movement trajectory a and the movement trajectory b.
  • the area dividing unit 104 assigns the same area label ⁇ 2 .
  • the region dividing unit 104 assigns the same region label ⁇ 3 to the movement locus d and the movement locus e which are the third smallest distance.
  • the next smallest distance is a distance f (b, c) between the movement locus b and the movement locus c.
  • the area dividing unit 104 assigns the same area label ⁇ 1 as the movement trajectory b to the movement trajectory c.
  • the next smallest distance is the distance f (f, g) between the movement locus f and the movement locus g.
  • the area dividing unit 104 assigns the same area label ⁇ 3 as the movement locus g to the movement locus f.
  • the movement trajectory that is continuous in the high-dimensional space is determined as one cluster, and the distance between the movement trajectories is large.
  • Each of the clusters can be separated using as a discontinuous point.
  • the movement trajectory belonging to each cluster corresponds to the moving object detection and area division.
  • this method can detect and divide each moving body in a scene where there are a plurality of people, as well as detecting body parts and area division of a single moving body by the same method. .
  • FIG. 10 is a functional block diagram showing the configuration of the moving object detection apparatus 100a according to the second embodiment.
  • the moving body detection apparatus 100a includes an image input unit 101, a motion analysis unit 102, a distance calculation unit 103, a region division unit 104a (region division candidate generation unit 501 and region division candidate selection unit 502), and An output unit 105 is provided. Since the image input unit 101, the motion analysis unit 102, and the distance calculation unit 103 are the same as those in the first embodiment, description thereof is omitted.
  • the region dividing unit 104a performs region division by specifying a region composed of blocks having similar movement trajectories based on the distance calculated by the distance calculating unit 103. Although the same as the unit 104, the specific processing is different.
  • the area dividing unit 104a includes an area dividing candidate generating unit 501 and an area dividing candidate selecting unit 502.
  • the region division candidate generation unit 501 generates a plurality of determination criteria used for region division, and uses the determination criteria for each of the generated plurality of determination criteria to generate a plurality of movements calculated by the motion analysis unit 102.
  • This is a processing unit that divides a region by clustering a locus and generates a result of the region division as a region division candidate.
  • the region division candidate generation unit 501 applies geodetic distance conversion to the distance matrix calculated by the distance calculation unit 103 using a threshold relating to data continuity, that is, calculated by the distance calculation unit 103.
  • Discontinuous points in the distribution of distances between moving trajectories after conversion of geodetic distances at each threshold by converting each of the plurality of distances into geodetic distances by connecting distances smaller than the threshold among the plurality of distances By generating a cluster of moving trajectories that are continuously distributed so that the moving trajectories separated by a geodetic distance smaller than the detected discontinuous point become one cluster, a candidate for region division for the threshold is generated. To do.
  • the number of area divisions varies depending on the setting of the threshold.
  • the area division candidate selection unit 502 obtains an instruction about the number of classes (or a preset number of classes), and obtains an area division candidate divided into a number of areas close to the obtained number of classes. This is a processing unit that selects from a plurality of region division candidates generated in 501 and outputs the selected region division candidate as a result of region division based on the distance calculated by the distance calculation unit 103. Specifically, the region division candidate selection unit 502 selects the region division result closest to the predetermined number of classes from the region division candidates for each of the threshold values generated by the region division candidate generation unit 501. That is, a region division result with a threshold corresponding to the number of classes is selected.
  • the output unit 105 is the same as that in the first embodiment. By the output from the output unit 105, it is possible to obtain a final moving object detection and region division result.
  • Steps S101 to S104 are the same as those in the first embodiment, and a description thereof will be omitted.
  • the area division candidate generation unit 501 executes Step S601 (geodetic distance conversion) and Step S602 (clustering).
  • step S601 the region division candidate generation unit 501 uses K threshold values R k for the linear distance f (i, j) calculated by the above equation 3 or 4, and for each threshold value R k. Then, non-linearization processing is performed as follows to calculate f ′ (i, j).
  • the region division candidate generation unit 501 selects R k movement trajectories j in ascending order of the linear distance from the movement trajectory i when paying attention to the movement trajectory i, and changes the distance from the selected movement trajectory j.
  • the distance to the unselected movement trajectory j is changed to infinity.
  • the linear distance is selected in ascending order, but the threshold value R k may be set as in the following equation.
  • the region division candidate generation unit 501 selects a predetermined number of movement trajectories in ascending order of distance for each of the plurality of movement trajectories calculated by the motion analysis unit 102, as shown in Equation 22 above. After non-linearization that changes the distance to the unselected movement trajectory to infinity, each of the plurality of distances may be converted into a geodetic distance. For each of a plurality of calculated movement trajectories, select a movement trajectory whose distance is equal to or less than a predetermined threshold, and perform nonlinearization to change the distance from the movement trajectory not selected to infinity, then the plurality of distances Each of these may be converted into geodetic distances.
  • the distance non-linearization is not limited to the above function, and any distance conversion may be used as long as the nonlinear transformation is performed on the distances related to the movement trajectory i and the movement trajectory j.
  • the weighting obtained by multiplying the linear distance f (i, j) by the weights calculated using the above-described Expression 16 and Expression 17 may be performed, and then the processing of Expression 22 or Expression 23 may be performed. Good.
  • f (i, j) By converting f (i, j) using the weights of the above formula 17 and the above formula 18, when the movement trajectories similar to the movement trajectories i and j are spatially dense (the movement trajectory having a short distance) In the case of f), f (i, j) is relatively small, and in the case of spatial sparseness (in the case of a moving trajectory with a long distance), f (i, j) j) becomes relatively large. That is, when each of the plurality of distances calculated by the distance calculation unit 103 is converted into a geodetic distance, the smaller the geodetic distance in the distribution of the plurality of movement trajectories calculated by the motion analysis unit 102, the smaller the geodetic distance. Convert to geodetic distance after weighting properly. This enables distance conversion in consideration of the density of the distribution of pixel movement trajectories.
  • the region division candidate generation unit 501 calculates a geodetic distance as in the following equation.
  • min (x, y) is a function that returns the smaller of the values x and y.
  • s is a movement trajectory s, which is a relay point for tracing from the movement trajectory i to the movement trajectory j.
  • the relay point s in f ′ k (i, s) + f ′ k (s, j) is not limited to one point.
  • k corresponds to a plurality of thresholds R k.
  • this method is a shortest path search method called the Dijkstra method.
  • step S602 the region division candidate generation unit 501 performs clustering by detecting discontinuous points using g k (i, j) obtained by performing geodetic distance conversion corresponding to each threshold value R k. I do.
  • FIG. 12A is a diagram showing the movement trajectories a to h
  • FIG. 12B is a conceptual diagram of the high-dimensional space representing the movement trajectories a to h shown in FIG. .
  • the number of movement trajectories a to h is eight, actually, a movement trajectory corresponding to each pixel may be used, or a movement trajectory obtained in units of blocks may be used.
  • one point in the high-dimensional space representing the movement trajectories a to h corresponds to one movement trajectory shown in the above equation 2. That is, a point on the high-dimensional space is a result of tracking pixels not only over an area on a single picture but over a plurality of temporally different pictures. Further, on the high-dimensional space, the distance between the points corresponds not to the Euclidean distance between the vectors but to the geodetic distance as shown in the above equation 21.
  • the threshold value R k is a sufficiently large value, for example, when the threshold value R k is larger than the maximum value of f (i, j) in the above equation 16, the geodetic distance g as shown in FIG. k (i, j) does not become infinite in all combinations of i, j. That is, since there is no discontinuous point, it can be determined that there is one cluster.
  • the threshold value R k is sufficiently small, specifically, when the threshold value R k is smaller than the minimum value of f (i, j) in the above equation 16, g k in all combinations of i and j. (I, j) becomes infinite. That is, the number of clusters is the same as the number of movement trajectories.
  • g 1 (e, f) is infinite even if the geodetic distance is obtained by the above equation 18. Therefore, the region division candidate generation unit 501 determines that the area between the movement locus e and the movement locus f is a discontinuous point. As a result, since the geodesic distance between the movement trajectory a to d and the movement trajectory e does not pass through the discontinuous point, it does not take an infinite value. Conversely, the movement trajectories f to h and the movement trajectories a to e The geodetic distance to each movement locus is infinite because it passes through the discontinuous point g 1 (e, f).
  • the region division candidate generation unit 501 sets the pair of the movement trajectory i and the movement trajectory j whose geodetic distance does not become infinite as the same cluster, and sets it as another cluster when it becomes infinite. As a result, as shown in FIG. 12D, it can be separated into two clusters of ⁇ 1 and ⁇ 2 . Furthermore, as shown in FIG. 12E, when the threshold value is R 2 (where R 1 > R 2 ), geodesic distances that are infinite are g 2 (c, d), g 2. Assume that (e, f) and g 2 (f, g).
  • the area division candidate generation unit 501 has a discontinuity between the movement locus c and the movement locus d, between the movement locus e and the movement locus f, and between the movement locus f and the movement locus g, respectively.
  • the set of geodesic distances and the sets that do not become infinite are arranged, and ⁇ 1 , ⁇ 2 , ⁇ 3 , Separate into four clusters of ⁇ 4 .
  • a set of movement trajectories where the geodetic distance is not infinite can be determined as the same cluster by making it continuous, and a set of movement trajectories where the geodetic distance is infinite is made discontinuous, Clusters can be separated based on discontinuities.
  • the setting method of the threshold value R k all the movement trajectories are determined to be one cluster by setting K pieces uniformly between the minimum value and the maximum value of f (i, j), or each movement This has the effect of reducing the risk that the trajectory is determined to be an individual cluster.
  • the region division candidate generation unit 501 uses a plurality of values between the maximum value and the minimum value at a plurality of distances calculated by the distance calculation unit 103 as a plurality of threshold values for generating a plurality of region division candidates. It may be generated.
  • an average value of f (i, j) or a value that is increased or decreased at regular intervals around the median may be used.
  • the threshold value corresponding to the discontinuous point can be determined more efficiently. That is, the region division candidate generation unit 501 generates a plurality of region division candidates from a plurality of values obtained by increasing and decreasing the average value or median value of the plurality of distances calculated by the distance calculation unit 103. It may be generated as a plurality of threshold values.
  • the value may be decreased at regular intervals from the maximum value, and a smaller value may be determined as the threshold value by K ⁇ 1 based on the value when the discontinuous point is first detected.
  • step S601 and step S602 may be repeated while the steps S601 and step S602 to reduce the threshold R k.
  • area dividing candidate generating unit 501, the threshold value R 1, at step S601 and step S602, performs clustering movement trajectory, then, in step S601, Fig.
  • each is converted into a geodetic distance, and in step S602, from g (i, j) corresponding to each cluster (where i, j is a movement locus belonging to the same cluster), discontinuity is obtained.
  • Clustering can be performed by detecting points. In this way, by converting the geodesic distance and detecting the discontinuous points with respect to the movement trajectory belonging to each cluster while reducing the threshold value R k , a hierarchical structure as shown in FIG. Clustering becomes possible.
  • clustering is performed by increasing the threshold value in order from the smallest value, thereby enabling hierarchical clustering.
  • processing can be performed with a small amount of calculation.
  • clustering by the threshold R 2 since it is sufficient for each cluster extracted in the threshold value R 1, is used to calculate f (i, j) (where, i, j can reduce the total size of movement trajectories belonging to the same cluster. Therefore, the calculation amount can be reduced.
  • the scene structure can be expressed as a tree structure as shown in FIGS.
  • FIGS For example, when clustering is performed on the input of FIG. 13A with the threshold value R 1 , clusters ⁇ 1 and ⁇ 2 are extracted as shown in FIG. 13C. Further, when clustering is performed with a smaller threshold R 2 , a smaller subject ⁇ 3 can be extracted.
  • ⁇ 0 corresponds to the background.
  • the camera when the camera is fixed, it is possible to extract only moving objects by using only moving trajectories with movement, and when the camera moves, the cluster with the largest number of moving trajectories is used as the background. It is also good.
  • clustering is performed with a threshold value smaller than the above example
  • clustering may be performed with a smaller threshold for all clusters, or clustering may be performed on a cluster (subject) designated by the user.
  • R 3 threshold value
  • it can be classified into a right leg, a left leg, and an upper body as shown on the right side of FIG.
  • walking is extracted with a large threshold value compared to other parts because the movement of the leg is large.
  • the right leg and the left leg are classified into the upper leg ( ⁇ 5 , ⁇ 7 )) and the lower leg ( ⁇ 6 , ⁇ 8 )), respectively, and the upper body to the arm ( ⁇ 3 ) Is extracted.
  • the upper body can be clustered into the head ( ⁇ 1 ), chest ( ⁇ 2 ), and abdomen ( ⁇ 4 ).
  • clustering based on a hierarchical structure reflecting the discontinuity of motion is possible.
  • the clustering that reflects the distribution of all moving trajectories is performed by clustering each cluster in detail with a smaller threshold value for the extracted clusters. Can be realized.
  • the region division candidate generation unit 501 detects the first discontinuous point in the case where the plurality of distances calculated by the distance calculation unit 103 are arranged in order from the largest value to the smallest value, and more than the detected discontinuous point.
  • a plurality of small values may be generated as a plurality of threshold values for generating a plurality of region division candidates.
  • the threshold value R k may be set as follows. First, a movement trajectory j that is the Nth smallest distance from the movement trajectory i may be calculated, and the value may be set as the threshold value R k , and processing may be performed in descending order of R k .
  • N is, for example, a value obtained by dividing the number of movement trajectories used for processing by the number of clusters to be set, so that there is an effect that it is easy to set the threshold value R k that is the number of clusters close to the desired number of clusters.
  • the region division candidate generation unit 501 specifies the Nth smallest distance from the movement trajectory for each of the plurality of movement trajectories calculated by the motion analysis unit 102, and increases the order of the identified plurality of distances. May be generated as a plurality of thresholds for generating a plurality of region division candidates.
  • the region division candidate selection unit 502 selects the clustering result that has the closest number of clusters to the preset number of classes from the plurality of clustering results performed in step S602.
  • the clustering result at the threshold R 2 (FIG. 12E) is selected.
  • the clustering result at the threshold R 1 is selected, and the output unit 105 outputs the result of labeling each movement trajectory. .
  • the number of thresholds is not limited to two, and any number of thresholds may be prepared. If there are not the same number of clustering results as the set number of classes, the cluster with the closest number of clusters may be selected, or the closest number of clusters out of the set number of classes. The clustering result that becomes the closest cluster number may be selected from among the class numbers larger than the set class number.
  • the clustering result at the threshold value R 1 and the clustering result at the threshold value R 2 can be obtained as a hierarchical structure. is there.
  • it can be obtained as a hierarchical relationship. In this way, the structure of the subject in the image can be extracted as a hierarchical structure.
  • this method can detect and divide each moving body in a scene where there are a plurality of people, as well as detection of body parts and area division of one moving body by the same method. .
  • clustering is performed based on discontinuous points calculated using geodetic distances for a plurality of threshold values, and the clustering result closest to the specified number of classes is selected, resulting in detection and region segmentation. It can be performed.
  • clustering is performed based on the distance between the pixels or the similarity of the movement trajectories, so that the similar movement trajectories are grouped and divided into regions, so that the distance is close and the movement is similar.
  • the moving object in the moving image or the part of the moving object is detected regardless of the posture of the joint object. , It is possible to divide an image including a moving body.
  • clustering based on discontinuous points in this embodiment can be performed without being affected by the size of the cluster size, a large subject and a small subject may be mixed, or a large moving subject may be small. Even when moving subjects are mixed, it is possible to extract them reliably.
  • by performing clustering while reducing the threshold value it is possible to perform hierarchical clustering from coarse clustering to detailed clustering, so that it is possible to hierarchically extract the structure of the scene and the structure of the body of the subject. . Accordingly, there is an effect that the same method can be used from the analysis of a rough image that extracts the position of the subject in the image to the detailed analysis of a specific image region or subject region.
  • the extracted hierarchical structure indicates the data structure of all the movement trajectories, it can also represent the structure of the scene in the input image.
  • clustering is performed in a non-linear space without the need for a large amount of parameter fitting, thereby correctly segmenting a moving image including a person who moves while changing its shape. It is possible to detect a moving body in the image.
  • the moving body detection apparatus 100b includes an image input unit 101, a motion analysis unit 102, a distance calculation unit 103, an area division unit 104, and an output unit 105a.
  • the output unit 105a has an image display unit 1001 in addition to the function of the output unit 105 in the first embodiment, and the image display unit 1001 can display the divided area as an image on a monitor or the like. Is possible.
  • the image display unit 1001 is a processing unit that displays the result of the region division obtained by the region division unit 104 on the moving image (picture) received by the image input unit 101.
  • a display such as an LCD and its display It consists of a display controller.
  • FIGS. 15A and 15B are diagrams showing display examples by the image display unit 1001.
  • the area on the image corresponding to the area ⁇ m is color-coded and displayed on the monitor or the like so that the divided areas can be distinguished from each other.
  • each moving object may be displayed in different colors, or as shown in FIG. 15 (b), it may be displayed separately for each part. That is, as can be seen from FIGS. 15A and 15B, the moving body detection apparatus according to the present invention can detect a plurality of moving bodies by the above-described region division (FIG. 15A). It is also possible to detect a plurality of parts constituting one moving body, that is, to divide the region into one moving body (FIG. 15B).
  • the movement trajectory i shown in the above equation 2 corresponds to one of the regions ⁇ m excluding the outlier. Therefore, if a pixel on the picture is selected based on the movement trajectory i belonging to the region ⁇ m and color coding or the like is performed based on the region label m, the divided region can be easily displayed on the image. As a result, in addition to the effect described in the first and second embodiments that a moving image including a person who moves while changing its shape can be correctly divided into regions, the divided regions are displayed on the moving image. Thus, there is an effect that it becomes easy for the user to distinguish each moving body or a part of the moving body, and further its movement.
  • the moving body detection apparatus 100c includes an image input unit 101, a motion analysis unit 102, a distance calculation unit 103, a region division unit 104, and an output unit 105b.
  • the output unit 105b includes a recording / transmission unit 1201 in addition to the function of the output unit 105 in the first embodiment.
  • the recording / transmission unit 1201 identifies the region in the picture received by the image input unit 101 based on the region division result in the region division unit 104, and stores the corresponding region division result for each identified region in the memory. Or a processing unit that records in a recording medium such as a hard disk or transmits to the outside via a communication interface or the like. That is, the recording / transmission unit 1201 separately records and transmits the result image obtained by the area division according to the area label ⁇ m as in the case of image display. It is also possible to compress the motion information by averaging the motion information belonging to each area as follows. Normally, it is necessary to hold motion information for each pixel, but if the following processing is performed, it is only necessary to hold one motion for one region. For example, when the motion vector (u i t , v i t ) of the pixel i is used as the motion information, the motion information averaged for each of the divided areas can be calculated as follows.
  • FIG. 17 shows an example of segmenting the processing result shown in FIG. 15A by inputting t images from time T and recording and transmitting the segment area using the result.
  • each region label may be attached to one picture at time T and transmitted.
  • recording and transmission may be performed according to the hierarchical clustering result. For example, when the data storage capacity or transfer capacity is small, a motion vector corresponding to the clustering result with a larger threshold value may be recorded and transmitted. Motion vectors based on the clustering result may be recorded and transmitted sequentially. Thus, there is an effect that recording and transmission adaptive to the recording time and the transmission capacity can be performed.
  • the picture at time T is restored from the pixel position and pixel value corresponding to each region label shown in FIGS. 15 (a) and 15 (b). Furthermore, it is possible to restore the picture from time T + 1 to T + t by moving each pixel at time T using the pixel movement trajectory information.
  • the restored image is the background image. May be overwritten. Accordingly, there is an effect that the information can be restored as a picture with a low calculation amount by using the information transmitted and recorded efficiently.
  • Embodiments 1 and 2 The difference from Embodiments 1 and 2 is the processing in the distance calculation unit 103.
  • the distance calculation unit 103 is different from the first embodiment in that an additional parameter is used in order to perform processing with higher accuracy.
  • an additional parameter is used in order to perform processing with higher accuracy.
  • the distance calculation unit 103 measures the distance between the movement trajectories on the image and the distance between them, and the angle formed between the pixels on the image (that is, the inclination angle of the straight line connecting the pixels (the straight line and the side of the picture). Using the angle formed by the axis)) and the distance measure for its variation, a distance matrix is calculated for each distance measure. Then, by integrating both matrices, more accurate processing is realized.
  • steps S101 to S103 are the same as those in the first embodiment, description thereof is omitted.
  • step S104 the distance calculation unit 103 calculates a distance matrix including the similarity of pixel motion using the movement trajectory i calculated by Equation 2 above.
  • the second distance scale is expressed by the following expression 27 based on the angle formed by the pixel i and the pixel j. An example using the distance f 2 (i, j) to be transmitted will be described.
  • w a is a weighting coefficient and is a parameter set by the designer.
  • a_mean ij and a_var ij are shown below.
  • the similarity between the movements of the pixels can be expressed by using the angle formed by the pixel i and the pixel j and the fluctuation component thereof. As a result, it is possible to capture not only a rigid body but also a shape change such as a joint object with a rotational motion.
  • Equation 31 to Equation 33 may be any distance value that can evaluate the similarity of pixel motion.
  • Equation 34 using the affine parameter A i t of the above equation 2 may be used.
  • Expressions 31 to 33 below can represent the similarity of pixel motion using the angular difference between the motion vectors of the pixel i and the pixel j and the fluctuation component thereof. This makes it possible to capture changes in motion including rotation.
  • Equation 34 below can represent the similarity of pixel motion using the difference in affine parameters between neighboring blocks of pixel i and pixel j and their fluctuation components. As a result, changes in motion including rotation, translation, and scale changes can be captured.
  • the distance matrix calculated by the above equation 27 is added to the distance matrix obtained by the above equation 3 as in the following equation 35.
  • two distances, the distance between pixels and the angle formed between the pixels, will be described.
  • three or more distances may be obtained using a distance expressing the similarity of other pixel motions.
  • w is a weighting factor set by the designer.
  • step S105 Since the same processing may be performed after step S105 using the distance matrix calculated by the above equation 35, the following description is omitted.
  • the distance between the pixels on the image and the distance scale regarding the variation the angle between the pixels on the image and the distance scale regarding the variation, and
  • the distance matrix for each distance measure By calculating the distance matrix for each distance measure, integrating the distance matrices, and then clustering based on continuity, the region of the object moving in the moving image with higher accuracy is temporally As a result of tracking, it can be detected and divided into regions. Further, by using the angle formed between the pixels on the picture and the variation thereof as a distance scale, it is possible to more accurately capture the rotational motion particularly caused by the joint motion.
  • the moving object is added with a function for predicting the movement of the moving object from the result of detecting the moving object and dividing the area using the moving object detecting method described in the first, second, and second embodiments.
  • the body detection device will be described.
  • it demonstrates along Embodiment 1, it is realizable similarly in Embodiment 1, 2, and those modifications.
  • FIG. 18 is a functional block diagram showing the configuration of the moving object detection device 100d according to the third embodiment.
  • the moving body detection apparatus 100d according to the present embodiment adds a motion prediction unit 1401 to the image input unit 101, the motion analysis unit 102, the distance calculation unit 103, the region division unit 104, and the output unit 105.
  • a motion prediction unit 1401 to the image input unit 101, the motion analysis unit 102, the distance calculation unit 103, the region division unit 104, and the output unit 105.
  • the output unit 105 has a function of predicting the movement of the moving body.
  • the motion prediction unit 1401 calculates a representative trajectory from the movement trajectory of the pixels included in each region from the result of the region division, and predicts the motion of the moving object based on the representative trajectory.
  • FIG. 19 shows a flowchart of processing according to the third embodiment. Steps S101 to S106 are the same as those in the first embodiment, and a description thereof will be omitted.
  • step S1501 the motion prediction unit 1401 uses the region division results obtained in steps S105 and S106 to obtain the representative points of clusters and their representative trajectories as follows.
  • the movement trajectory of the pixel belonging to the region ⁇ m is expressed as x Cm .
  • a representative movement trajectory is obtained for each cluster region ⁇ m .
  • weighting or the like may be performed for each pixel movement trajectory x Cm in the following calculation, or a cluster on an image may be calculated.
  • a pixel movement locus corresponding to the center of gravity may be used as a representative movement locus.
  • C m is the number of pixels belonging to the region ⁇ m or the number of pixel trajectories.
  • FIG. 20 shows an example in which a representative movement locus is obtained for each cluster region ⁇ m based on the above equation 36. However, for ease of viewing, only representative movement trajectories relating to the cluster region ⁇ 1 corresponding to the head and the cluster region ⁇ 8 corresponding to the legs are shown.
  • “x” is an element of x m ⁇ corresponding to time t, and indicates a pixel position.
  • Equation 3 and Equation 4 above region segmentation by clustering in a non-linear space is performed in consideration of the similarity of pixel motion, so the time average of the movement trajectories of adjacent pixels is simply Compared with the method for obtaining the above, since it is possible to calculate using only the movement trajectory of the pixel having similar motion, the representative movement trajectory can be obtained with higher accuracy. In this way, by obtaining a representative movement trajectory for each cluster region, it is possible to accurately and easily represent the movement of each part.
  • step S1502 the motion prediction unit 1401 predicts the position of the moving body at a time earlier than time T from the representative movement trajectory calculated in step S1501.
  • acceleration is calculated from a representative movement locus and the position of the moving body after T + 1 is predicted. If three or more time-series images are inputted, it is possible to obtain an acceleration vector s m for each representative movement trajectory x m-as the following equation 37.
  • u m t is a motion vector and can be expressed as the following Expression 38.
  • Equation 39 the position position pos m (T + t ′) of the moving object at time T + t ′ is expressed as follows for each position of the moving object: It can be predicted as shown in Equation 39.
  • the part of the moving body is taken as an example, but the position for each moving body can also be predicted from the detection examples shown in FIGS.
  • the output unit 105 outputs the position of the moving body and the position of the moving body part predicted in step S1502. Thereby, prediction in consideration of acceleration is possible. There is an effect that the position of the moving body can be predicted by reflecting the acceleration when the movement is rapidly accelerated or stopped suddenly. Further, an affine parameter may be used instead of the motion vector. Since the affine parameter can express a motion including a rotational motion and is suitable for a rotational motion of an arm or a leg, the position of the joint object can be predicted more accurately.
  • the representative movement trajectory can be obtained with high accuracy.
  • the present invention includes embodiments realized by arbitrarily combining the characteristic components in all the embodiments and all modifications described so far.
  • FIGS. 21A to 21C show examples of figures that can be separated when the method of the second embodiment is used.
  • the moving directions of the respective figures ⁇ 1 and ⁇ 2 shown in FIGS. 21A to 21C may be the same or different.
  • the condition is that all the pixels belonging to the graphic ⁇ 1 have the same movement, and all the pixels belonging to the graphic ⁇ 2 have the same movement.
  • step S601 in the second embodiment geodetic distance conversion having the characteristics shown in FIG. 5 is performed.
  • the distance obtained by tracing (traversing) the movement trajectory from the movement trajectory can be calculated. Therefore, the distance along the shape can be calculated with respect to the curved shape so as to be common to FIGS.
  • step S602 clustering is performed using a discontinuous point between the movement locus where the geodetic distance is infinite. For this reason, when there is a distance equal to or greater than the threshold between the movement trajectory, it is possible to divide ⁇ 1 and ⁇ 2 respectively based on the discontinuous points.
  • region segmentation with geodetic distance conversion it is possible to segment regions based on discontinuous points when there is a moving object that includes a curved shape and there are certain discontinuous points. is there.
  • step S601 when the process of step S601 is not performed, the distance between the movement trajectory belonging to ⁇ 1 and the movement trajectory belonging to ⁇ 2 is calculated as the Euclidean distance. Therefore, as in the case described with reference to FIG. The distance between i and point j is greater than the distance between point i and point k. That is, the distance between points belonging to the same class is larger than the distance between points belonging to another class. Further, in the process of step S602, in order not to perform the process of tracing (tracing) data unless the geodetic distance conversion is performed, it is determined whether the distance between the adjacent movement trajectories is discontinuous or continuous. I can't. Therefore, in the example shown in FIGS. 21 (a) to 21 (c), when a mobile object includes a curved shape and there are certain discontinuous points, the region is not divided based on the discontinuous points. difficult.
  • continuity related to similarity between moving trajectories is obtained by clustering using geodetic distances as compared to clustering using Euclidean distances that are linear distances. Clustering in consideration is performed, and even if the regions have complicated relations, it is reliably discriminated whether they belong to the same object (or part) or different objects (or parts).
  • the present invention is an apparatus for detecting all or part of a moving object in a moving image, that is, a person who moves while changing its shape based on the movement of a block composed of one or more pixels in a plurality of images.
  • a moving body detection device that detects a moving body in an image by dividing an image including the moving body of a moving body
  • a moving body detection device incorporated in an AV apparatus such as a motion analysis device, a monitoring device, a video camera, or a TV Etc.

Abstract

 形状が変化しながら移動する人物等の被写体を含む画像に対しても、正しく領域分割することができる移動体検出方法を提供する。  動画像を構成する複数枚のピクチャを受け付けるステップ(S101)と、ピクチャを構成する1個以上の画素からなるブロックごとに、時間的に隣接する2枚のピクチャ間での画像の動きを検出し、検出した動きを複数枚のピクチャについて連結することで、移動軌跡を算出するステップ(S102及びS103)と、算出された複数の移動軌跡について、移動軌跡間の類似性を表す距離を算出するステップ(S104)と、算出された距離のうち、閾値よりも小さい距離を連結することで測地距離に変換し、得られた測地距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡を一つのクラスタとすることによって領域分割をするステップ(S105及びS106)とを含む。

Description

移動体検出方法及び移動体検出装置
 本発明は、画像中の移動体を検出する方法に関し、特に複数枚の画像から構成される動画像から、画像の動き情報に基づいて、形状が変化しながら移動する人物等の移動体の全部又は一部の領域を特定する領域分割をすることによって移動体を検出する方法に関する。
 画像に基づいて、形状が変化しながら移動する人物等の移動体を検出したり、移動体を含む画像の領域分割を行う技術の1つとして、画像から対象物の候補領域を抽出する手法と、抽出した対象物の候補領域に対しあらかじめ用意した対象物モデルを当てはめる手法とを組合せた方法がある(例えば、特許文献1及び非特許文献1参照)。例えば、特許文献1では、対象物候補領域として複数の画像から人物等の対象物のシルエット画像を抽出し、前記対象物に関する知識から対象物の部位をあらかじめパラメータ化した人物等の対象物に関するモデルを用いて、抽出したシルエット画像に対してそのモデルを当てはめる方法が開示されている。これによって、形状が変化しながら移動する人物等の移動体に対してパラメータ化したモデルを当てはめることができるため、移動体の検出及び領域分割が可能となる。
 また、非特許文献1では、固定された1つの移動体を複数の視点から撮影した画像を入力として、各画像における画素値データとその他の画像の画素値データとのユークリッド距離を計算し、それを測地距離変換を行った後、次元圧縮を行うことによって、類似した視点から撮影した画像が2次元空間上で近距離となるように射影することを可能にする方法が開示されている。ここでは、従来のPCA(Principal Component Analysis)等の線形次元圧縮方法と比較して、測地距離変換によって、より低次元に圧縮可能であり、さらに、非線形に分布するデータに対しても取扱いが可能なことが示されている。
特開平8-214289号公報
Joshua Tenenbaum, Vin de Silva, John Langford, "A Global Geometric Framework for Nonlinear Dimensionality Reduction", Science, VOL290, pp.2319-2322,22 December, 2000
 しかしながら、上記特許文献1の技術では、特に街頭等、人物等の移動体が行き交うシーンにおいて、正しく移動体を検出することができないという問題がある。上記特許文献1に代表される移動体検出手法は、前述のように画像から対象物候補領域を抽出する必要がある。この時、正しく対象物候補領域を抽出できなければ、対象物をパラメータ化したモデルを正確に対象物候補領域に当てはめることが不可能になる。特に、混雑したシーンにおいては、対象物候補領域を正しく抽出することは困難である。例えば、画像上でさまざまな大きさの移動体が混在するような場合には、複数の移動体を1つの移動体として誤って対象物候補領域として抽出したり、抽出対象となる移動体が存在しない領域を対象物候補領域として誤って抽出したりするといった問題がある。また、移動体の一部が隠れる場合にも同様に、複数の移動体を一つの対象物候補領域として抽出したり、対象物候補領域として抽出することができないといった問題がある。さらに、対象物候補領域を正しく抽出できたとしても以下のような課題がある。特に人物等の多関節物体を対象物とした場合、対象物の様々な姿勢あるいは大きさに起因する画像上での見えのバリエーションが非常に大きいため、対象物モデルのパラメータ化を行う際に膨大な数のパラメータが必要となる。このことは、モデルの当てはめミスを誘発する。そのため、実際とは異なる姿勢に対応する対象物モデルが当てはめられることにより、領域分割が正しく行われないといった問題がある。
 一方で、非特許文献1に代表される移動体検出手法では、画像間の距離を入力として非線形処理を行うことにより、効率良く圧縮された低次元空間に画像データを射影することができる。さらには、測地距離変換と次元圧縮により連続的かつ非線形に分布するデータを効率良く表現することができる。しかしながら、非特許文献1の主な目的は、複数の画像を低次元空間に射影することで画像間の類似性を可視化することにあり、形状が変化する人物等の多関節物体における様々な姿勢変化に対応しながら、正しく移動体を検出する方法は開示されていない。
 そこで、本発明は、形状が変化しながら移動する人物等の移動体を含む画像に対しても、移動体の姿勢あるいは大きさの影響を受けずに、正しく領域分割することができる移動体検出方法及び移動体検出装置を提供することを目的とする。
 この課題を解決するために本発明は、動画像中の移動体の全部又は一部の領域を特定する領域分割をすることによって動画像中の移動体を検出する方法であって、動画像を構成する複数枚のピクチャを受け付ける画像入力ステップと、前記ピクチャを構成する1個以上の画素からなるブロックごとに、時間的に隣接する2枚のピクチャ間での画像の動きを検出し、検出した動きを前記複数枚のピクチャについて連結することで、移動軌跡を算出する動き解析ステップと、前記動き解析ステップで算出された複数の移動軌跡について、移動軌跡間の類似性を表す距離を算出する距離算出ステップと、前記距離算出ステップで算出された距離のうち、予め定められた閾値よりも小さい距離を連結することで、前記距離算出ステップで算出された距離を測地距離に変換し、得られた測地距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡を一つのクラスタとすることによって前記領域分割をする領域分割ステップと、前記領域分割ステップで領域分割された結果を出力する出力ステップとを含む。
 なお、本発明は、上記移動体検出方法として実現できるだけでなく、上記各ステップを構成要素とする移動体検出装置、上記各ステップをコンピュータに実行させるプログラム、そのプログラムを格納したCD-ROM等のコンピュータ読み取り可能な記録媒体等として実現することもできる。
 上記の方法及び装置等により、形状が変化しながら移動する人物等の移動体を正確に検出及び部位を領域分割することができる。さらに、検出と領域分割を行った結果を用いて、移動体の移動予測等を行うことも可能である。
図1は、本発明の実施の形態1における移動体検出装置の基本構成を示す機能ブロック図である。 図2は、本発明に係る移動体検出装置のハードウェア構成を示すブロック図である。 図3は、本発明の実施の形態1における移動体検出装置の基本動作を示すフローチャートである。 図4は、本発明の実施の形態1における動き解析部の処理例を示す図である。 図5(a)~(c)は、本発明の実施の形態1における領域分割部の測地距離の効果の一例を示す図である。 図6(a)及び(b)は、本発明の実施の形態1における領域分割部の測地距離の効果の一例を示す図である。 図7(a)~(c)は、本発明の実施の形態1における領域分割部の処理例を示す図である。 図8は、本発明の実施の形態1の変形例における移動体検出装置の基本動作を示すフローチャートである。 図9(a)~(d)は、本発明の実施の形態1の変形例における領域分割部の処理例を示す図である。 図10は、本発明の実施の形態2における移動体検出装置の基本構成を示す機能ブロック図である。 図11は、本発明の実施の形態2における移動体検出装置の基本動作を示すフローチャートである。 図12(a)~(f)は、本発明の実施の形態2における領域分割部の処理例を示す図である。 図13(a)~(c)は、本発明の実施の形態2における領域分割部の階層的なクラスタリング処理例を示す図である。 図14は、本発明の実施の形態1及び2の第1変形例における移動体検出装置の構成例を示す機能ブロック図である。 図15(a)及び(b)は、本発明の実施の形態1及び2の第1変形例における画像表示部の表示例を示す図である。 図16は、本発明の実施の形態1及び2の第2変形例における移動体検出装置の構成例を示す機能ブロック図である。 図17は、本発明の実施の形態1及び2の第2変形例における記録・送信データの一例を示す図である。 図18は、本発明の実施の形態3における移動体検出装置の構成例を示す機能ブロック図である。 図19は、本発明の実施の形態3における移動体検出装置の基本動作を示すフローチャートである。 図20は、本発明の実施の形態3における動き予測の一例を示す図である。 図21(a)~(c)は、本発明の実施の形態2の方法によって分離可能な図形の一例を示す図である。
 本発明の一実施形態は、動画像中の移動体の全部又は一部の領域を特定する領域分割をすることによって動画像中の移動体を検出する方法であって、動画像を構成する複数枚のピクチャを受け付ける画像入力ステップと、前記ピクチャを構成する1個以上の画素からなるブロックごとに、時間的に隣接する2枚のピクチャ間での画像の動きを検出し、検出した動きを前記複数枚のピクチャについて連結することで、移動軌跡を算出する動き解析ステップと、前記動き解析ステップで算出された複数の移動軌跡について、移動軌跡間の類似性を表す距離を算出する距離算出ステップと、前記距離算出ステップで算出された距離のうち、予め定められた閾値よりも小さい距離を連結することで、前記距離算出ステップで算出された距離を測地距離に変換し、得られた測地距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡を一つのクラスタとすることによって前記領域分割をする領域分割ステップと、前記領域分割ステップで領域分割された結果を出力する出力ステップとを含む。これにより、不連続点よりも小さい測地距離だけ離れた移動軌跡どうしが一つのクラスタとなるので、直線的な距離であるユークリッド距離を用いたクラスタリングに比べ、移動軌跡間の類似性に関して、字空間的な連続性を考慮したクラスタリングが行われる。そのため、ピクチャにおける各ブロックが同一の物体(又は部位)に属するか別個の物体(又は部位)に属するかが確実に弁別される。その結果、動きの異なる複数の部位からなる人物等の多関節物体を移動体として検出する場合であっても、正確な領域分割が行われ、移動体が確実に検出される。つまり、形状が変化しながら移動する人物等の移動体に対しても正しく領域分割し、これによって画像中の移動体を確実に検出することが可能である。
 なお、測地距離変換のより詳細な方法として、前記領域分割ステップでは、前記距離から前記測地距離への変換において、第1の移動軌跡と第2の移動軌跡との間の距離を測地距離に変換する場合には、前記距離算出ステップで算出された距離のうち、前記予め定められた閾値よりも小さい距離だけ離れた移動軌跡をたどりながら前記第1の移動軌跡から前記第2の移動軌跡に至る経路の距離を、測地距離として算出するのが好ましい。
 また、本発明のより好ましい形態は、前記領域分割ステップでは、前記距離算出ステップで算出された距離を測地距離に変換するときに、前記複数の移動軌跡の分布における密集度が大きいほど小さい測地距離となるような重み付けをしたうえで、前記変換をする構成としたものであり、移動軌跡の分布の密集度を用いて距離変換を行うことにより、類似性の高い移動軌跡をより高精度に同一クラスタとすることで、特に形状が変化しながら移動する人物等の移動体に対しても確実に検出し、同時に正しく領域分割を行うことが可能である。
 また、領域分割ステップの具体的な手法の他の一つとして、前記領域分割ステップは、前記領域分割に用いられる閾値を複数生成し、生成した複数の閾値のそれぞれについて、前記距離算出ステップで算出された距離のうち、当該閾値よりも小さい距離を連結することで、前記距離算出ステップで算出された距離を前記測地距離に変換し、得られた複数の測地距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡を一つのクラスタとすることによって前記領域分割をし、その領域分割の結果を領域分割候補として生成する領域分割候補生成ステップと、クラス数についての指示を取得し、所得したクラス数と同じもしくは最も近い個数の領域に分割された領域分割候補を前記領域分割候補生成ステップで生成された複数の領域分割候補から選択し、選択した領域分割候補を前記領域分割の結果として出力する領域分割候補選択ステップを含んでもよい。これによって、予め生成した複数の判断基準のそれぞれについてクラスタリングが行われるので、それら複数のクラスタリングから、所望の個数のクラスタが生成される。
 本発明のより好ましい形態は、前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離における最大値と最小値との間の複数の値を、前記閾値として、生成する構成としたものであり、これにより、閾値を効果的に設定することで、特に形状が変化しながら移動する人物等の移動体に対しても確実かつより高速に検出し、同時に正しく領域分割を行うことが可能である。
 本発明のより好ましい形態は、前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離について、閾値を大きい値から小さい値の順に並べた場合における最初の不連続点を検出し、検出した不連続点よりも小さい複数の値を、前記複数の閾値として、生成する構成としたものであり、これにより、閾値を効果的に設定することで、特に形状が変化しながら移動する人物等の移動体に対しても確実かつより高速に検出し、同時に正しく領域分割を行うことが可能である。
 本発明のより好ましい形態は、前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離について不連続点の検出を行い、閾値の大小に基づいて階層的に前記領域分割をする構成としたものであり、これにより、階層的にクラスタリングを行うことによって、特に形状が変化しながら移動する人物等の被写体に対して、被写体の画像上での位置を特定する粗い移動体抽出から、被写体の詳細な動きに基づいた精細な移動体抽出までを行うことが可能である。
 本発明のより好ましい形態は、前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離について、閾値を大きい値から不連続点の検出を行い、分割されたクラスタに対して、それぞれ、より閾値を用いて不連続点の検出を行い、階層的に前記領域分割をする構成としたものであり、これにより、閾値を大きい値から順に階層的にクラスタリングを行うことによって、特に形状が変化しながら移動する人物等の被写体に対して、被写体の画像上での位置を特定する粗い移動体抽出から、被写体の詳細な動きに基づいた精細な移動体抽出までをより少ない計算量で行うことが可能である。
 本発明のより好ましい形態は、前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離の平均値又は中央値を中心に増加及び減少させて得られる複数の値を、前記複数の閾値として、生成する構成としたものであり、これにより、閾値を効果的に設定することで、特に形状が変化しながら移動する人物等の移動体に対しても確実かつより高速に検出し、同時に正しく領域分割を行うことが可能である。
 本発明のより好ましい形態は、前記領域分割候補生成ステップでは、前記動き解析ステップで算出された複数の移動軌跡のそれぞれについて、当該移動軌跡との距離がN番目に小さい距離を特定し、特定した複数の距離について大きい順から選択した複数の値を、前記複数の閾値として、生成する構成としたものであり、これにより、閾値を効果的に設定することで、特に形状が変化しながら移動する人物等の移動体に対しても確実かつより高速に検出し、同時に正しく領域分割を行うことが可能である。
 本発明のより好ましい形態は、前記領域分割ステップでは、前記動き解析ステップで算出された複数の移動軌跡のそれぞれについて、前記距離が小さい順に予め定められた個数の移動軌跡を選択し、選択されなかった移動軌跡との距離を無限大に変更する非線形化をした後に、前記複数の距離のそれぞれを測地距離に変換する構成としたものであり、これにより、選択された距離と選択されなかった距離とが非線形な関係となるため、線形距離と比較して、移動軌跡間の類似/非類似が強調されることとなり、人物のように関節で繋がった物体の動きを正しく表現することが可能となる。
 本発明のより好ましい形態は、前記領域分割ステップでは、前記動き解析ステップで算出された複数の移動軌跡のそれぞれについて、前記距離が予め定められた閾値以下の移動軌跡を選択し、選択されなかった移動軌跡との距離を無限大に変更する非線形化をした後に、前記複数の距離のそれぞれを測地距離に変換する構成としたものであり、これにより、選択された距離と選択されなかった距離とが非線形な関係となるため、線形距離と比較して、移動軌跡間の類似/非類似が強調されることとなり、人物のように関節で繋がった物体の動きを正しく表現することが可能となる。
 本発明のより好ましい形態は、前記動き解析ステップでは、前記動きの検出として、前記動きを示す2次元動きベクトル又はアフィンパラメータを算出する構成としたものであり、これにより、動きベクトルもしくはアフィンパラメータによりブロックの動きを解析することで、ブロックの移動軌跡を算出することが可能になる。
 本発明のより好ましい形態は、前記距離算出ステップでは、前記距離の算出として、前記ブロックの移動軌跡間の類似性に加えて、前記ピクチャでの前記ブロック間の距離及び前記ブロックどうしを接続する直線の傾斜を示す角度の少なくとも1つを算出する構成としたものであり、これにより、人物のように関節を軸とした回転運動を伴いながら形状が変化する移動物体の動きを効率良く捉えることが可能になる。
 本発明の一実施形態は、前記出力ステップは、前記領域分割ステップで得られた領域分割の結果を、前記画像入力ステップで受け付けたピクチャに重ねて表示する表示ステップを含む構成としたものであり、これにより、領域分割した部位を画像上に表示することによって、スポーツにおけるフォームの修正あるいはリハビリテーションにおける歩行の矯正等に応用が可能である。
 本発明の一実施形態は、前記画像入力ステップでは、2つ以上の移動体が含まれる動画像を受け付け、前記領域分割ステップでは、前記2以上の移動体について前記領域分割をすることで、2以上の移動体を検出する構成としたものであり、これにより、形状が変化しながら移動する複数の移動体を含む画像に対しても、正しく複数の移動物体を検出することが可能である。
 本発明の一実施形態は、前記移動体検出方法はさらに、前記領域分割ステップで特定された領域を構成するブロックの移動軌跡から、当該領域を代表する移動軌跡を算出し、算出した代表の移動軌跡に従って当該領域が移動すると予測することで、前記移動体の動きを予測する動き予測ステップを含む構成としたものであり、これにより、複数のブロックの移動軌跡を代表する軌跡を用いて移動体の動きを予測することにより、ノイズ耐性の高い動き予測が可能となる。
 本発明の一実施形態は、前記出力ステップは、前記領域分割ステップでの領域分割の結果に基づいて、前記画像入力ステップで受け付けたピクチャにおける領域を特定し、特定した領域ごとに、対応する領域分割の結果を、記憶手段に記録する、又は、送信する記録・送信ステップを含む構成としたものであり、これにより、検出した移動体画像を分割した領域に基づいてそれぞれ別々に保持することによって、各移動体画像の中から必要な部分の画像のみを選択して保存したり、外部に出力したりすることによって、図形要素として効率的な保存及び出力が可能になる。そのため、携帯電話等、処理能力の限られた機器に保存及び送信する場合に有効に作用する。
 本発明の一実施形態は、動画像を構成する複数枚のピクチャを受け付ける画像入力ステップと、前記ピクチャを構成する1個以上の画素からなるブロックごとに、時間的に隣接する2枚のピクチャ間での画像の動きを検出し、検出した動きを前記複数枚のピクチャについて連結することで、移動軌跡を算出する動き解析ステップと、前記動き解析ステップで算出された複数の移動軌跡について、移動軌跡間の類似性を表す距離を算出する距離算出ステップと、前記距離算出ステップで算出された距離が小さい順に移動軌跡のペアを同一クラスタとして統合する処理をクラスタ数が規定の数になるまで繰り返すことによって、距離が一定以上離れた不連続点をクラスタの境界として前記領域分割をする領域分割ステップと、前記領域分割ステップでの領域分割の結果を出力する出力ステップとを含む。これにより、距離が小さい順に移動軌跡のペアを統合する処理をクラスタ数が規定の数になるまで繰り返すことによって、距離が一定以上離れた不連続点をクラスタの境界として得ることができる。結果として、移動軌跡間の類似性に関する連続性を考慮したクラスタリングが行われ、移動体を検出することが可能である。
 以下、本発明の実施の形態について、図面を用いて説明する。
 (実施の形態1)
 図1は、実施の形態1における移動体検出装置100の構成を示す機能ブロック図である。図1に示されるように、この移動体検出装置100は、画像入力部101、動き解析部102、距離算出部103、領域分割部104、出力部105を備える。そして、この移動体検出装置100は、動画像中の移動体の全部又は一部の領域を特定する領域分割をすることによって動画像中の移動体を検出する。
 画像入力部101は、動画像を構成する時間的に異なる複数枚の画像(ピクチャ)の入力を受け付ける処理部であり、例えば、ビデオカメラ、あるいは、ビデオカメラと接続された通信インターフェース等である。
 動き解析部102は、画像入力部101で受け付けたピクチャを構成する1個以上の画素からなるブロックごとに、時間的に隣接する2枚のピクチャ間での画像の動きを検出し、検出した動きを複数枚のピクチャについて連結することで、移動軌跡を算出する処理部である。
 距離算出部103は、移動する物体の形状変化を捉えるために、動き解析部102で算出したブロックiの移動軌跡と、i以外のブロックの移動軌跡とを用いて、ブロックの動きの類似性を表す距離を算出する処理部である。例えば、N個のブロックの移動軌跡を用いた場合、算出される距離はN×Nの距離マトリクスとなる。ここでは、ブロックの動きの類似性を評価する距離を計算することによって、ブロック間の距離が動きによって変化する移動体、特に、関節物体のように形状が変化しながら移動する人物等の物体の動きを距離マトリクスとして表現することが可能である。なお、以降の説明では、ブロックiの移動軌跡を移動軌跡iと呼ぶこととする。このように、本明細書における「距離」は、2次元空間における2点間の距離だけでなく、多次元のデータ間の算術的な距離を含み、1つの値、あるいは、複数の値の集合(距離マトリクス)である。
 領域分割部104は、領域分割に用いられる閾値を用いて、動き解析部102で算出された複数の移動軌跡をクラスタリングすることによって領域分割行う処理部である。具体的には、この領域分割部104は、距離算出部103で算出した距離マトリクスに対してデータの連続性に関する閾値を用いて測地距離変換を適用し、つまり、距離算出部103で算出された複数の距離のうち当該閾値よりも小さい距離を連結することで複数の距離のそれぞれを測地距離に変換し、それぞれの閾値における測地距離変換後の移動軌跡間の距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡どうしが一つのクラスタとなるように、連続に分布する移動軌跡をクラスタリングすることによって、前記閾値に対する領域分割を行う。
 なお、この領域分割部104は、距離算出部103で算出された距離(距離マトリクス)から測地距離への変換(測地距離変換)において、第1の移動軌跡と第2の移動軌跡との間の距離を測地距離に変換する場合には、距離算出部103で算出された距離のうち、予め定められた閾値よりも小さい距離だけ離れた移動軌跡をたどりながら第1の移動軌跡から第2の移動軌跡に至る経路の距離を、測地距離として算出する。
 出力部105では、領域分割部104で行った動画像中の移動体の検出結果もしくは、画像の領域分割結果を出力するメモリや記録媒体への書き込み処理部、あるいは、ディスプレイ装置に出力する出力インターフェース等である。
 本明細書において、領域分割を行った結果の各領域は、それぞれの移動体に対応するため、各移動体の検出と、画像中の複数の移動体領域をそれぞれ分割する領域分割とは、特に区別しない。つまり、「移動体の検出」という処理が、即ち、「領域分割」という処理に相当する。
 なお、この移動体検出装置100を構成する各構成要素(画像入力部101、動き解析部102、距離算出部103、領域分割部104、出力部105)は、図2に示されるように、カメラ2001から送られてくる画像を取得するインターフェース(I/F)2004、CPU2005、RAM2007、ROM2006、ハードディスク2008、ディスプレイ2003に映像信号を出力するビデオカード2009等を備えるコンピュータ2002上で実行されるプログラム等のソフトウェアで実現されてもよいし、電子回路等のハードウェアで実現されてもよい。つまり、本実施の形態における構成要素のうち、ディスプレイ装置等の入出力部を除く構成要素については、コンピュータで実行されるプログラム及びデータ(つまり、ソフトウェア)で実現してもよいし、電子回路、メモリ及び記録媒体等のハードウェアで実現してもよいし、それらの混在で実現してもよい。以下、他の実施の形態における移動体検出装置についても同様である。
 以下に、本発明の移動体検出方法、つまり、移動体検出装置100の動作について、図3のフローチャートを用いて移動する移動体を検出(つまり、領域分割)する例について詳細に説明する。
 まず、ステップS101にて、画像入力部101は、複数枚のピクチャを受け付ける。
 次に、ステップS102にて、動き解析部102は、少なくとも2枚のピクチャからブロックの動きを算出する。なお、ここでは、ブロックの動きを算出する一例として、画素の動きを算出する。以下、本実施の形態では、ブロック単位の処理の一例として、画素単位の処理を説明する。なお、複数の画素からなるブロック単位で処理をする場合には、(i)画素に対応するデータをブロック分だけ合計したり、(ii)ブロック分の平均値を求めたり、(iii)ブロックの中心値を求めることで、ブロックに対応するデータ(代表値)を求め、得られた代表値を用いて画素単位の処理と同様に処理すればよい。なお、本明細書で、「ブロックの動き」及び「画素の動き」とは、それぞれ、「画像のブロックごとでの動き」及び「画像の画素ごとでの動き」を意味する。
 まず、画素の動きをオプティカルフロー計算により算出する例について説明する。オプティカルフロー計算による動きベクトルの算出は、非特許文献2もしくは非特許文献3および非特許文献4に開示された技術を用いることができる。
P.Anandan,"A Computational Framework and an Algorithm for the Measurement of Visual Motion",International Journal of Computer Vision, Vol.2, pp.283-310,1989
Vladimir Kolmogorov and Ramin Zabih, "Computing Visual Correspondence with Occlusions via Graph Cuts", International Conference on Computer Vision,2001
Thomas Pock, Martin Urschler, Christopher Zach, Reinhard Beichel and Horst Bischof, "A Duality Based Algorithm for TV-L1-Optical-Flow Image Registration",International Conference on Medical Image Computing and Computer Assisted Intervention, 2007
 例えば、ステップS101にてT枚のピクチャが入力されたと仮定すると、動き解析部102は、時刻tと時刻t+1に入力されたピクチャ用いて、画素iの動きベクトル(ui t,vi t)を推定する。ここでは、必ずしもフレームが連続している必要はなく、例えば、時刻tと時刻t+nに入力されたピクチャを用いて画素の動きを求めてもよい。ただし、nは1以上の整数である。さらに、画素の動きとして、前記2次元動きベクトルの代わりにアフィンパラメータを推定してもよい。この時、すべての画素について動き情報を求めてもよい。また、より高速に処理を行いたい場合には、画像をグリッドに区切って一定間隔のグリッド上の画素についてのみ動き情報を求めてもよいし、上述したように、画像をブロックに区切ってブロックごとに動き情報を求めてもよい。さらに、非特許文献2を用いて動きベクトルを算出する場合は、その信頼度を計算することができるため信頼度の高い動き情報を持つ画素のみを用いてもよい。また、非特許文献3を用いて動きベクトルを算出する場合は、オクルージョンを推定することができる。そのため、遮蔽(しゃへい)されていない画素の動き情報のみを用いてもよい。また、非特許文献4は、高速に処理できることが知られており、処理の高速化が必要な場合に用いてもよい。
 さらに、画素の動きを算出する手法として、前記したブロックの並進移動を仮定して動きベクトルを算出する方法の代わりに、ブロックのアフィン変形を仮定して動きベクトルを算出する方法を用いてもよい。アフィン変形を仮定して動きベクトルを算出する方法は、非特許文献5に開示された技術を用いることができる。
Jianbo Shi and Carlo Tomasi "Good Features to Track", IEEE Conference on Computer Vision and Pattern Recognition,pp593-600,1994
 上記手法は、時刻tと時刻t+1に入力されたピクチャの画素i近傍の動きに相当するアフィンパラメータAi tを推定する。画素iについて、時刻tと時刻t+1におけるピクチャ上での画素位置xi tとxi t+1は次の関係がある。
Figure JPOXMLDOC01-appb-M000001
 上記手法は、特に回転運動をする物体に対して、並進移動を仮定して動きベクトルを算出する手法を用いる場合よりも、高精度に画素iの動きを推定することができる。
 次に、ステップS103にて、動き解析部102は、ステップS102で算出した動き情報を用いて、時間的に異なる複数枚のピクチャに対して前記画素の動きから移動軌跡iを算出する。以下、画素iの移動軌跡を移動軌跡iと呼ぶこととする。図4に示すように、時刻tにおける入力画像301の画素i303からステップS102で算出した動き情報302を用いて、画素iの動きを追跡する。この時、画素iが通った時刻tにおけるピクチャ上での画素位置(xi t,yi t)を用いて、以下のように移動軌跡iを算出する。
Figure JPOXMLDOC01-appb-M000002
 ここで、Tは移動軌跡の算出に用いたピクチャの枚数である。
 次に、ステップS104にて、距離算出部103は、上記式2で算出した移動軌跡iを用いて画素の動きの類似性を含む距離マトリクスを算出する。移動軌跡iと移動軌跡jとの線形距離f(i,j)は以下の式3のように算出できる。
Figure JPOXMLDOC01-appb-M000003
 ここで、wは重み係数であり、設計者が設定するパラメータである。さらに、上記式3は、次の式4のように変形してもよい。
Figure JPOXMLDOC01-appb-M000004
 また、ptnij,mtnijについては、それぞれ、以下の式5及び式6に示す。
Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000006
 ここで、
Figure JPOXMLDOC01-appb-M000007
 上記のように、上記式3に示されるように、上記式5に示した移動軌跡間距離の時間平均値に加えて、上記式6に示した移動軌跡間距離の時間的ばらつきを前記線形距離f(i,j)の要素とする。特に上記式6に示した移動軌跡間距離の時間的ばらつきは、画素の動きの類似性を示すものであり、これによって、画素間のなす距離の関係が時間的に変化しない剛体だけでなく、関節物体等の形状変化を捉えることができる。なお、上記式6の代わりに下記の式8から式13のような時間変動成分を用いることで、同様の効果が期待できる。
Figure JPOXMLDOC01-appb-M000008
 ここで、
Figure JPOXMLDOC01-appb-M000009
 であり、ut iは、時刻tからt+1への動きベクトル(ui t,vi t)、<ut i・ut i>は内積である。
 また、以下のような計算を用いてもよい。
Figure JPOXMLDOC01-appb-M000010
 ここで、
Figure JPOXMLDOC01-appb-M000011
Figure JPOXMLDOC01-appb-M000012
 ここで、
Figure JPOXMLDOC01-appb-M000013
 である。
 次に、領域分割部104は、ステップS105(測地距離変換)とS106(領域分割)とを実行する。具体的には、S105では、領域分割部104は、上記式3もしくは上記式4で算出した線形距離f(i,j)に対して閾値Rを用いて、その閾値に対して以下の式14ように非線形化処理を行いf'(i,j)を算出する。
Figure JPOXMLDOC01-appb-M000014
 つまり、領域分割部104は、移動軌跡iに着目した時に移動軌跡iとの線形距離が小さい順にR個の移動軌跡jを選択し、選択された移動軌跡jとの距離は変更せず、一方、選択されなかった移動軌跡jとの距離を無限大に変更する。なお、ここでは、線形距離f(i,j)が小さい順に選択したが、次式のように閾値Rを設定してもよい。
Figure JPOXMLDOC01-appb-M000015
 つまり、領域分割部104は、上記式14に示すように、動き解析部102で算出された複数の移動軌跡のそれぞれについて、距離が小さい順に予め定められた個数の移動軌跡を選択し、選択されなかった移動軌跡との距離を無限大に変更する非線形化をした後に、複数の距離のそれぞれを測地距離に変換してもよいし、上記式15に示すように、移動軌跡iに着目した時に、動き解析部102で算出された複数の移動軌跡jのそれぞれについて、距離が予め定められた閾値以下の移動軌跡jを選択し、選択されなかった移動軌跡との距離を無限大に変更する非線形化をした後に、複数の距離のそれぞれを測地距離に変換してもよい。
 なお、距離の非線形化に関しては、上記の関数に限定されるものではなく、移動軌跡iと移動軌跡jに関する距離に対して非線形変換を行うものであれば何でもよい。
 さらには、線形距離f(i,j)に対して、以下のように式16及び式17を用いて計算した重みを掛け算して重み付けを行った後に式14もしくは式15の処理を行ってもよい。
Figure JPOXMLDOC01-appb-M000016
 ここで、NNは移動軌跡の近傍点について処理することを示し、移動軌跡a及びbに対して、移動軌跡j及びiからそれぞれ一定距離以内にある移動軌跡もしくは、距離が小さい順にN個の移動軌跡を用いて計算することを示す。すなわち、Na、Nbは、一定距離以内にある移動軌跡の数もしくは、前記Nである。なお、zは設計者が設定する。
 また、上記式16の代わりに次の式17のように分散を用いてもよい。
Figure JPOXMLDOC01-appb-M000017
 ここで、
Figure JPOXMLDOC01-appb-M000018
Figure JPOXMLDOC01-appb-M000019
 であり、近傍点については、上記式16の場合と同じである。
 上記式16や上記式17の重みを用いてf(i,j)を変換することによって、移動軌跡i及びjと類似した移動軌跡が空間的に密集している場合(距離が近い移動軌跡の場合)には、f(i,j)を相対的に小さく、また、空間的に疎な場合(距離が遠い移動軌跡の場合)には、密集している場合と比較してf(i,j)が相対的に大きくなる。つまり、領域分割部104は、距離算出部103で算出された複数の距離のそれぞれを測地距離に変換するときに、動き解析部102で算出された複数の移動軌跡の分布における密集度が大きいほど小さい測地距離となるような重み付けをしたうえで、測地距離への変換をする。これによって、画素の移動軌跡の分布の密集度を考慮した距離変換が可能になる。
 次に、領域分割部104は、非線形化された距離f'(i,j)を用いて、次式のように測地距離を算出する。
Figure JPOXMLDOC01-appb-M000020
 なお、min(x,y)は、値xと値yのうち小さい方を返す関数である。また、sは、移動軌跡sであり、移動軌跡iから移動軌跡jに辿(たど)りつくための中継点である。ここで、f'(i,s)+f'(s,j)における中継点sは1点に限るものではない。この方法は、ダイクストラ法と呼ばれる最短経路探索手法であり、以下の非特許文献6に記載されている。
E.W.Dijkstra, " A note on two problems in connexion with graphs", Numerische Mathematik, pp.269-271, 1959
 ここで、上記式14及び上記式15に示した非線形化処理について、図5(a)~(c)の概念図を用いて説明する。ここでは、上記式15に示された非線形処理ついて説明するが、他の非線形化処理を行っても同様の効果が期待できる。
 まず、図5(a)は2次元のデータ分布を示す。ここで、それぞれのデータ点は、上記式3もしくは上記式4に示した移動軌跡iに相当する。上記式14から上記式17の非線形化処理を行わない場合には、図5(b)に示したように、データ点iとデータ点jとの距離は、データ点iとデータ点kとの距離よりも小さくなる。しかしながら、図5(c)に示すように、例えば、上記式15の処理及び上記式17の処理を行うことによって、データ点iとデータ点jとの距離は、ユークリッド距離ではなく、測地距離と呼ばれるデータ点を矢印のように辿(たど)った距離となる。結果として、ユークリッド距離を用いる場合と異なり、データ点iとデータ点jとの距離は、データ点iとデータ点kとの距離よりも大きくなる。
 ここで、このような上記式14から上記式17に示した測地距離変換の特徴を図6(a)及び(b)の概念図を用いて説明する。ここでは、線形距離f(i,j)と測地距離g(i,j)の違いを分かりやすく説明するため、上記式5に示すような時刻tにおける移動軌跡間距離を例とする。実際には、移動軌跡間距離に加えて、上記式3に示したように画素の動きの類似性として移動軌跡間距離の変動成分を用いることにより、関節物体等の形状だけではなく形状変化をも捉えることができる。図6(a)は、上記式14から上記式17の処理を行わない場合の例である。例えば、頭部の画素i802と手先部の画素j803との距離は、線形距離801に示す距離となる。一方、上記式14から上記式17のような非線形処理を行うことによって、閾値Rが適切に設定されていれば、図6(b)に示されるように、頭部の画素i802と手先部の画素j803との距離は、画素k804を通って画素jにたどり着くまでの矢印で示したような線形和としての距離となる。そのため、線形距離801では人物のような関節物体の関節が繋がった形状をデータとして連続的に表現できないのに対して、関節が繋がった形状を距離として連続性を表現することが可能となる。なお、測地距離の計算方法は、上記式17に限定されるものではない。
 次に、ステップS106では、領域分割部104は、ステップS105で閾値Rに対応する測地距離変換を行ったg(i,j)を用いて、不連続点を検出することによってクラスタリングを行う。ここでは、g(i,j)が無限大となる移動軌跡iと移動軌跡jの間が不連続点である。閾値Rに対して得た測地距離変換の結果の例を図7(a)~(c)を用いて説明する。ここで、図7(a)は移動軌跡a~hを示す図であり、図7(b)は、図7(a)に示した移動軌跡a~hを表す高次元空間の概念図である。なお、図7(a)では、移動軌跡a~hの数を8本としたが、実際には、各画素に対応する移動軌跡を用いてもよいし、ブロック単位で求めた移動軌跡を用いてもよい。ここで、移動軌跡a~hを表す高次元空間の1点が、上記式2に示した一つの移動軌跡に対応する。すなわち、高次元空間上の点は、1枚のピクチャ上の領域だけではなく時間的に異なる複数枚のピクチャに渡って画素を追跡した結果である。さらに、高次元空間上で、点と点との距離は、ベクトル間のユークリッド距離ではなく、上記式20に示すような測地距離に対応する。
 図7(c)は、クラスタリング結果を示す図である。ここで、図7(c)において、上記式3もしくは上記式4に示した移動軌跡aと移動軌跡bとの距離をf(a,b)とした時に、f(e,f)>f(c,d)>f(f,g)>f(b,c)とする。また、閾値をRとして設定した場合に、距離f(f,g)は、閾値Rよりも大きな値を持つとする。この場合、上記式17によって測地距離を求めてもg(e,f)、g(c,d)、g(f,g)はそれぞれ無限大となる。よって、領域分割部104は、移動軌跡cと移動軌跡dとの間、移動軌跡eと移動軌跡fとの間、移動軌跡fと移動軌跡gとの間が不連続点であると判定する。この結果、移動軌跡a,b,cは、互いに不連続点を通らずに辿ることができるため、無限大の値はとらず、逆に、例えば、移動軌跡a,b,cから、他の移動軌跡に対しては、不連続点g(c,d)を通るため無限大となる。このように、測地距離が無限大とならない移動軌跡iと移動軌跡jの組は同じクラスタとし、無限大となる場合は別のクラスタとする。そして、測地距離が無限大となる組と無限大にならない組とを整理して、θ1、θ2、θ3、θ4の合計4つのクラスタに分離することができる。
 ここで、閾値Rの性質について述べる。閾値Rが小さいほど、画像上でより小さな移動体を検出可能となる一方で、誤検出(フォルスポジティブ)が増加するというトレードオフがある。そこで、例えば、監視用途等、移動体検出を行いたい範囲が事前に分かっている場合には、検出したい移動体の最小サイズとその画像上での動きに合わせて閾値Rを設定すればよい。また、シーンに合わせて、閾値Rを変えながら検出率と誤検出率を算出し、検出率と誤検出率が等しくなる、すなわちEER(Equal Error Rate)となる閾値Rを選択することも可能であるし、検出率を優先したり、誤検出率を小さくすることを優先して閾値Rを選択することも可能である。
 以上の処理によって、領域分割部104は、測地距離が無限大とならない移動軌跡の組は連続とすることで同じクラスタと判定することができ、測地距離が無限大となる移動軌跡の組は不連続とすることによって、不連続点をもとにクラスタを分離することができる。
 出力部105では、S106でクラスタに分離された移動軌跡を、領域分割の結果として、装置の内部(メモリ等)又は外部(記録媒体、ディスプレイ装置等)に出力する。これによって、移動体を検出することができる。
 なお、本実施の形態では、移動軌跡に対して上記式3もしくは上記式4のような距離を計算することによって、画素の位置と動きの類似性とを考慮した領域分割が可能になる。そのため、図7(a)~(c)に示される例では、頭部の動きと腕の動きの違い、上腿と下腿との動きの違いが反映され、頭部、腕、上腿(じょうたい)、下腿(かたい)を別々のクラスタとして領域分割することができる。さらに、本方法は、同様の方法によって、一つの移動体のボディパーツの検出、領域分割だけでなく、複数人が存在するシーンにおいて、それぞれの移動体を検出、領域分割することも可能である。
 このように、測地距離を用いて算出した不連続点をもとにクラスタリングを行うことで、結果として移動体を検出及び領域分割を行うことができる。
 以上のようにして、画素間の距離あるいは移動軌跡の類似性に基づいてクラスタリングを行うことによって、類似する移動軌跡がまとめられて領域分割が行われるので、距離が近く、かつ、類似する動きをする部位が一つの領域として認識され、動画像中を移動する物体の領域を時間的に追跡した結果として、関節物体の姿勢によらずに、動画像中の移動体もしくは、移動体の部位の検出、移動体を含む画像の領域分割をすることができる。また、前処理として人物候補領域を設定する必要がなく、移動軌跡の類似性に基づいて複数の閾値を用いてクラスタリングを行うため、画像中でさまざまな大きさの移動体が存在する場合や、移動体の一部が隠れている場合に特に問題となる人物候補領域の検出ミス、それに起因する領域分割の失敗がない。さらには、不連続点に基づいたクラスタリングは、クラスタサイズの大きさに影響を受けないクラスタリングが可能であるため、大きな被写体と小さな被写体が混在する場合や、大きな動きの被写体と小さな動きの被写体が混在する場合においても、確実に抽出することが可能である。
 以上のように、膨大なパラメータのフィッティングを必要とせずに、非線形空間でクラスタリングを行うことによって、形状が変化しながら移動する人物等を含む動画像に対しても正しく領域分割し、これによって動画像中の移動体の検出を行うことが可能となる。
 なお、本発明に係る移動体検出装置は、本実施の形態における測地距離の不連続点にもとづいた領域分割とは異なる方法で領域分割をしてもよい。以下、実施の形態1における領域分割と異なる方法、ここでは、測地距離への変換をすることなく領域分割をする方法について、実施の形態1の変形例として説明する。
 本変形例に係る移動体検出装置の構成は、基本的には、図1に示されるように、画像入力部101、動き解析部102、距離算出部103、領域分割部104、出力部105を備える。そして、この移動体検出装置100は、動画像中の移動体の全部又は一部の領域を特定する領域分割をすることによって動画像中の移動体を検出する。画像入力部101、動き解析部102、距離算出部103は実施の形態1と同様であるため説明を省略する。本変形例に係る領域分割部104は、実施の形態1と異なる方法で、領域分割をする。以下、本変形例に係る領域分割部104を中心に説明する。
 図8は、本発明の実施の形態1の変形例における移動体検出装置の基本動作を示すフローチャートである。なお、本図において、ステップS101~S104は、図3のステップS101~S104と同じであるので、説明を省略する。
 本変形例に係る領域分割部104は、ステップS205(クラスタリング)とS206(ラベル付け)とを実行する。ステップS205では、領域分割部104は、上記式3もしくは上記式4で算出した移動軌跡iと移動軌跡jとの距離f(i,j)を用いて、f(i,j)が小さい順に移動軌跡iと移動軌跡jとを同一クラスとして結合する処理を繰り返すことによってクラスタリングを行う。図9(a)に示すように、移動軌跡a~hは、同一移動体であっても、姿勢変化によって大きく変化する。しかしながら、関節で繋がった物体である限り、特に近傍における移動軌跡は高い類似性を保持していることを仮定することができる。ここで、高い類似性とは、移動軌跡iと移動軌跡jとの距離f(i,j)が小さいことを意味する。さらに、f(i,j)が小さいことは、移動軌跡iと移動軌跡jとが移動軌跡からなる高次元空間上に近距離に分布していると解釈することができる。図9(b)は、移動軌跡a~hを表す高次元空間の概念図である。なお、この概念図では、説明を容易にするため、3次元空間としたが、実際には、上記式2に示したベクトルの各要素が各次元と対応する。また、移動軌跡a~hの数を8本としたが、実際には、各画素に対応する移動軌跡を用いてもよいし、ブロック単位で求めた移動軌跡を用いてもよい。ここで、移動軌跡a~hを表す高次元空間の1点が、それぞれ上記式2に示した一つの移動軌跡に対応する。すなわち、高次元空間上の点は、1枚のピクチャ上の領域だけではなく時間的に異なる複数枚のピクチャに渡って画素を追跡した結果である。さらに、高次元空間上で、点と点との距離は、上記式2に示したベクトル間のユークリッド距離ではなく、上記式3もしくは上記式4に示すような距離に対応する。
 そして、領域分割部104は、移動軌跡からなる高次元空間上の分布の連続性によって移動軌跡をクラスタリングしていくことによって、移動軌跡間の距離の不連続性をもとにクラスタリングを行う。その結果、各クラスタは、個別の移動体もしくは移動体の一部に対応することが期待でき、移動体の検出と領域分割を行うことができる。
 まず、分割する各領域を次のように表現する。
Figure JPOXMLDOC01-appb-M000021
 ここで、Mは、領域数であり利用するシーンに応じて経験的に決定する。
 まず、自分自身を除くf(i,j)が小さい順に移動軌跡iと移動軌跡jとを同一領域ラベルθmとする処理を行う。この処理を行う上で、移動軌跡iもしくは移動軌跡jの一方が既に領域θkに属している場合には、まだ領域ラベルが付与されていない画素も領域θkに属するようにする。さらに、既に移動軌跡iと移動軌跡jとがそれぞれ異なる領域に属している場合には、領域ラベルを統合する。
 ステップS206では、領域分割部104は、ステップS205で行った処理に対して、すべての移動軌跡に対してラベル付けをし、かつ領域数が規定のMになっているか否かを判断する。ここで、ステップS206における条件が満たされていない場合には、領域分割部104は、ステップS205のf(i,j)が小さい順に移動軌跡iと移動軌跡jとを同一領域ラベルθmとする処理を繰り返す。なお、各領域に属する移動軌跡の数が閾値N個以下であれば、外れ値(Outlier)として扱うことで領域から除外してもよい。
 ここで、ステップS205とステップS206の処理の具体例を図9(c)及び(d)を用いて説明する。M=2とした場合と、M=3とした場合について説明する。ここで、図9(b)に示される例では、移動軌跡aと移動軌跡bとの距離をf(a,b)とした時に、f(a,b)<f(g,h)<f(d,e)<f(b,c)<f(f,g)<f(c,d)とする。まず、M=2の例について図9(c)を用いて説明する。ここでは、ステップS205において、移動軌跡aと移動軌跡bとの距離f(a,b)が最小であるため、領域分割部104は、移動軌跡aと移動軌跡bに同一の領域ラベルθ1を付与する。次に、移動軌跡gと移動軌跡hとの距離f(g,h)が2番目に小さいため、領域分割部104は、同一の領域ラベルθ2を付与する。さらに、3番目に小さい距離である移動軌跡dと移動軌跡eに対して、領域分割部104は、同一の領域ラベルθ3を付与する。次に距離が小さいのは、移動軌跡bと移動軌跡cとの距離f(b,c)である。ここでは、移動軌跡bがすでにラベル付けされているため、領域分割部104は、移動軌跡cに移動軌跡bと同一の領域ラベルθ1を付与する。次に距離が小さいのは、移動軌跡fと移動軌跡gとの距離f(f,g)である。ここでは、f(b,c)の場合と同様に、領域分割部104は、移動軌跡fに対して移動軌跡gと同一の領域ラベルθ3を付与する。ここでM=3とした場合は、ステップS206にて、すべての移動軌跡にラベルが付与され、M=3となると判断されるため、出力部105にて、各移動軌跡にラベル付けした結果を出力して処理を終了する。
 一方、M=2と設定した場合には、ステップS206にて条件を満たさないことが起こる。そこで、再度ステップS205にて、領域分割部104は、次に小さい距離をなす移動軌跡cと移動軌跡dについて移動軌跡cが属する領域ラベルθ1と移動軌跡dが属する領域ラベルθ3とを統合して、移動軌跡aからeの移動軌跡に対して、領域ラベルθ1を付与する。そして、ステップS206にて、領域分割部104により、すべての移動軌跡にラベルが付与され、M=2となると判断されるため、出力部105にて、各移動軌跡にラベル付けした結果を出力して処理を終了する。
 このように、本実施の形態1の変形例では、移動軌跡に対して上記式3もしくは上記式4のような距離を計算することによって、画素の位置と動きの類似性とを考慮した領域分割が可能になる。そのため、図9(a)~(d)に示される例において、M=2の場合は、下半身の動きが上半身の動きと大きく異なることが反映されて、上半身と下半身とに分離される。さらに、M=3の場合は、M=2の場合に加えて、頭部の動きと腕の動きの違いが反映され、上半身、腕、下半身とを分離することが可能になる。
 このように、類似した移動軌跡に対して、順々に領域ラベルを付与することによって、高次元空間上で連続している移動軌跡を一つのクラスタと判断し、移動軌跡間の距離が大きいところを不連続点として、それぞれのクラスタを分離することが可能となる。その結果、各クラスタに属する移動軌跡が移動体検出及び領域分割に対応する。
 もちろん、本方法は、同様の方法によって、一つの移動体のボディパーツの検出、領域分割だけでなく、複数人が存在するシーンにおいて、それぞれの移動体を検出、領域分割することも可能である。
 以上のようにして、画素間の距離あるいは移動軌跡の類似性に基づいてクラスタリングを行うことによって、類似する移動軌跡がまとめられて領域分割が行われるので、距離が近く、かつ同様の動きをする部位が一つの領域として認識され、動画像中を移動する物体の領域を時間的に追跡した結果として、関節物体の姿勢によらずに、動画像中の移動体もしくは、移動体の部位の検出、移動体を含む画像の領域分割を行うことができる。また、前処理として人物候補領域を設定する必要がなく、移動軌跡の類似性に基づいてクラスタリングを行うため、画像中でさまざまな大きさの移動体が存在する場合や、移動体の一部が隠れている場合に特に問題となる人物候補領域の検出ミス、それに起因する領域分割の失敗がない。
 以上のように、膨大なパラメータのフィッティングを必要とせずに、非線形空間でクラスタリングを行うことによって、形状が変化しながら移動する人物等を含む画像に対しても正しく領域分割し、これによって動画像中の移動体の検出を行うことが可能となる。
 (実施の形態2)
 次に、上記実施の形態1で行った非線形空間上での領域分割を、実施の形態1とは異なる方法で実現する方法について、実施の形態2として説明する。
 図10は、実施の形態2における移動体検出装置100aの構成を示す機能ブロック図である。本移動体検出装置100aは、図10に示すように、画像入力部101、動き解析部102、距離算出部103、領域分割部104a(領域分割候補生成部501と領域分割候補選択部502)及び出力部105を備える。画像入力部101、動き解析部102、距離算出部103は実施の形態1と同様であるため説明を省略する。
 領域分割部104aは、距離算出部103で算出された距離に基づいて、類似する移動軌跡をもつブロックから構成される領域を特定することによって領域分割をする点で、実施の形態1の領域分割部104と同じであるが、その具体的な処理が異なる。そのために、この領域分割部104aは、領域分割候補生成部501と領域分割候補選択部502とを備える。
 領域分割候補生成部501は、領域分割に用いられる判断基準を複数個生成し、生成した複数個の判断基準のそれぞれについて、当該判断基準を用いて、動き解析部102で算出された複数の移動軌跡をクラスタリングすることによって領域分割をし、その領域分割の結果を領域分割候補として生成する処理部である。具体的には、この領域分割候補生成部501は、距離算出部103で算出した距離マトリクスに対してデータの連続性に関する閾値を用いて測地距離変換を適用し、つまり、距離算出部103で算出された複数の距離のうち当該閾値よりも小さい距離を連結することで複数の距離のそれぞれを測地距離に変換し、それぞれの閾値における測地距離変換後の移動軌跡間の距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡どうしが一つのクラスタとなるように、連続に分布する移動軌跡をクラスタリングすることによって、前記閾値に対する領域分割の候補を生成する。ここでは、前記閾値の設定によって、領域分割数が変化する。
 領域分割候補選択部502は、クラス数についての指示(あるいは、予め設定されたクラス数)を取得し、取得したクラス数に近い個数の領域に分割された領域分割候補を、領域分割候補生成部501で生成された複数の領域分割候補から選択し、選択した領域分割候補を、距離算出部103で算出された距離に基づく領域分割の結果として出力する処理部である。具体的には、この領域分割候補選択部502は、領域分割候補生成部501で生成した、それぞれの前記閾値に対する領域分割の候補から、あらかじめ定めたクラス数に最も近い領域分割結果を選択する。すなわち、クラス数に応じた閾値による領域分割結果を選択することになる。
 出力部105は、実施の形態1と同様である。この出力部105からの出力により、最終的な移動体の検出と領域分割結果を得ることができる。
 以下に、本発明の移動体検出方法、つまり、移動体検出装置100aの動作について、図11のフローチャートを用いて移動する移動体を検出、領域分割する例について詳細に説明する。ステップS101からS104までは、実施の形態1と同様であるため説明を省略する。
 領域分割候補生成部501は、ステップS601(測地距離変換)とステップS602(クラスタリング)とを実行する。ステップS601では、領域分割候補生成部501は、上記式3もしくは上記式4で算出した線形距離f(i,j)に対してK個の閾値Rkを用いて、それぞれの閾値Rkに対して以下のように非線形化処理を行いf'(i,j)を算出する。
Figure JPOXMLDOC01-appb-M000022
 つまり、領域分割候補生成部501は、移動軌跡iに着目した時に移動軌跡iとの線形距離が小さい順にRk個の移動軌跡jを選択し、選択された移動軌跡jとの距離は変更せず、選択されなかった移動軌跡jとの距離を無限大に変更する。なお、ここでは、線形距離が小さい順に選択したが、次式のように閾値Rkを設定してもよい。
Figure JPOXMLDOC01-appb-M000023
 つまり、領域分割候補生成部501は、上記式22に示すように、動き解析部102で算出された複数の移動軌跡のそれぞれについて、距離が小さい順に予め定められた個数の移動軌跡を選択し、選択されなかった移動軌跡との距離を無限大に変更する非線形化をした後に、複数の距離のそれぞれを測地距離に変換してもよいし、上記式23に示すように、動き解析部102で算出された複数の移動軌跡のそれぞれについて、距離が予め定められた閾値以下の移動軌跡を選択し、選択されなかった移動軌跡との距離を無限大に変更する非線形化をした後に、複数の距離のそれぞれを測地距離に変換してもよい。
 なお、距離の非線形化に関しては、上記の関数に限定されるものではなく、移動軌跡iと移動軌跡jに関する距離に対して非線形変換を行うものであれば何でもよい。
 さらには、線形距離f(i,j)に対して、前述した式16及び式17を用いて計算した重みを掛け算して重み付けを行った後に上記式22もしくは上記式23の処理を行ってもよい。
 上記式17や上記式18の重みを用いてf(i,j)を変換することによって、移動軌跡i及びjと類似した移動軌跡が空間的に密集している場合(距離が近い移動軌跡の場合)には、f(i,j)を相対的に小さく、また、空間的に疎な場合(距離が遠い移動軌跡の場合)には、密集している場合と比較してf(i,j)が相対的に大きくなる。つまり、距離算出部103で算出された複数の距離のそれぞれを測地距離に変換するときに、動き解析部102で算出された複数の移動軌跡の分布における密集度が大きいほど小さい測地距離となるような重み付けをしたうえで、測地距離への変換をする。これによって、画素の移動軌跡の分布の密集度を考慮した距離変換が可能になる。
 次に、非線形化された距離f'k(i,j)を用いて、領域分割候補生成部501は、次式のように測地距離を算出する。
Figure JPOXMLDOC01-appb-M000024
 なお、min(x,y)は、値xと値yのうち小さい方を返す関数である。また、sは、移動軌跡sであり、移動軌跡iから移動軌跡jに辿(たど)りつくための中継点である。ここで、f'k(i,s)+f'k(s,j)における中継点sは1点に限るものではない。なお、kは複数の閾値Rkに対応する。この方法は、前述したようにダイクストラ法と呼ばれる最短経路探索手法である。
 次に、ステップS602では、領域分割候補生成部501にて、それぞれの閾値Rkに対応する測地距離変換を行ったgk(i,j)を用いて、不連続点を検出することによってクラスタリングを行う。ここでは、gk(i,j)が無限大となる移動軌跡iと移動軌跡jの間が不連続点である。複数の閾値Rkに対して得た測地距離変換の結果の例を図12(a)~(f)を用いて説明する。ここで、図12(a)は移動軌跡a~hを示す図であり、図12(b)は、図12(a)に示した移動軌跡a~hを表す高次元空間の概念図である。また、移動軌跡a~hの数を8本としたが、実際には、各画素に対応する移動軌跡を用いてもよいし、ブロック単位で求めた移動軌跡を用いてもよい。ここで、移動軌跡a~hを表す高次元空間の1点が、それぞれ上記式2に示した一つの移動軌跡に対応する。すなわち、高次元空間上の点は、1枚のピクチャ上の領域だけではなく時間的に異なる複数枚のピクチャに渡って画素を追跡した結果である。さらに、高次元空間上で、点と点との距離は、ベクトル間のユークリッド距離ではなく、上記式21に示すような測地距離に対応する。
 閾値Rkが十分に大きな値である場合、例えば、上記式16においてf(i,j)の最大値よりも閾値Rkが大きい場合には、図12(c)に示すように測地距離gk(i,j)は、すべてのi,jの組合せにおいて無限大にならない。すなわち、不連続点が1点もないためクラスタは1個と判断できる。一方、閾値Rkが十分に小さい場合、具体的には、上記式16においてf(i,j)の最小値よりも閾値Rkが小さい場合には、すべてのi,jの組合せにおいてgk(i,j)が無限大となる。すなわち、クラスタ数は移動軌跡の数と同数となる。ここでは、閾値Rkをf(i,j)の最大値と最小値の間の値に設定して、それぞれクラスタリングを行うことが効率的である。図12(d)に示される例について説明する。ここで、図12(b)において、上記式3もしくは上記式4に示した移動軌跡aと移動軌跡bとの距離をf(a,b)とした時に、f(e,f)>f(c,d)>f(f,g)>f(b,c)とする。また、閾値をR1として設定した場合に、距離f(e,f)は、閾値R1よりも大きな値を持つとする。この場合、上記式18によって測地距離を求めてもg1(e,f)は無限大となる。そこで、領域分割候補生成部501は、移動軌跡eと移動軌跡fとの間を不連続点と判定する。この結果、移動軌跡aからdと移動軌跡eとの測地距離は不連続点を通らないため無限大の値を取らず、逆に移動軌跡fからhの各移動軌跡と移動軌跡aからeの各移動軌跡との測地距離は、不連続点g1(e,f)を通るためそれぞれ無限大となる。このように、領域分割候補生成部501は、測地距離が無限大とならない移動軌跡iと移動軌跡jの組は同じクラスタとし、無限大となる場合は別のクラスタとする。これによって、図12(d)のようにθ1、θ2の2つのクラスタに分離することができる。さらに、いま、図12(e)に示すように、閾値をR2(ただし、R1>R2)とした場合に、無限大となる測地距離は、g2(c,d)、g2(e,f)、g2(f,g)であったとする。この場合には、領域分割候補生成部501は、それぞれ、移動軌跡cと移動軌跡dとの間、移動軌跡eと移動軌跡fとの間、移動軌跡fと移動軌跡gとの間が不連続点であると判定し、図12(d)に示される例の場合と同様に測地距離が無限大となる組と無限大にならない組とを整理して、θ1、θ2、θ3、θ4の合計4つのクラスタに分離する。以上の処理によって、測地距離が無限大とならない移動軌跡の組は連続とすることで同じクラスタと判定することができ、測地距離が無限大となる移動軌跡の組は不連続とすることによって、不連続点をもとにクラスタを分離することができる。なお、閾値Rkの設定方法については、f(i,j)の最小値から最大値の間を均等にK個設定することによって、すべての移動軌跡が一つのクラスタと判定されたり、各移動軌跡がそれぞれ個別のクラスタと判断される危険性を減らすといった効果がある。つまり、領域分割候補生成部501は、距離算出部103で算出された複数の距離における最大値と最小値との間の複数の値を、複数の領域分割候補を生成するための複数の閾値として生成してもよい。
 さらに、f(i,j)の平均値あるいはメディアンを中心に一定間隔で増加、減少させた値を用いてもよい。f(i,j)の値が比較的均一な場合には、より効率的に不連続点に対応する閾値を決定することができる。つまり、領域分割候補生成部501は、距離算出部103で算出された複数の距離の平均値又は中央値を中心に増加及び減少させて得られる複数の値を、複数の領域分割候補を生成するための複数の閾値として生成してもよい。
 また、最大値から一定間隔で値を減少させていき、最初に不連続点を検出した時の値をもとに、より小さい値をK-1個、閾値として決定してもよい。これにより、すべての移動軌跡が一つのクラスタと判定される危険性がなくなるといった効果がある。
 さらには、ステップS601とステップS602とを閾値Rkを小さくしながら繰り返しても良い。例えば、図12(d)に示される例のように、領域分割候補生成部501は、閾値R1で、ステップS601とステップS602で、移動軌跡のクラスタリングを行い、次に、ステップS601で、図12(e)に示される例のように、閾値R1で抽出したそれぞれのクラスタに対応するf(i,j)(ここで、i,jは同一クラスタに属する移動軌跡)を、閾値R1より小さな閾値R2を用いてそれぞれ測地距離に変換し、ステップS602で,それぞれのクラスタに対応するg(i,j)(ここで、i,jは同一クラスタに属する移動軌跡)から、不連続点を検出することでクラスタリングを行うことができる。このように、閾値Rkを小さくしながら、測地距離への変換と不連続点の検出を、それぞれのクラスタに属する移動軌跡に対して行うことによって、図12(f)に示すような階層的なクラスタリングが可能になる。もちろん、逆に、閾値を小さな値から順に大きくしてクラスタリングを行うことによって、同様に階層的なクラスタリングが可能になる。ただし、閾値を大きな値から小さくしていくことによって、より大きな閾値で抽出したクラスタに対してのみ、より小さい閾値での測地距離への変換と不連続点の検出処理を行えば良いため、より少ない計算量で処理を行うことができるという効果がある。具体的には、図12(f)に示すように、閾値R2によるクラスタリングは、閾値R1で抽出されたクラスタそれぞれについて行えばよいため、計算に用いるf(i,j)(ここで、i,jは同一クラスタに属する移動軌跡)のトータルでのサイズをより小さくすることができる。そのため、計算量もより少なくてすむ。
 そして、上記のように階層的なクラスタリングを行えば、図13(a)~(c)に示すように、シーンの構造をツリー構造として表すことも可能である。例えば、図13(a)の入力に対して、閾値R1でクラスタリングを行うと、図13(c)に示すように、クラスタθ1とθ2が抽出される。さらに、閾値をより小さなR2としてクラスタリングを行うと、より小さな被写体であるクラスタθ3を抽出することができる。このように、よりカメラから離れた被写体や動きの小さな被写体がより小さな閾値によって抽出されることになるため、このようなシーンの構造を階層構造として獲得することができるという効果がある。例えば、衝突の危険性等を閾値の大きさで表現することも可能である。なお、ここでθ0は、背景に対応する。ここで、カメラが固定の場合は、動きのある移動軌跡のみを用いることで、移動物体のみを抽出することも可能であるし、カメラが動く場合には、最も移動軌跡数の大きいクラスタを背景としても良い。
 さらに、上記の例よりも閾値を小さくしてクラスタリングを行った例を図13(b)を用いて説明する。ここでは、簡単のためクラスタθ2について説明するが、すべてのクラスタについてより小さな閾値でクラスタリングを行っても良いし、利用者が指示したクラスタ(被写体)に対して、クラスタリングを行っても良い。まず、クラスタθ2に対して、より小さな閾値R3でクラスタリングを行うと、図13(c)右側に示すように、右脚、左脚と上半身とに分類することができる。一般的に、歩行は、脚の動きが大きいために、他の部位と比較して大きな閾値で抽出される。さらに、より小さな閾値R4でクラスタリングを行うと、右脚、左脚がそれぞれ上腿(θ5、θ7))、下腿(θ6、θ8))に分類され、上半身から腕(θ3)が抽出される。さらに、より小さな閾値R5でクラスタリングを行うと、上半身を頭部(θ1)、胸部(θ2)、腹部(θ4)にクラスタリングすることができる。以上のように、動きの不連続さを反映した階層構造によるクラスタリングが可能になる。これによって、ユーザが見たい粒度で被写体の各部位の動きを見ることができるという効果がある。
 すなわち、閾値を小さくしながら処理する場合は、一旦抽出されたクラスタに対して、より小さな閾値でそれぞれのクラスタをより詳細にクラスタリングすることで、すべての移動軌跡の分布を反映した階層的なクラスタリングが実現できる。
 また、領域分割候補生成部501は、距離算出部103で算出された複数の距離について、大きい値から小さい値の順に並べた場合における最初の不連続点を検出し、検出した不連続点よりも小さい複数の値を、複数の領域分割候補を生成するための複数の閾値として生成してもよい。
 さらには、次のように閾値Rkを設定してもよい。まず、移動軌跡iとN番目に小さい距離となる移動軌跡jを算出し、その値を閾値Rkとして設定し、Rkが大きい順に処理を行ってもよい。この場合、Nは、例えば処理に用いる移動軌跡の数を設定したいクラスタ数で割った値とすることで、希望のクラスタ数に近いクラスタ数となる閾値Rkを設定しやすくなる効果がある。つまり、領域分割候補生成部501は、動き解析部102で算出された複数の移動軌跡のそれぞれについて、当該移動軌跡との距離がN番目に小さい距離を特定し、特定した複数の距離について大きい順から選択した複数の値を、複数の領域分割候補を生成するための複数の閾値として生成してもよい。
 次に、ステップS603にて、領域分割候補選択部502は、ステップS602で行った複数のクラスタリング結果から、あらかじめ設定したクラス数に最も近いクラスタ数となったクラスタリング結果を選択する。図12(a)~(f)に示される例で説明すると、クラス数M=4と設定した場合には、閾値R2の時のクラスタリング結果(図12(e))が選択される。また、クラス数M=2と設定した場合には、閾値R1の時のクラスタリング結果(図12(c))が選択され、出力部105にて、各移動軌跡にラベル付けした結果を出力する。
 なお、本実施の形態では、移動軌跡に対して上記式3もしくは上記式4のような距離を計算することによって、画素の位置と動きの類似性とを考慮した領域分割が可能になる。そのため、図12(a)~(f)の例では、クラス数M=2と設定した場合には、下半身の動きが上半身の動きと大きく異なることが反映されて、上半身と下半身とが別々のクラスタとして領域分割でき、クラス数M=4と設定した場合には、M=2の場合に加えて、頭部の動きと腕の動きの違い、上腿と下腿との動きの違いが反映され、頭部、腕、上腿(じょうたい)、下腿(かたい)を別々のクラスタとして領域分割することができる。
 なお、ここでは、閾値の数は2個に限るものではなく、何種類用意してもかまわない。また、設定したクラス数と同数のクラスタリング結果がない場合には、最も近いクラスタ数となったものを選択してもよいし、設定したクラス数よりも小さいクラス数の中から一番近いクラスタ数となったクラスタリング結果を選択してもよいし、同様に、設定したクラス数よりも大きいクラス数の中から一番近いクラスタ数となったクラスタリング結果を選択してもよい。
 また、複数の閾値Rkを用いることによって、図12(f)に示すように、閾値R1の時のクラスタリング結果と閾値R2の時のクラスタリング結果を階層構造として得ることができるという効果がある。例えば、M=2、閾値R1の場合のクラスタリングでは、上半身と下半身に分離され、M=4、閾値R2の場合のクラスタリングでは、頭、腕等の各ボディパーツに分離される。そこで、M=2、閾値R1で上半身に分離されたクラスタθ1と、M=4、閾値R2で頭部に分離されたクラスタθ1と腕に分離されたクラスタθ4とは、図12(f)に示すように階層関係として得ることができる。このように、画像中の被写体の構造を階層構造として抽出することも可能である。
 さらに、本方法は、同様の方法によって、一つの移動体のボディパーツの検出、領域分割だけでなく、複数人が存在するシーンにおいて、それぞれの移動体を検出、領域分割することも可能である。
 このように、複数の閾値に対して、測地距離を用いて算出した不連続点をもとにクラスタリングを行い、規定したクラス数に最も近いクラスタリング結果を選択することによって、結果として検出及び領域分割を行うことができる。
 以上のようにして、画素間の距離あるいは移動軌跡の類似性に基づいてクラスタリングを行うことによって、類似する移動軌跡がまとめられて領域分割が行われるので、距離が近く、かつ類似する動きをする部位が一つの領域として認識され、動画像中を移動する物体の領域を時間的に追跡した結果として、関節物体の姿勢によらずに、動画像中の移動体もしくは、移動体の部位の検出、移動体を含む画像の領域分割をすることができる。また、前処理として人物候補領域を設定する必要がなく、移動軌跡の類似性に基づいて複数の閾値を用いてクラスタリングを行うため、画像中でさまざまな大きさの移動体が存在する場合や、移動体の一部が隠れている場合に特に問題となる人物候補領域の検出ミス、それに起因する領域分割の失敗がない。
 さらには、本実施例における不連続点に基づいたクラスタリングは、クラスタサイズの大きさに影響を受けないクラスタリングが可能であるため、大きな被写体と小さな被写体が混在する場合や、大きな動きの被写体と小さな動きの被写体が混在する場合においても、確実に抽出することが可能である。また、閾値を減少させながらクラスタリングを行うことで、粗いクラスタリングから詳細なクラスタリングまでを階層的に行うことができるため、シーンの構造や被写体のボディの構造を階層的に抽出することが可能になる。これにより、画像中の被写体の存在位置を抽出するような粗い画像の解析から、特定の画像領域や被写体領域の詳細な解析までを同一の方式で行えるという効果がある。また、抽出した階層構造は、すべての移動軌跡のデータ構造を示すことになるため、入力画像におけるシーンの構造を表すことも可能である。
 以上のように、膨大なパラメータのフィッティングを必要とせずに、非線形空間でクラスタリングを行うことによって、形状が変化しながら移動する人物等を含む動画像に対しても正しく領域分割し、これによって動画像中の移動体の検出を行うことが可能となる。
 (実施の形態1及び2の第1変形例)
 次に、本発明の実施の形態1及び2の第1変形例における移動体検出装置について説明する。ここでは、実施の形態1及び2において移動体を検出及び部位を領域分割した結果を画像として表示する機能を付加した例について説明する。ここでは、実施の形態1における変形例について述べるが、実施の形態1の変形例、実施の形態2においても同様に適用可能である。このような第1変形例に係る移動体検出装置100bは、図14の機能ブロック図に示すように、画像入力部101、動き解析部102、距離算出部103、領域分割部104及び出力部105aを備える。ここで、出力部105aは、実施の形態1における出力部105の機能に加えて、画像表示部1001を有し、その画像表示部1001によって、分割した領域を画像としてモニタ等に表示することが可能である。
 画像表示部1001は、領域分割部104で得られた領域分割の結果を、画像入力部101で受け付けた動画像(ピクチャ)に重ねて表示する処理部であり、例えば、LCD等のディスプレイ及びその表示制御部からなる。図15(a)及び(b)は、画像表示部1001による表示例を示す図である。ここでは、図15(a)にM=3として移動体をそれぞれ領域分割した例を、図15(b)にM=8として、1つの移動体の領域分割を行った例を示す。このように、領域θmに対応する画像上での領域を色分け等して、分割された領域をそれぞれ区別できるようにしてモニタ等に表示する。図15(a)のように移動体ごとに色分けして表示してもよいし、図15(b)のように、部位ごとに別個に表示してもよい。つまり、図15(a)及び(b)から分かるように、本発明に係る移動体検出装置は、上述した領域分割によって、複数の移動体を検出することもできるし(図15(a))、一つの移動体を構成する複数の部分を検出する、つまり、一つの移動体に対して領域を分割することもできる(図15(b))。
 ここで、上記式2に示した移動軌跡iは、アウトライアを除いて領域θmのいずれかに対応する。そのため、領域θmに属する移動軌跡iに基づいてピクチャ上の画素を選択し、領域ラベルmに基づいて色分け等を行えば容易に分割した領域を画像上に表示することができる。これによって、実施の形態1及び2で説明した、形状が変化しながら移動する人物等を含む動画像に対しても正しく領域分割できるという効果に加えて、分割した領域を動画像上に表示することで、ユーザがそれぞれの移動体もしくは移動体の部位、さらにはその動きを区別しやすくなるという効果がある。
 (実施の形態1及び2の第2変形例)
 次に、本発明の実施の形態1及び2の第2変形例における移動体検出装置について説明する。ここでは、実施の形態1及び2において移動体を検出及び部位を領域分割した結果をそれぞれ分割した領域ごとに記録・送信する機能を付加した例について説明する。ここでは、実施の形態1における変形例について述べるが、実施の形態1の変形例、実施の形態2においても同様に適用可能である。このような第2変形例に係る移動体検出装置100cは、図16の機能ブロック図に示すように、画像入力部101、動き解析部102、距離算出部103、領域分割部104及び出力部105bを備える。ここで、出力部105bは、実施の形態1における出力部105の機能に加えて、記録・送信部1201を有する。
 記録・送信部1201は、領域分割部104での領域分割の結果に基づいて、画像入力部101で受け付けたピクチャにおける領域を特定し、特定した領域ごとに、対応する領域分割の結果を、メモリやハードディスク等の記録媒に記録する、又は、通信インターフェース等を介して外部に送信する処理部である。つまり、この記録・送信部1201は、画像表示の場合と同様に、領域分割した結果画像を領域ラベルθmに応じてそれぞれ別々に記録・送信する。また、各領域に属する動き情報を以下のように平均化することで、動き情報を圧縮することも可能である。通常であれば画素ごとに動き情報を保持する必要があるが、以下の処理を行えば1つの領域に対して1つの動きを保持するだけでよい。例えば、動き情報として画素iの動きベクトル(ui t,vi t)を用いた場合には、以下のように分割された領域ごとに平均化した動き情報を計算することができる。
Figure JPOXMLDOC01-appb-M000025
Figure JPOXMLDOC01-appb-M000026
 ここで、Cmは、領域θmに属する画素数もしくは移動軌跡の数である。uCm t,vCm tは、それぞれ、領域θmに属する画素の動きベクトルである。図17に図15(a)に示される処理結果について時刻Tからt枚の画像を入力として領域分割を行い、その結果を用いてセグメント領域を記録、送信する例を示す。識別子として各領域ラベルθmと、各領域ラベルθ1からθ3に属する時刻Tにおけるピクチャの画素位置と画素値、そして、各領域ラベルに対応する時刻Tから時刻T+tまでの動きベクトルum T,vm T,um T+1,vm T+1,…,um T+t,vm T+tを記録、送信する。もちろん、画像の画素位置と画素値を用いる代わりに、時刻Tにおける1枚のピクチャに対して、画素ごとに各領域ラベルを付けて送信してもかまわない。これにより、動き情報を領域数分送信するだけで済むために、ピクチャをt枚送信する場合と比べて、効率よく記録、送信することができるといった効果がある。特には、領域数が画素数に比べて少なければ少ないほど効率がよい。さらには、図13(c)に示したように、階層的なクラスタリング結果に応じて、記録、送信しても良い。たとえば、データの記憶容量や転送容量が小さい場合は、より大きな閾値でのクラスタリング結果に対応する動きベクトルを記録、送信しても良いし、階層順に粗いクラスタリング結果に基づいた動きベクトルから、詳細なクラスタリング結果に基づいた動きベクトルを順次、記録、送信しても良い。このように、記録時間や送信容量に適応的な記録、送信が可能になるという効果がある。
 なお、アフィン動きを用いて動き情報を圧縮する場合は上記、式25及び上記式26の代わりに、アフィン動きに基づいて移動した画素位置の平均値を計算するとよい。以上のようにして、画素の動き情報を圧縮しながら領域の記録、送信が可能である。これによって、実施の形態1及び2で説明した、形状が変化しながら移動する人物等を含む動画像に対しても正しく領域分割できるという効果に加えて、それぞれの領域に対して1つの動き情報を用いることで高い符号化効率を実現できるという効果がある。
 さらには、別途、セグメント領域復元部を設けることによって、送信、記録した情報を復元することも可能である。具体的には、図15(a)及び(b)に示した各領域ラベルに対応する画素位置と画素値から、時刻Tのピクチャを復元する。さらに、画素の移動軌跡情報を用いて、時刻Tの各画素を移動させることによって、時刻T+1からT+tのピクチャを復元することが可能である。ここで、固定カメラを用いる場合には、画素の移動軌跡情報が0でない情報のみを用い、さらにセグメント領域復元部にて背景画像をあらかじめ取得、保持しておくことで、復元した画像を背景画像に上書きしても良い。これにより、効率よく送信、記録された情報を用いて、低計算量でピクチャとして復元できるといった効果がある。
 (実施の形態1及び2の第3変形例)
 次に、本発明の実施の形態1及び2の第3変形例における移動体検出装置について説明する。ここでは、2つ以上の距離尺度を用いることで、検出と領域分割をより高精度に実現する例について説明する。ここでは、実施の形態1における変形例について述べるが、実施の形態1の変形例、実施の形態2においても同様に適用可能である。このような第3変形例に係る移動体検出装置は、実施の形態1と同じ構成であるため、その構成の説明は省略する。
 実施の形態1及び2と異なる点は、距離算出部103での処理である。
 距離算出部103では、より高精度に処理するために、追加のパラメータを用いている点が実施の形態1と異なる。以下、実施の形態1と異なる点を中心に説明する。
 距離算出部103は、移動軌跡間の画像上での距離及びその変動に関する距離尺度と、画素間が画像上で成す角度(つまり、画素どうしを接続する直線の傾斜角度(その直線とピクチャの横軸とが成す角度))及びその変動に関する距離尺度とを用い、それぞれの距離尺度について距離マトリクスを算出する。そして、両マトリクスを統合することによって、より高精度な処理を実現する。
 ここでは、図3に示した処理のフローチャートに沿って説明する。まず、ステップS101からS103までは実施の形態1と同じであるため、説明を省略する。
 次に、ステップS104にて、距離算出部103は、上記式2で算出した移動軌跡iを用いて画素動きの類似性を含む距離マトリクスを算出する。ここでは、上記式3もしくは上記式4に示した距離f(i,j)に加えて、2つ目の距離尺度として、画素iと画素jが成す角度に基づいた、以下の式27で示される距離f2(i,j)を用いる例について説明する。
Figure JPOXMLDOC01-appb-M000027
 ここで、waは重み係数であり、設計者が設定するパラメータである。また、a_meanij、a_varijについては以下に示す。
Figure JPOXMLDOC01-appb-M000029
 ここで、
Figure JPOXMLDOC01-appb-M000030
 上記のように、画素iと画素jが成す角度及びその変動成分を用いて画素の動きの類似性を表現することができる。これによって、剛体のみならず、関節物体等の特に回転運動を伴う形状変化を捉えることができる。
 なお、f2(i,j)は、画素動きの類似性を評価できる距離値であれば何を用いてもよく、例えば 上記式28~式30の代わりに下記の式31から式33を用いてもよいし、下記の式33の代わりに上記式2のアフィンパラメータAi tを用いた下記の式34を用いてもよい。下記式31から式33は、画素iと画素jの動きベクトルの角度差及びその変動成分を用いて画素の動きの類似性を表現することができる。これによって、回転を含む動きの変化を捉えることができる。下記式34は、画素iと画素jの近傍ブロックのアフィンパラメータの差及びその変動成分を用いて画素の動きの類似性を表現することができる。これによって、回転、並進移動、スケール変化を含む動きの変化を捉えることができる。
Figure JPOXMLDOC01-appb-M000031
Figure JPOXMLDOC01-appb-M000032
 ただし、
Figure JPOXMLDOC01-appb-M000033
Figure JPOXMLDOC01-appb-M000034
 次に、次式35のように、上記式3で求めた距離マトリクスに上記式27で算出した距離マトリクスを追加する。ここでは、画素間の距離と画素間が成す角度の2つについて説明するが、他の画素動きの類似性を表現した距離を用いて3つ以上の距離を求めてもかまわない。
Figure JPOXMLDOC01-appb-M000035
 ここで、wは、設計者が設定する重み係数である。
 上記式35で算出した距離マトリクスを用いて、ステップS105以降、同様の処理を行えばよいため以降の説明を省略する。
 以上のようにして、本実施の形態の移動体検出装置によれば、画素間の画像上での距離及びその変動に関する距離尺度と、画素間が画像上で成す角度及びその変動に関する距離尺度とを用い、それぞれの距離尺度について距離マトリクスを算出し、それぞれの距離マトリクスを統合した後、連続性に基づいてクラスタリングを行うことで、より高精度に動画像中を移動する物体の領域を時間的に追跡した結果として検出、領域分割することができる。さらに、画素間がピクチャ上で成す角度とその変動を距離尺度として用いることによって、特に関節運動に起因する回転運動をより正確に捉えることができる。また、前処理として人物候補領域を設定する必要がなく、移動軌跡の類似性に基づいてクラスタリングを行うため、画像中でさまざまな大きさの移動体が存在する場合や、移動体の一部が隠れている場合に特に問題となる人物候補領域の検出ミス、それに起因する領域分割の失敗がない。
 以上のようにして、より高精度に、形状が変化しながら移動する人物等の移動体を検出及び部位を領域分割することができる。
 (実施の形態3)
 本実施の形態では、実施の形態0、1及び2で説明した移動体検出方法を用いて、移動体を検出及び領域分割を行った結果から、移動体の動きを予測する機能を付加した移動体検出装置について説明する。ここでは、実施の形態1に沿って説明するが、実施の形態1、2、それらの変形例においても同様に実現可能である。
 図18は、実施の形態3における移動体検出装置100dの構成を示す機能ブロック図である。図18に示すように、本実施の形態における移動体検出装置100dは、画像入力部101、動き解析部102、距離算出部103、領域分割部104、出力部105に動き予測部1401を付加することによって、移動体の動きを予測する機能を有する。
 動き予測部1401は、領域分割した結果から、各領域に含まれる画素の移動軌跡から代表軌跡を算出し、前記代表軌跡をもとに移動体の動きを予測する。図19に実施の形態3による処理のフローチャートを示す。ステップS101からS106までは、実施の形態1と同様であるため説明を省略する。
 次に、ステップS1501では、動き予測部1401は、ステップS105及びS106で行った領域分割結果を用いて、以下のようにクラスタの代表点及びその代表軌跡を求める。
 ここで、領域θmに属する画素の移動軌跡をxCmと表現することとする。次の式36のように、クラスタ領域θmごとに代表の移動軌跡を求める。ここでは、代表の移動軌跡として、平均移動軌跡を算出する例について説明するが、下記の計算に対して画素の移動軌跡xCmごとに重み付け等を行ってもよいし、画像上でのクラスタの重心に対応する画素の移動軌跡を代表の移動軌跡としてもよい。
Figure JPOXMLDOC01-appb-M000036
 ここで、Cmは、領域θmに属する画素数もしくは画素の移動軌跡の数である。
 図20に上記式36に基づいてクラスタ領域θmごとに代表の移動軌跡を求める例を示す。ただし、見やすさを考慮して、頭部に対応するクラスタ領域θ1と脚部に対応するクラスタ領域θ8に関する代表の移動軌跡のみを示している。図中の×は、それぞれ時刻tに対応するxm-の要素であり画素位置を示している。さらに、上記式3や上記式4に示したように、非線形空間上でのクラスタリングによる領域分割は、画素動きの類似性を考慮して行われるため、単純に近接した画素の移動軌跡の時間平均を求めるような方法と比較して、動きが類似した画素の移動軌跡のみを用いて算出できるため、より高精度に代表の移動軌跡を求めることができる。このように、クラスタ領域ごとに代表の移動軌跡を求めることによって、部位ごとの動きを正確かつ簡便に表現することができる。
 次に、ステップS1502では、動き予測部1401は、ステップS1501にて算出した代表の移動軌跡から、時刻Tより先の時刻における移動体の位置を予測する。初めに、代表の移動軌跡から加速度を算出し、T+1以降の移動体の位置を予測する例について説明する。3枚以上の時系列画像が入力された場合は、次の式37のように代表の移動軌跡xm-ごとに加速度ベクトルsmを得ることができる。
Figure JPOXMLDOC01-appb-M000037
 ここで、um tは動きベクトルであり、次の式38のように表すことができる。
Figure JPOXMLDOC01-appb-M000038
 上記式37の加速度ベクトルを用いて、図20にて破線の矢印及び○で示したように、移動体の部位ごとに、時刻T+t'における移動体の部位位置posm(T+t')を以下の式39のように予測することができる。ここでは、移動体の部位を例として挙げたが、図15(a)及び(b)に示した検出例から、移動体ごとの位置を予測することも可能である。
Figure JPOXMLDOC01-appb-M000039
 そして、出力部105にて、ステップS1502で予測した移動体の位置や移動体部位の位置を出力する。これにより、加速度を加味した予測が可能である。動きが急激に早くなったり、急激に止まったりといった場合に、その加速度を反映して移動体の位置を予測することができるといった効果がある。また、動きベクトルの代わりにアフィンパラメータを用いてもかまわない。アフィンパラメータは、回転運動を含む動きの表現が可能であり、腕あるいは足の回旋運動の表現に適しているため、特に関節物体の位置をより正確に予測することができる。
 さらに、前述した動きベクトルと加速度の代わりに、代表の移動軌跡xmに対して直接N次関数をフィッティングすることも可能である。T枚の時系列に並んだ画像を入力とした場合、xm-に含まれるT個の画像上での位置情報に対してN次の関数でフィティングすることができる。これにより、フィッティングした関数の値に沿うように、時刻(T+t')における画像上での位置posm(T+t')を推定することが可能である。具体的には、関数でフィッティングすることによって、より滑らかな動きを表現することが可能となるため、より高精度な予測が可能となる。特には、フィッティングした関数に沿った予測が可能であるため、フィッティングした関数が本来の動きが近い場合に動き予測の精度が高い。もちろん、これらの画像上での位置予測は、時間的内挿にも利用可能である。
 以上のように、本実施の形態によれば、動きが類似した画素の移動軌跡を同一のクラスタとして算出できるため、高精度に代表の移動軌跡を求めることができる。特に関節物体等に対して部位ごとの動きを表現することが可能であり、前処理として人物候補領域を設定することなく、高精度に移動体の部位位置を予測することが可能であるという効果がある。
 以上、本発明に係る移動体検出方法及び移動体検出装置について、実施の形態及びその変形例に基づいて説明したが、本発明は、これらの実施の形態及び変形例に限定されるものではない。当業者が思いつく各種変形を、本発明の趣旨を逸脱しない範囲で各実施の形態に施して実現される形態も本発明に含まれる。
 また、これまでに説明した全ての実施の形態及び全ての変形例における特徴的な構成要素を任意に組合せて実現される形態も本発明に含まれる。
 (測地距離変換の補足)
 最後に、測地距離変換を用いた領域分割によって分割される画像上の領域の性質について説明する。ここでは、一例として、実施の形態2で説明した方法を用いた場合に、領域分割可能な移動体の性質について補足する。図21(a)~(c)に実施の形態2の方法を用いた場合に分離可能な図形の一例を示す。実施の形態2の方法を用いることで、それぞれ図形θ1とθ2とに領域分割することが可能である。ここでは、図21(a)~(c)に示したそれぞれの図形θ1とθ2の移動方向は、同一であっても、異なっていてもかまわない。ただし、図形θ1に属する画素はすべて同じ動きであり、かつ図形θ2に属する画素はすべて同じ動きであることが条件である。
 実施の形態2におけるステップS601では、図5に示したような特徴を持つ測地距離変換を行う。これによって、通常のユークリッド距離とは異なり、移動軌跡から移動軌跡を辿(たど)った距離を算出することができるという特徴がある。そのため、図21(a)から(c)に共通するように湾曲した形状に対して、その形状に沿った距離を算出することができる。
 さらに、ステップS602では、測地距離が無限大となる移動軌跡と移動軌跡の間を不連続点としてクラスタリングを行う。このため、移動軌跡と移動軌跡の間に閾値以上の距離がある場合には、その不連続点をもとに、それぞれθ1とθ2とを領域分割することが可能である。
 以上のように、測地距離変換を伴う領域分割を用いれば、湾曲した形状を含む移動体でかつ一定の不連続点がある場合に、不連続点をもとに領域を分割することが可能である。
 一方で、ステップS601の処理を行わない場合には、θ1に属する移動軌跡とθ2に属する移動軌跡との距離がユークリッド距離で算出されるため、図5で説明した場合と同様に、点iと点jの距離は、点iと点kの距離より大きくなる。すなわち、同一クラスに属している点間の距離が別クラスに属している点間の距離よりも大きくなる。さらに、ステップS602の処理にて、測地距離変換を行わないとデータを辿(たど)る処理を行わないために、隣接する移動軌跡と移動軌跡の間が不連続か連続かを判断することができない。そのため、図21(a)~(c)に示すような例では、湾曲した形状を含む移動体でかつ一定の不連続点がある場合に、不連続点をもとに領域を分割することは難しい。
 よって、本発明に係る移動体検出方法及び装置では、このような測地距離を用いたクラスタリングにより、直線的な距離であるユークリッド距離を用いたクラスタリングに比べ、移動軌跡間の類似性に関する連続性を考慮したクラスタリングが行われ、入り組んだ複雑な関係の領域どうしであっても、同一の物体(又は部位)に属するか別個の物体(又は部位)に属するかが確実に弁別される。
 本発明は、動画像中の移動体の全部又は一部を検出する装置、つまり、複数枚の画像における1個以上の画素からなるブロックの動きに基づいて、形状が変化しながら移動する人物等の移動体を含む画像を領域分割することによって画像中の移動体を検出する移動体検出装置として、例えば、運動解析装置、監視装置、ビデオカメラあるいはTV等のAV機器に内蔵させる移動体検出装置等として利用することが可能である。
 100、100a~100d 移動体検出装置
 101 画像入力部
 102 動き解析部
 103 距離算出部
 104、104a 領域分割部
 105、105a、105b 出力部
 501 領域分割候補生成部
 502 領域分割候補選択部
 1001 画像表示部
 1201 記録・送信部
 1401 動き予測部

Claims (21)

  1.  動画像中の移動体の全部又は一部の領域を特定する領域分割をすることによって動画像中の移動体を検出する方法であって、
     動画像を構成する複数枚のピクチャを受け付ける画像入力ステップと、
     前記ピクチャを構成する1個以上の画素からなるブロックごとに、時間的に隣接する2枚のピクチャ間での画像の動きを検出し、検出した動きを前記複数枚のピクチャについて連結することで、移動軌跡を算出する動き解析ステップと、
     前記動き解析ステップで算出された複数の移動軌跡について、移動軌跡間の類似性を表す距離を算出する距離算出ステップと、
     前記距離算出ステップで算出された距離のうち、予め定められた閾値よりも小さい距離を連結することで、前記距離算出ステップで算出された距離を測地距離に変換し、得られた測地距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡を一つのクラスタとすることによって前記領域分割をする領域分割ステップと、
     前記領域分割ステップで領域分割された結果を出力する出力ステップと
     を含む移動体検出方法。
  2.  前記領域分割ステップでは、前記距離から前記測地距離への変換において、第1の移動軌跡と第2の移動軌跡との間の距離を測地距離に変換する場合には、前記距離算出ステップで算出された距離のうち、前記予め定められた閾値よりも小さい距離だけ離れた移動軌跡をたどりながら前記第1の移動軌跡から前記第2の移動軌跡に至る経路の距離を、測地距離として算出する
     請求項1記載の移動体検出方法。
  3.  前記領域分割ステップでは、前記距離算出ステップで算出された距離を測地距離に変換するときに、前記複数の移動軌跡の分布における密集度が大きいほど小さい測地距離となるような重み付けをしたうえで、前記変換をする
     請求項1記載の移動体検出方法。
  4.  前記領域分割ステップは、前記領域分割に用いられる閾値を複数生成し、生成した複数の閾値のそれぞれについて、前記距離算出ステップで算出された距離のうち、当該閾値よりも小さい距離を連結することで、前記距離算出ステップで算出された距離を前記測地距離に変換し、得られた複数の測地距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡を一つのクラスタとすることによって前記領域分割をし、その領域分割の結果を領域分割候補として生成する領域分割候補生成ステップと、
     クラス数についての指示を取得し、所得したクラス数と同じもしくは最も近い個数の領域に分割された領域分割候補を前記領域分割候補生成ステップで生成された複数の領域分割候補から選択し、選択した領域分割候補を前記領域分割の結果として出力する領域分割候補選択ステップを含む
     請求項1記載の移動体検出方法。
  5.  前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離における最大値と最小値との間の複数の値を、前記閾値として、生成する
     請求項4記載の移動体検出方法。
  6.  前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離について、閾値を大きい値から小さい値の順に並べた場合における最初の不連続点を検出し、検出した不連続点よりも小さい複数の値を、前記複数の閾値として、生成する
     請求項4記載の移動体検出方法。
  7.  前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離について不連続点の検出を行い、閾値の大小に基づいて階層的に前記領域分割をする
     請求項4記載の移動体検出方法
  8.  前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離について、閾値を大きい値から不連続点の検出を行い、分割されたクラスタに対して、それぞれ、より閾値を用いて不連続点の検出を行い、階層的に前記領域分割をする
     請求項7記載の移動体検出方法
  9.  前記領域分割候補生成ステップでは、前記距離算出ステップで算出された複数の距離の平均値又は中央値を中心に増加及び減少させて得られる複数の値を、前記複数の閾値として、生成する
     請求項4記載の移動体検出方法。
  10.  前記領域分割候補生成ステップでは、前記動き解析ステップで算出された複数の移動軌跡のそれぞれについて、当該移動軌跡との距離がN番目に小さい距離を特定し、特定した複数の距離について大きい順から選択した複数の値を、前記複数の閾値として、生成する
     請求項4記載の移動体検出方法。
  11.  前記領域分割ステップでは、前記動き解析ステップで算出された複数の移動軌跡のそれぞれについて、前記距離が小さい順に予め定められた個数の移動軌跡を選択し、選択されなかった移動軌跡との距離を無限大に変更する非線形化をした後に、前記複数の距離のそれぞれを測地距離に変換する
     請求項1記載の移動体検出方法。
  12.  前記領域分割ステップでは、前記動き解析ステップで算出された複数の移動軌跡のそれぞれについて、前記距離が予め定められた閾値以下の移動軌跡を選択し、選択されなかった移動軌跡との距離を無限大に変更する非線形化をした後に、前記複数の距離のそれぞれを測地距離に変換する
     請求項1記載の移動体検出方法。
  13.  前記動き解析ステップでは、前記動きの検出として、前記動きを示す2次元動きベクトル又はアフィンパラメータを算出する
     請求項1記載の移動体検出方法。
  14.  前記距離算出ステップでは、前記距離の算出として、前記ブロックの移動軌跡間の類似性に加えて、前記ピクチャでの前記ブロック間の距離及び前記ブロックどうしを接続する直線の傾斜を示す角度の少なくとも1つを算出する
     請求項1記載の移動体検出方法。
  15.  前記出力ステップは、前記領域分割ステップで得られた領域分割の結果を、前記画像入力ステップで受け付けたピクチャに重ねて表示する表示ステップを含む
     請求項1記載の移動体検出方法。
  16.  前記画像入力ステップでは、2つ以上の移動体が含まれる動画像を受け付け、
     前記領域分割ステップでは、前記2以上の移動体について前記領域分割をすることで、2以上の移動体を検出する
     請求項1記載の移動体検出方法。
  17.  前記移動体検出方法はさらに、前記領域分割ステップで特定された領域を構成するブロックの移動軌跡から、当該領域を代表する移動軌跡を算出し、算出した代表の移動軌跡に従って当該領域が移動すると予測することで、前記移動体の動きを予測する動き予測ステップを含む
     請求項1記載の移動体検出方法。
  18.  前記出力ステップは、前記領域分割ステップでの領域分割の結果に基づいて、前記画像入力ステップで受け付けたピクチャにおける領域を特定し、特定した領域ごとに、対応する領域分割の結果を、記憶手段に記録する、又は、送信する記録・送信ステップを含む
     請求項1記載の移動体検出方法。
  19.  動画像中の移動体の全部又は一部の領域を特定する領域分割をすることによって動画像中の移動体を検出する移動体検出装置であって、
     動画像を構成する複数枚のピクチャを受け付ける画像入力部と、
     前記ピクチャを構成する1個以上の画素からなるブロックごとに、時間的に隣接する2枚のピクチャ間での画像の動きを検出し、検出した動きを前記複数枚のピクチャについて連結することで、移動軌跡を算出する動き解析部と、
     前記動き解析部で算出された複数の移動軌跡について、移動軌跡間の類似性を表す距離を算出する距離算出部と、
     前記距離算出部で算出された距離のうち、予め定められた閾値よりも小さい距離を連結することで、前記距離算出部で算出された距離を測地距離に変換し、得られた測地距離の分布における不連続点を検出し、検出した不連続点よりも小さい測地距離だけ離れた移動軌跡を一つのクラスタとすることによって前記領域分割をする領域分割部と、
     前記領域分割部で領域分割された結果を出力する出力部と
     を備える移動体検出装置。
  20.  動画像中の移動体の全部又は一部の領域を特定する領域分割をすることによって動画像中の移動体を検出する移動体検出装置のためのプログラムであって、
     請求項1記載の移動体検出方法に含まれるステップをコンピュータに実行させるプログラム。
  21.  動画像を構成する複数枚のピクチャを受け付ける画像入力ステップと、
     前記ピクチャを構成する1個以上の画素からなるブロックごとに、時間的に隣接する2枚のピクチャ間での画像の動きを検出し、検出した動きを前記複数枚のピクチャについて連結することで、移動軌跡を算出する動き解析ステップと、
     前記動き解析ステップで算出された複数の移動軌跡について、移動軌跡間の類似性を表す距離を算出する距離算出ステップと、
     前記距離算出ステップで算出された距離が小さい順に移動軌跡のペアを同一クラスタとして統合する処理をクラスタ数が規定の数になるまで繰り返すことによって、距離が一定以上離れた不連続点をクラスタの境界として前記領域分割をする領域分割ステップと、
     前記領域分割ステップでの領域分割の結果を出力する出力ステップと
     を含む移動体検出方法。
PCT/JP2009/004523 2008-10-27 2009-09-11 移動体検出方法及び移動体検出装置 WO2010050110A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN2009801118239A CN101983389B (zh) 2008-10-27 2009-09-11 移动体检测方法以及移动体检测装置
EP09803985.2A EP2330557B1 (en) 2008-10-27 2009-09-11 Moving body detection method and moving body detection device
US12/671,793 US8340357B2 (en) 2008-10-27 2009-09-11 Moving object detection method and moving object detection apparatus
JP2009549322A JP4456181B1 (ja) 2008-10-27 2009-09-11 移動体検出方法及び移動体検出装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008276157 2008-10-27
JP2008-276157 2008-10-27

Publications (1)

Publication Number Publication Date
WO2010050110A1 true WO2010050110A1 (ja) 2010-05-06

Family

ID=42128484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/004523 WO2010050110A1 (ja) 2008-10-27 2009-09-11 移動体検出方法及び移動体検出装置

Country Status (5)

Country Link
US (1) US8340357B2 (ja)
EP (1) EP2330557B1 (ja)
JP (1) JP4456181B1 (ja)
CN (1) CN101983389B (ja)
WO (1) WO2010050110A1 (ja)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011080923A1 (ja) * 2009-12-28 2011-07-07 パナソニック株式会社 関節状領域検出装置およびその方法
JP2011238139A (ja) * 2010-05-12 2011-11-24 Fujitsu Ltd 移動体検出プログラムおよび移動体検出装置
WO2012014430A1 (ja) * 2010-07-27 2012-02-02 パナソニック株式会社 移動体検出装置および移動体検出方法
US8213681B2 (en) 2009-01-09 2012-07-03 Panasonic Corporation Moving object detection method and moving object detection apparatus
CN102568000A (zh) * 2010-12-31 2012-07-11 华晶科技股份有限公司 多画面中物体移动的追踪方法
WO2012101723A1 (ja) * 2011-01-26 2012-08-02 パナソニック株式会社 関節領域表示装置、関節領域検出装置、関節領域帰属度算出装置、関節状領域帰属度算出装置および関節領域表示方法
US8300892B2 (en) 2009-07-31 2012-10-30 Panasonic Corporation Moving object detection apparatus and moving object detection method
US8605946B2 (en) 2011-03-22 2013-12-10 Panasonic Corporation Moving object detection apparatus and moving object detection method

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4782901B2 (ja) * 2009-12-28 2011-09-28 パナソニック株式会社 移動体検出装置および移動体検出方法
US20110221664A1 (en) * 2010-03-11 2011-09-15 Microsoft Corporation View navigation on mobile device
JP2011210179A (ja) * 2010-03-30 2011-10-20 Sony Corp 移動物体検出装置及び方法、並びにプログラム
JP5724237B2 (ja) * 2010-07-27 2015-05-27 オムロンヘルスケア株式会社 歩行変化判定装置
EP2447882B1 (en) * 2010-10-29 2013-05-15 Siemens Aktiengesellschaft Method and device for assigning sources and sinks to routes of individuals
JP2012151796A (ja) * 2011-01-21 2012-08-09 Sony Corp 画像処理装置と画像処理方法およびプログラム
JP2012212373A (ja) * 2011-03-31 2012-11-01 Casio Comput Co Ltd 画像処理装置、画像処理方法及びプログラム
CN102821241B (zh) * 2011-06-10 2015-06-03 华晶科技股份有限公司 利用对象移动趋势驱动快门的装置及方法
US20130102387A1 (en) * 2011-10-21 2013-04-25 Microsoft Corporation Calculating metabolic equivalence with a computing device
JP2015039085A (ja) * 2011-12-14 2015-02-26 パナソニック株式会社 画像処理装置及び画像処理方法
KR20130088493A (ko) * 2012-01-31 2013-08-08 삼성전자주식회사 Ui 제공 방법 및 이를 적용한 영상 수신 장치
TWI476702B (zh) * 2012-03-16 2015-03-11 Pixart Imaging Inc 使用者辨識系統及辨識使用者的方法
KR101901958B1 (ko) * 2012-03-26 2018-11-08 한국전자통신연구원 휴리스틱 함수의 학습을 이용한 고속 경로를 탐색을 위한 장치 및 그 방법
US10140717B2 (en) * 2013-02-27 2018-11-27 Hitachi Automotive Systems, Ltd. Imaging apparatus and vehicle controller
JP6433149B2 (ja) * 2013-07-30 2018-12-05 キヤノン株式会社 姿勢推定装置、姿勢推定方法およびプログラム
CN104794733B (zh) 2014-01-20 2018-05-08 株式会社理光 对象跟踪方法和装置
CN104881881B (zh) * 2014-02-27 2018-04-10 株式会社理光 运动对象表示方法及其装置
CN105096259B (zh) 2014-05-09 2018-01-09 株式会社理光 深度图像的深度值恢复方法和系统
DE102014209437B3 (de) * 2014-05-19 2015-10-22 Sirona Dental Systems Gmbh Verfahren zur Erzeugung magnetresonanztomographischer Aufnahmen von zyklischer Bewegung
KR20160014418A (ko) 2014-07-29 2016-02-11 삼성전자주식회사 유저 인터페이스 장치 및 유저 인터페이스 방법
US9418546B1 (en) * 2015-11-16 2016-08-16 Iteris, Inc. Traffic detection with multiple outputs depending on type of object detected
US10248839B2 (en) * 2015-11-30 2019-04-02 Intel Corporation Locating objects within depth images
US10346949B1 (en) * 2016-05-27 2019-07-09 Augmented Pixels, Inc. Image registration
US10838067B2 (en) * 2017-01-17 2020-11-17 Aptiv Technologies Limited Object detection system
CN111145100B (zh) * 2018-11-02 2023-01-20 深圳富泰宏精密工业有限公司 动态影像生成方法及系统、计算机装置、及可读存储介质
TWI673653B (zh) * 2018-11-16 2019-10-01 財團法人國家實驗研究院 移動物體偵測系統及方法
US10937169B2 (en) * 2018-12-18 2021-03-02 Qualcomm Incorporated Motion-assisted image segmentation and object detection
TWI739052B (zh) * 2018-12-26 2021-09-11 華碩電腦股份有限公司 電子裝置及其操作方法
CN110135422B (zh) * 2019-05-20 2022-12-13 腾讯科技(深圳)有限公司 一种密集目标的检测方法和装置
CN110132241A (zh) * 2019-05-31 2019-08-16 吉林化工学院 一种基于时间序列分析的高精度步态识别方法及装置
CN110458046B (zh) * 2019-07-23 2020-11-24 南京邮电大学 一种基于关节点提取的人体运动轨迹分析方法
CN110456731B (zh) * 2019-08-13 2022-06-14 成都飞机工业(集团)有限责任公司 一种数控切削几何刀轨特征提取方法
CN111582025B (zh) * 2020-03-31 2023-11-24 北京明略软件系统有限公司 一种移动物体的识别方法、装置、及存储介质
EP3985957B1 (en) * 2020-10-14 2022-11-30 Axis AB Method and system for motion segmentation
CN112288774B (zh) * 2020-10-22 2024-01-30 深圳市华宝电子科技有限公司 移动侦测方法、装置、电子设备及存储介质
TWI779454B (zh) * 2021-01-08 2022-10-01 財團法人資訊工業策進會 動作辨識裝置及動作辨識方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1166319A (ja) * 1997-08-21 1999-03-09 Omron Corp 移動体検出方法及び装置並びに移動体認識方法及び装置並びに人間検出方法及び装置
JP2000222584A (ja) * 1999-01-29 2000-08-11 Toshiba Corp 映像情報記述方法、映像検索方法及び映像検索装置
JP2005332206A (ja) * 2004-05-20 2005-12-02 Nippon Hoso Kyokai <Nhk> 映像イベント判別装置及びそのプログラム、並びに、映像イベント判別用学習データ生成装置及びそのプログラム
JP2007087049A (ja) * 2005-09-21 2007-04-05 Kddi Corp 動画像処理装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3780017B2 (ja) 1994-12-06 2006-05-31 オリンパス株式会社 時系列画像解析装置及びその解析方法
US7016540B1 (en) * 1999-11-24 2006-03-21 Nec Corporation Method and system for segmentation, classification, and summarization of video images
US6859554B2 (en) * 2001-04-04 2005-02-22 Mitsubishi Electric Research Laboratories, Inc. Method for segmenting multi-resolution video objects
GB0125774D0 (en) * 2001-10-26 2001-12-19 Cableform Ltd Method and apparatus for image matching
US8614741B2 (en) * 2003-03-31 2013-12-24 Alcatel Lucent Method and apparatus for intelligent and automatic sensor control using multimedia database system
US7801330B2 (en) * 2005-06-24 2010-09-21 Objectvideo, Inc. Target detection and tracking from video streams
CN101159855B (zh) * 2007-11-14 2011-04-06 南京优科漫科技有限公司 基于特征点分析的多目标分离预测方法
US8212210B2 (en) * 2008-02-04 2012-07-03 Flir Systems Ab IR camera and method for presenting IR information
JP4763863B1 (ja) * 2009-12-28 2011-08-31 パナソニック株式会社 関節状領域検出装置およびその方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1166319A (ja) * 1997-08-21 1999-03-09 Omron Corp 移動体検出方法及び装置並びに移動体認識方法及び装置並びに人間検出方法及び装置
JP2000222584A (ja) * 1999-01-29 2000-08-11 Toshiba Corp 映像情報記述方法、映像検索方法及び映像検索装置
JP2005332206A (ja) * 2004-05-20 2005-12-02 Nippon Hoso Kyokai <Nhk> 映像イベント判別装置及びそのプログラム、並びに、映像イベント判別用学習データ生成装置及びそのプログラム
JP2007087049A (ja) * 2005-09-21 2007-04-05 Kddi Corp 動画像処理装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ANTONINI G ET AL.: "IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY", vol. 16, 1 August 2006, IEEE SERVICE CENTER, article "Counting pedestrians in video sequences using trajectory clustering", pages: 1008 - 1020
See also references of EP2330557A4 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8213681B2 (en) 2009-01-09 2012-07-03 Panasonic Corporation Moving object detection method and moving object detection apparatus
US8300892B2 (en) 2009-07-31 2012-10-30 Panasonic Corporation Moving object detection apparatus and moving object detection method
JP4763863B1 (ja) * 2009-12-28 2011-08-31 パナソニック株式会社 関節状領域検出装置およびその方法
WO2011080923A1 (ja) * 2009-12-28 2011-07-07 パナソニック株式会社 関節状領域検出装置およびその方法
US8401243B2 (en) 2009-12-28 2013-03-19 Panasonic Corporation Articulated object region detection apparatus and method of the same
JP2011238139A (ja) * 2010-05-12 2011-11-24 Fujitsu Ltd 移動体検出プログラムおよび移動体検出装置
US8599252B2 (en) 2010-07-27 2013-12-03 Panasonic Corporation Moving object detection apparatus and moving object detection method
JP4979840B2 (ja) * 2010-07-27 2012-07-18 パナソニック株式会社 移動体検出装置および移動体検出方法
WO2012014430A1 (ja) * 2010-07-27 2012-02-02 パナソニック株式会社 移動体検出装置および移動体検出方法
CN102568000A (zh) * 2010-12-31 2012-07-11 华晶科技股份有限公司 多画面中物体移动的追踪方法
TWI423170B (zh) * 2010-12-31 2014-01-11 Altek Corp 多畫面中物體移動的追蹤方法
WO2012101723A1 (ja) * 2011-01-26 2012-08-02 パナソニック株式会社 関節領域表示装置、関節領域検出装置、関節領域帰属度算出装置、関節状領域帰属度算出装置および関節領域表示方法
JP4994525B1 (ja) * 2011-01-26 2012-08-08 パナソニック株式会社 関節領域表示装置、関節領域検出装置、関節領域帰属度算出装置、関節状領域帰属度算出装置および関節領域表示方法
CN103003846A (zh) * 2011-01-26 2013-03-27 松下电器产业株式会社 关节区域显示装置、关节区域检测装置、关节区域归属度计算装置、关节状区域归属度计算装置以及关节区域显示方法
US8929599B2 (en) 2011-01-26 2015-01-06 Panasonic Corporation Articulation region display apparatus, articulation region detecting apparatus, articulation region belongingness calculating apparatus, articulated object region belongingness calculating apparatus, and articulation region display method
US8605946B2 (en) 2011-03-22 2013-12-10 Panasonic Corporation Moving object detection apparatus and moving object detection method

Also Published As

Publication number Publication date
EP2330557B1 (en) 2018-11-07
US8340357B2 (en) 2012-12-25
JP4456181B1 (ja) 2010-04-28
US20110228987A1 (en) 2011-09-22
EP2330557A4 (en) 2013-07-24
CN101983389A (zh) 2011-03-02
EP2330557A1 (en) 2011-06-08
JPWO2010050110A1 (ja) 2012-03-29
CN101983389B (zh) 2012-11-21

Similar Documents

Publication Publication Date Title
JP4456181B1 (ja) 移動体検出方法及び移動体検出装置
JP5054206B2 (ja) 画像処理方法及び画像処理装置
JP4542207B1 (ja) 移動体検出方法および移動体検出装置
JP4643766B1 (ja) 移動体検出装置及び移動体検出方法
JP4782901B2 (ja) 移動体検出装置および移動体検出方法
JP4994525B1 (ja) 関節領域表示装置、関節領域検出装置、関節領域帰属度算出装置、関節状領域帰属度算出装置および関節領域表示方法
JP5404918B2 (ja) 移動軌跡算出方法およびその装置、ならびに領域分割方法
JP4979840B2 (ja) 移動体検出装置および移動体検出方法
JP4668360B2 (ja) 移動体検出方法及び移動体検出装置
JPWO2011080923A1 (ja) 関節状領域検出装置およびその方法
Luo et al. Face tracking in video with hybrid of Lucas-Kanade and condensation algorithm

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980111823.9

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2009549322

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 12671793

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2009803985

Country of ref document: EP

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

Ref document number: 09803985

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE