Information processing device, information processing system, information processing method, and recording medium
The information processing device accurately compares skeletal shapes across postures by arranging vectors in a comparison coordinate system, addressing the challenge of skeletal shape comparison in existing technologies and enhancing user convenience for applications like sports and posture analysis.
Patent Information
- Application Number
- PCT/JP2024/009363
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2024-03-11
- Publication Date
- 2024-09-19
AI Technical Summary
Existing technologies lack the capability to accurately compare the skeletal shapes of skeletal parts across different postures, which is essential for various applications such as sports training, posture analysis, and dance practice.
An information processing device and system that acquire skeletal information from images, identify vectors representing adjacent skeletal regions, and determine shape similarity by arranging these vectors in a comparison coordinate system, allowing for accurate comparison of skeletal shapes across multiple postures.
Enables precise comparison of skeletal shapes, improving user convenience by displaying shape similarity information, which can be used for posture evaluation and training purposes.
Smart Images

Figure JP2024009363_19092024_PF_FP_ABST
Abstract
Description
Information processing device, information processing system, information processing method, and recording medium
[0001] The present invention relates to an information processing device, an information processing system, an information processing method, and a recording medium.
[0002] For example, Patent Document 1 discloses a technique for estimating the posture of an object having joints. In Patent Document 1, "the 'posture' to be estimated is the posture of two or more parts to be focused on (hereinafter referred to as 'parts of interest')." Also, "the 'posture' is expressed by information such as the positions of the joints connecting the parts of interest in a two-dimensional coordinate system or a three-dimensional coordinate system, or the lengths of each related part and the angles between the parts."
[0003] Patent Document 1 discloses that "part area estimation section 140 estimates the part area of the specified part input from posture state designation section 120, based on the estimated image data input from image data acquisition section 130. Specifically, part area estimation section 140 estimates the position and orientation of a reference part of the person from the estimated image data. Then, part area estimation section 140 estimates the part area of each specified part, based on the estimated position and orientation of the reference part."
[0004] Patent document 1 also discloses that "the likelihood map generation unit 150 generates a likelihood map from the estimated image data input from the part area estimation unit 140. At this time, for areas other than the part areas indicated by the part area data input from the part area estimation unit 140, the likelihood map generation unit 150 generates a likelihood map that lowers the likelihood that the specified part corresponding to that part area is located. Such a likelihood map contains information in which only the likelihood of the range of motion of the part of interest in the specified posture (for example, in the case of a posture state where the right arm is bent, the right upper arm and the right forearm) is high."
[0005] Patent Document 1 also discloses that "by using a likelihood map that shows the distribution of likelihood for each part of the body, it is possible to determine whether the posture is such that the right arm is bent, even if the right arm is contained within the outline of the torso in the image."
[0006] International Publication No. 2012 / 077287
[0007] The technology described in Patent Document 1 may be able to estimate the posture of a hidden part in an image, such as when the right arm is contained within the outline of the torso in the image. However, Patent Document 1 does not disclose a technology for comparing the skeletal shapes of the skeletal parts included in each of the two postures.
[0008] One example of the object of the present invention is to provide, in consideration of the above-mentioned problems, an information processing device, an information processing system, an information processing method, a program, a recording medium, etc. that solve the problem of accurately comparing the skeletal shapes of skeletal parts to be compared for multiple postures.
[0009] According to one aspect of the present invention, there is provided an information processing device comprising: a skeletal information acquisition means for acquiring first skeletal information and second skeletal information, each of which indicates a posture; a vector identification means for identifying, for each of the two pieces of acquired skeletal information, a first vector and a second vector indicating the first skeletal part and the second skeletal part, respectively, which are parts that constitute a skeletal part to be compared in skeletal shape and are adjacent to each other; and a first similarity acquisition means for calculating the shape similarity of the skeletal part by using the second vector when the first vector is positioned so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts.
[0010] According to one aspect of the present invention, there is provided an information processing system comprising: the above-mentioned information processing device; and an image analysis device that determines, based on one or more images, the first skeletal information and the second skeletal information indicating a first orientation and a second orientation, respectively, for one or more objects included in the one or more images, wherein the skeleton acquisition means acquires the first skeletal information and the second skeletal information from the image analysis device.
[0011] According to one aspect of the present invention, there is provided an information processing method in which one or more computers acquire first skeletal information and second skeletal information, each of which indicates a posture; for each of the two acquired skeletal information, identify a first vector and a second vector indicating the first skeletal part and the second skeletal part, respectively, which are parts that constitute a skeletal part to be compared in skeletal shape and are adjacent to each other; and determine the shape similarity of the skeletal part using the second vector when the first vector is positioned so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts.
[0012] According to one aspect of the present invention, there is provided a recording medium having recorded thereon a program for causing one or more computers to acquire first skeletal information and second skeletal information, each of which indicates a posture; for each of the two acquired skeletal information, identify a first vector and a second vector indicating the first skeletal portion and the second skeletal portion, respectively, which are adjacent to each other and constitute a skeletal portion to be compared in skeletal shape; and determine the shape similarity of the skeletal portion using the second vector when the first vector is positioned so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal portions.
[0013] According to one aspect of the present invention, it is possible to accurately compare the skeletal shapes of skeletal parts to be compared for a plurality of postures.
[0014] 1 is a diagram illustrating an overview of an information processing device according to a first embodiment. FIG. 2 is a diagram illustrating an overview of an information processing system according to the first embodiment. FIG. 3 is a diagram illustrating an overview of information processing according to the first embodiment. FIG. 4 is a diagram illustrating an example of a configuration of an information processing system according to the first embodiment. FIG. 5 is a diagram illustrating an example of partial definition information. FIG. 6 is a diagram illustrating an example of a physical configuration of an information processing device according to the first embodiment. FIG. 7 is a flowchart illustrating an example of image processing according to the first embodiment. FIG. 8 is a diagram illustrating an example of a first skeleton model M1 indicated by first skeleton information. FIG. 9 is a diagram illustrating an example of a second skeleton model M2 indicated by second skeleton information. FIG. 10 is a flowchart illustrating an example of comparison processing according to the first embodiment. FIG. 11 is a diagram for explaining a coordinate system setting processing step S204 according to the first embodiment. FIG. 12 is a diagram illustrating an example in which two identified first vectors are arranged so that their ends coincide at the origin O of a comparison coordinate system. FIG. 13 is a diagram illustrating an example of display of skeleton information according to the first embodiment. FIG. 14 is a diagram illustrating an example of a configuration of an information processing system according to a second embodiment.
[0015] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In all the drawings, like components are designated by like reference numerals, and the description thereof will be omitted as appropriate.
[0016] 1 is a diagram showing an overview of an information processing device 102 according to embodiment 1. The information processing device 102 includes a skeleton information acquisition unit 111, a vector identification unit 113, and a first similarity acquisition unit 115.
[0017] The skeletal information acquisition unit 111 acquires first skeletal information and second skeletal information, each of which indicates a posture.
[0018] For each of the two pieces of acquired skeletal information, the vector identification unit 113 identifies a first vector and a second vector that respectively indicate a first skeletal part and a second skeletal part that are adjacent to each other and that constitute the skeletal part to be compared with the skeletal shape.
[0019] The first similarity acquisition unit 115 calculates the shape similarity of the skeletal parts by using a second vector obtained by arranging a first vector so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts.
[0020] According to this information processing device 102, it is possible to accurately compare the skeletal shapes of the skeletal parts to be compared for a plurality of postures.
[0021] 2 is a diagram showing an overview of the information processing system 100 according to embodiment 1. The information processing system 100 includes an image analysis device 101 and an information processing device 102.
[0022] The image analysis device 101 obtains, based on one or more images, first skeletal information and second skeletal information indicating a first pose and a second pose, respectively, for one or more objects included in the one or more images.
[0023] The skeletal information acquisition unit 111 acquires the first skeletal information and the second skeletal information from the image analysis device 101 .
[0024] According to this information processing system 100, it is possible to accurately compare the skeletal shapes of the skeletal parts to be compared for a plurality of postures.
[0025] FIG. 3 is a diagram illustrating an overview of information processing according to the first embodiment.
[0026] The skeletal information acquisition unit 111 acquires first skeletal information and second skeletal information, each of which indicates a posture (step S201).
[0027] The vector identification unit 113 identifies, for each of the two pieces of acquired skeletal information, a first vector and a second vector that respectively indicate a first skeletal part and a second skeletal part that are adjacent to each other and that constitute the skeletal part to be compared with the skeletal shape (step S203).
[0028] The first similarity acquisition unit 115 calculates the shape similarity of the skeletal parts by using a second vector obtained by arranging the first vector so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts (step S205).
[0029] This information processing makes it possible to accurately compare the skeletal shapes of the skeletal parts to be compared for a plurality of postures.
[0030] A detailed example of the information processing system 100 according to the first embodiment will be described below.
[0031] 4 is a diagram showing an example of the configuration of the information processing system 100 according to embodiment 1. The information processing system 100 is a system for comparing the skeletal shapes of skeletal parts to be compared for two postures of one or more objects included in one or more images.
[0032] The object according to this embodiment is a person, but the object may be any object having a joint, such as an animal or a robot.
[0033] 4, the information processing system 100 includes an image analysis device 101 and an information processing device 102. The image analysis device 101 and the information processing device 102 are connected to each other via a network N that may be wired, wireless, or a combination of these so as to be able to send and receive information to and from each other.
[0034] (Example of Functional Configuration of Image Analysis Device 101 According to First Embodiment) The image analysis device 101 obtains, from one or more images, first skeletal information and second skeletal information indicating a first posture and a second posture, respectively, for one or more people included in the one or more images. The image analysis device 101 obtains the first skeletal information and the second skeletal information using, for example, a global coordinate system.
[0035] The first skeletal information and the second skeletal information each represent a posture of a person, and include, for example, information representing each of a plurality of skeletal parts.
[0036] Each skeletal part corresponds to a part of a human body that is composed of one or more major bones, such as the hip bone, spine, head, shoulder, left upper arm, left forearm, right upper arm, right forearm, left thigh, left lower leg, right thigh, and right lower leg.
[0037] The connecting portion between two adjacent skeletal parts is an articular part corresponding to a joint.
[0038] The skeletal information may include information indicating joints. The information processing device 102, which will be described later, may have the functions of the image analyzing device 101.
[0039] (Example of Functional Configuration of Information Processing Apparatus 102 According to First Embodiment) The information processing apparatus 102 calculates the shape similarity of the skeletal parts to be compared between the skeletal shapes for two postures. The shape similarity is the similarity of the skeletal shapes.
[0040] As shown in FIG. 4, the information processing device 102 includes a skeletal information acquisition unit 111, a memory unit 112, a vector identification unit 113, a coordinate system setting unit 114, a first similarity acquisition unit 115, a display unit 116, and a display control unit 117.
[0041] The skeletal information acquisition unit 111 acquires first skeletal information and second skeletal information, each of which indicates a posture. The skeletal information acquisition unit 111 according to this embodiment acquires the first skeletal information and the second skeletal information from the image analysis device 101.
[0042] Note that the method by which the skeletal information acquisition unit 111 acquires the first skeletal information and the second skeletal information is not limited to this. For example, the skeletal information acquisition unit 111 may acquire the first skeletal information and the second skeletal information from a storage medium (not shown) that stores the first skeletal information and the second skeletal information. Alternatively, for example, the skeletal information acquisition unit 111 may acquire the first skeletal information and the second skeletal information via a network N from a device (not shown) that stores the first skeletal information and the second skeletal information. Furthermore, the skeletal information may be information that indicates a posture, and may be obtained from an image or sensor information obtained by a sensor, for example.
[0043] Various types of information are stored in the storage unit 112. For example, the storage unit 112 stores partial definition information 112a.
[0044] The part definition information 112a is information that defines one or more skeleton parts that are predetermined as candidates for comparison with the skeleton shape.
[0045] Each of the skeletal portions is composed of a first skeletal portion and a second skeletal portion.
[0046] The first skeletal part and the second skeletal part are, for example, two skeletal parts adjacent to each other via a common joint part, and the first skeletal part is, for example, a skeletal part closer to a predetermined base than the second skeletal part.
[0047] The base is a part that is predetermined as a reference part in the skeletal information. In this embodiment, an example will be described in which the base is the waist. However, the base is not limited to this and may be any other appropriate part such as the spine, trunk, or head.
[0048] 5 is a diagram showing an example of part definition information 112a. The part definition information 112a shown in FIG. 5 is an example in which the skeletal parts include the left arm, right arm, left leg, right leg, and left hip. In the part definition information 112a shown in FIG. 5, the left arm, right arm, left leg, right leg, and left hip are each associated with a combination of skeletal parts that make up the skeletal part. For example, the left arm is associated with the left upper arm as the first skeletal part and the left forearm as the second skeletal part.
[0049] The vector specification unit 113 specifies a first vector and a second vector for each of the two pieces of skeleton information acquired by the skeleton information acquisition unit 111 .
[0050] The first vector is a vector indicating a first skeletal part among the skeletal parts constituting the skeletal part to be compared with the skeletal shape, and the second vector is a vector indicating a second skeletal part among the skeletal parts constituting the skeletal part to be compared with the skeletal shape.
[0051] In detail, for example, each of the first skeletal part and the second skeletal part includes a base end that is an end close to the predetermined base as described above, and a distal end that is an end far from the base. The first vector is a vector that extends from a base end corresponding to the base end of the first skeletal part to a distal end corresponding to the distal end of the first skeletal part. Similarly, the second vector is a vector that extends from a base end corresponding to the base end of the second skeletal part to a distal end corresponding to the distal end of the second skeletal part. Note that the direction of a vector indicating a skeletal part for which it is difficult to identify the base end and distal end according to the base, such as the waist or shoulder when the base is the waist, may be predetermined, such as pointing leftward. Furthermore, for a skeletal part for which it is difficult to identify the base end and distal end according to the base, the skeletal part may be divided so that the base end and distal end according to the base can be identified, and the vector and the vector direction may be specified.
[0052] In this embodiment, the skeletal part to be compared with the skeletal shape is one skeletal part selected by the user from the skeletal parts included in the part definition information 112 a. Therefore, the vector identification unit 113 according to this embodiment identifies vectors indicating each skeletal part constituting the selected one skeletal part based on the two pieces of skeletal information acquired by the skeletal information acquisition unit 111 and the part definition information 112 a.
[0053] Note that the skeletal parts to be compared with the skeletal shape are not limited to this, and may be one or more predetermined skeletal parts, or may be multiple skeletal parts selected by the user from the skeletal parts included in the part definition information 112 a. An example in which multiple skeletal parts are to be compared with the skeletal shape will be described in another embodiment.
[0054] The coordinate system setting unit 114 sets a comparison coordinate system for comparing the skeletal shapes of the skeletal parts based on the first vectors identified for each of the first skeletal information and the second skeletal information by the vector identification unit 113. The comparison coordinate system is a coordinate system consisting of a first axis, a second axis, and a third axis that are perpendicular to each other.
[0055] The first axis is an axis that coincides with the first vectors obtained from the two pieces of skeleton information acquired by the skeleton information acquisition unit 111 .
[0056] The second axis is an axis perpendicular to each of the first vectors obtained from each of the two pieces of skeletal information acquired by the skeletal information acquisition unit 111 when the first vectors are arranged so that their base ends coincide.
[0057] The third axis is an axis perpendicular to both the first axis and the second axis.
[0058] The first similarity acquisition unit 115 uses the comparison coordinate system set by the coordinate system setting unit 114 and the first vector and second vector identified by the vector identification unit 113 to determine the shape similarity of the skeletal part to be compared with the skeletal shape.
[0059] For example, the first similarity obtaining unit 115 obtains the shape similarity by using the second vector obtained when the first vector is arranged in the comparison coordinate system so that the ends of the first vector and the second vector coincide with each other.
[0060] The shape similarity according to this embodiment is, for example, the inner product of the second vector, i.e., the shape similarity according to this embodiment is, for example, the inner product of the second vector when the first vector is placed in the comparison coordinate system so that their ends coincide with each other.
[0061] The shape similarity is not limited to the dot product of the second vector, but may be, for example, the angle of the second vector, or both the dot product and the angle of the second vector. The angle of the second vector is the angle formed by the second vector when the first vector and the second vector are placed in the comparison coordinate system so that their ends coincide with each other.
[0062] The display unit 116 displays various types of information under the control of the display control unit 117. In other words, the display control unit 117 causes the display unit 116 to display various types of information.
[0063] The display control unit 117 causes the display unit 116 to display at least one of the two pieces of skeletal information acquired by the skeletal information acquisition unit 111 in a display mode determined in advance according to the shape similarity of the skeletal parts.
[0064] Here, the display mode includes at least one of the color, thickness, type, etc. of the lines, characters, etc. used for display.
[0065] There are various methods for the display control unit 117 to display at least one piece of skeletal information on the display unit 116 .
[0066] For example, the display control unit 117 may display at least one of the skeletal information on the display unit 116, and may also display the skeletal part to be compared with the skeletal shape on the display unit 116 in a display mode that is predetermined according to the shape similarity.
[0067] Furthermore, for example, the display control unit 117 may cause the display unit 116 to display the shape similarity in association with the skeletal part to be compared with the skeletal shape.
[0068] Furthermore, for example, the display control unit 117 may display at least one of the pieces of skeletal information on the display unit 116 so that the skeletal part to be compared with the skeletal shape can be identified. For this identification, a predetermined method may be used, and for example, an arrow, a leader line, a symbol, a code, a mark, or the like may be used.
[0069] Up to now, the functional configuration example of the information processing system 100 according to the first embodiment has been mainly described. From here, a physical configuration example of the information processing system 100 according to the first embodiment will be described.
[0070] The information processing system 100 is physically configured, for example, by an image analysis device 101 and an information processing device 102. The image analysis device 101 and the information processing device 102 may each have the same physical configuration. Here, an example of the physical configuration of the information processing device 102 will be described with reference to the drawings.
[0071] FIG. 6 is a diagram illustrating an example of the physical configuration of the information processing apparatus 102 according to the first embodiment.
[0072] The information processing device 102 includes a bus 1010 , a processor 1020 , a memory 1030 , a storage device 1040 , a network interface 1050 , an input interface 1060 , and an output interface 1070 .
[0073] The bus 1010 is a data transmission path for transmitting and receiving data among the processor 1020, memory 1030, storage device 1040, network interface 1050, input interface 1060, and output interface 1070. However, the method of connecting the processor 1020 and the like to each other is not limited to bus connection.
[0074] The processor 1020 is implemented as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit).
[0075] The memory 1030 is a main storage device realized by a RAM (Random Access Memory) or the like.
[0076] The storage device 1040 is an auxiliary storage device realized by a hard disk drive (HDD), a solid state drive (SSD), a memory card, a read-only memory (ROM), or the like. The storage device 1040 stores program modules for realizing the functions of the device in which it is installed (in FIG. 6, the information processing device 102). The processor 1020 reads each of these program modules into the memory 1030 and executes them to realize the function corresponding to that program module.
[0077] The network interface 1050 is an interface for connecting the device in which it is installed (the information processing device 102 in FIG. 6) to the network N.
[0078] The input interface 1060 is an interface for the user to input information, and is composed of, for example, a touch panel, a keyboard, a mouse, and the like.
[0079] The output interface 1070 is an interface for presenting information to the user, and is configured, for example, by a liquid crystal panel, an organic EL (Electro-Luminescence) panel, or the like.
[0080] One or both of the image analysis device 101 and the information processing device 102 may be physically configured as multiple devices connected via appropriate communication lines. In this case, each device may be physically configured in the same manner as the information processing device 102 shown in FIG. 6.
[0081] (Operation of Information Processing System 100) Hereinafter, the operation of the information processing system 100 will be described.
[0082] The information processing system 100 performs information processing to compare the skeletal shapes of skeletal parts to be compared for two postures of one or more people included in one or more images. The information processing according to this embodiment includes image processing performed by the image analysis device 101 and comparison processing performed by the information processing device 102. The image processing and comparison processing will be described below with reference to the drawings.
[0083] 7 is a flowchart showing an example of image processing according to embodiment 1. The image processing is processing for obtaining first skeletal information and second skeletal information indicating first poses and second poses, respectively, of one or more people included in one or more images. The image analysis device 101 starts the image processing in response to, for example, a user instruction.
[0084] The first pose and the second pose may be poses of the same person included in each of two images taken at different times, or may be poses of different people included in each of two images taken at different times, or may be poses of two people included in one image.
[0085] Here, we will explain using an example of obtaining first skeletal information indicating a first posture of a person included in one of two images, and second skeletal information indicating a second posture of a person included in the other image.
[0086] The image analysis device 101 acquires two images (step S101). Each of the two images acquired in step S101 includes a person.
[0087] The image analysis device 101 obtains skeletal information indicating the posture of the person based on the image acquired in step S101 (step S102), and then ends the image processing. The skeletal information obtained in step S102 is first skeletal information and second skeletal information, each of which indicates the posture of the person.
[0088] The technique for obtaining skeletal information of a person appearing in an image may be a general technique. For example, the image analysis device 101 may obtain the first skeletal information and the second skeletal information using a learning model that has been trained to obtain skeletal information indicating the posture of a person appearing in an image.
[0089] In this case, for example, the image analysis device 101 may use a learning model to obtain first skeletal information using one of the images acquired in step S101 as an input. Furthermore, the image analysis device 101 may use a learning model to obtain second skeletal information using the other image acquired in step S101 as an input. This learning model is, for example, a machine learning model that has previously performed supervised learning using a learning image containing a person and the person's learning skeletal information as correct answer data.
[0090] Fig. 8 is a diagram showing an example of a first skeletal model M1 indicated by the first skeletal information. Fig. 9 is a diagram showing an example of a second skeletal model M2 indicated by the second skeletal information. Each of the skeletal models M1 and M2 is composed of 12 skeletal parts (hip bones P1, spine P2, head P3, shoulders P4, left upper arm P5, left forearm P6, right right arm P7, right forearm P8, left thigh P9, left lower leg P10, right thigh P11, and right lower leg P12).
[0091] The first skeletal information and the second skeletal information are represented, for example, by vectors indicating the position, size, and direction of each of the skeletal parts P1 to P12 that make up the skeletal models M1 and M2 that they respectively represent. That is, in this case, the first skeletal information and the second skeletal information include, for example, the coordinate positions of the base and end of each of the skeletal parts P1 to P12 that make up the skeletal models M1 and M2 that they respectively represent. The coordinate positions of the skeletal information are represented using a global coordinate system. Note that the skeletal information may also include the coordinate positions of joint parts.
[0092] 8 and 9, when distinguishing between the skeletal models M1 and M2 that include each of the skeletal parts P1 to P12, the skeletal model symbols M1 and M2 are combined with the skeletal part symbols P1 to P12 to represent the skeletal parts. For example, left upper arm M1_P5 represents the left upper arm P5 included in the skeletal model M1.
[0093] Note that Figures 8 and 9 show an example in which the angles θ (degrees) between the left upper arms M1_P5, M2_P5 and the left forearms M1_P6, M2_P6 in the two skeletal models M1, M2 are the same, but these angles may be different.
[0094] 10 is a flowchart illustrating an example of a comparison process according to the first embodiment. The comparison process is a process for determining the shape similarity of skeletal parts to be compared in the skeletal shapes of the postures of two objects. The information processing device 102 starts the comparison process in response to, for example, a user instruction.
[0095] The skeleton information acquisition unit 111 acquires the skeleton information calculated in step S102 (step S201). The skeleton information acquired in step S201 includes first skeleton information and second skeleton information.
[0096] The vector specifying unit 113 receives a selection of a skeletal part to be compared with the skeletal shape (step S202).
[0097] In more detail, for example, the vector specifying unit 113 receives a skeleton part selected by the user from among the skeleton parts included in the part definition information 112a.
[0098] If a skeletal part to be compared with the skeletal shape is predetermined, the vector identification unit 113 does not need to execute step S202. In this case, it is preferable that at least one of the storage unit 112, the vector identification unit 113, etc. stores part definition information 112a related to the predetermined skeletal part.
[0099] The vector identification unit 113 identifies a first vector and a second vector using the skeleton information acquired in step S201 (step S203).
[0100] In detail, for example, the vector identification unit 113 identifies the first vector and the second vector based on the skeletal part to be compared selected in step S202, the part definition information 112a, and the first skeletal information and the second skeletal information acquired in step S201.
[0101] For example, assume that "left arm" is selected in step S202. In this case, the vector identification unit 113 refers to the part definition information 112a and identifies "left upper arm P5" and "left forearm P6" as the first skeletal part and the second skeletal part corresponding to the skeletal part selected in step S202.
[0102] The vector identification unit 113 identifies a first vector and a second vector corresponding to the identified first skeletal part, "left upper arm M1_P5," and the identified second skeletal part, "left forearm M1_P6," respectively, from the first skeletal information acquired in step S201.
[0103] Similarly, the vector identification unit 113 identifies a first vector and a second vector indicating the identified first skeletal part and second skeletal part, respectively, for the second skeletal information acquired in step S201. That is, the vector identification unit 113 identifies, from the second skeletal information, a first vector and a second vector indicating the identified first skeletal part, "left upper arm M2_P5," and the identified second skeletal part, "left forearm M2_P6," respectively.
[0104] The coordinate system setting unit 114 sets a comparison coordinate system based on the first vectors identified for each of the first skeletal information and the second skeletal information in step S203 (step S204).
[0105] 11 is a diagram for explaining the coordinate system setting process (step S204) according to embodiment 1. The diagram shows the flow of the coordinate system setting process when the "left arm" is selected as the skeletal part to be compared with the skeletal shape.
[0106] 11A, the coordinate system setting unit 114 sets each of the two first vectors representing the left upper arms M1_P5 and M2_P5 as a first axis of the comparison coordinate system. The positive direction of the first axis may be, for example, the same direction as the direction of each of the first vectors.
[0107] As shown in FIG. 11B, the coordinate system setting unit 114 arranges two first vectors indicating the left upper arm portions M1_P5 and M2_P5 so that their base ends coincide with each other.
[0108] For example, in the global coordinate system used for the first skeletal information, the base and end of the first vector representing the left upper arm M1_P5 are (x1, y1, z1) and (x2, y2, z2), respectively. Also, in the global coordinate system used for the second skeletal information, the base and end of the first vector representing the left upper arm M2_P5 are (x3, y3, z3) and (x4, y4, z4), respectively.
[0109] The coordinate system setting unit 114 positions these first vectors so that their base ends coincide with, for example, the origin of the global coordinate system. At this time, the coordinate system setting unit 114 translates each of the first vectors, for example. In this case, the base end and the terminal end of the first vector representing the left upper arm M1_P5 are (0,0,0) and (x2-x1, y2-y1, z2-z1). Furthermore, the base end and the terminal end of the first vector representing the left upper arm M2_P5 are (0,0,0) and (x4-x3, y4-y3, z4-z3).
[0110] The base end is not limited to the origin of the global coordinate system. For example, the coordinate system setting unit 114 may translate one of the first vectors so that the base end of the one of the first vectors coincides with the base end of the other first vector.
[0111] The coordinate system setting unit 114 determines the second axis of the comparison coordinate system as an axis perpendicular to each of the two first vectors when the two vectors are positioned so that their base ends coincide, i.e., an axis perpendicular to the plane including the two first vectors. When the first vectors are positioned so that their base ends coincide with the origin of the global coordinate system, the second axis becomes an axis perpendicular to the vectors (x2-x1, y2-y1, z2-z1) and (x4-x3, y4-y3, z4-z3). The direction of the second axis may be defined in a right-handed system, as shown in FIG. 11(b), for example. The coordinate system setting unit 114 may, for example, calculate the cross product of the two first vectors and set the second axis of the comparison coordinate system according to the vector obtained thereby. Note that the direction of the second axis may also be defined in a left-handed system. Furthermore, the method by which the coordinate system setting unit 114 calculates the second axis is not limited to calculating the cross product, and other methods may also be used.
[0112] As shown in FIG. 11C, the coordinate system setting unit 114 sets an axis perpendicular to each of the first axis and the second axis as the third axis of the comparison coordinate system. The direction of the third axis may be defined in a right-handed system, as shown in FIG. 11C, for example. The coordinate system setting unit 114 may, for example, calculate the cross product of a vector on the first axis (e.g., a unit vector of the first axis) and a vector on the second axis (e.g., a unit vector of the second axis), and set the third axis of the comparison coordinate system according to the vector obtained thereby. The direction of the third axis may also be defined in a left-handed system. Furthermore, the method by which the coordinate system setting unit 114 calculates the third axis is not limited to calculating the cross product, and other methods may also be used.
[0113] Referring again to Fig. 10, the first similarity obtaining unit 115 obtains the shape similarity using the comparison coordinate system set in step S204 and the first vector and second vector identified in step S203 (step S205).
[0114] The shape similarity calculated in step S205 is the shape similarity of the skeleton part to be compared with the skeleton shape (that is, the skeleton part selected in step S202 in this embodiment).
[0115] In detail, for example, the first similarity acquisition unit 115 performs a process (hereinafter also referred to as a "coordinate conversion process") to convert each of the global coordinate systems used for the first skeletal information and the second skeletal information into a comparison coordinate system on the first vector and the second vector identified in step S203.
[0116] More specifically, for example, the first similarity acquisition unit 115 performs a coordinate transformation process to convert the first skeletal information into a comparison coordinate system on a first vector and a second vector indicating the left upper arm M1_P5 and the left forearm M1_P6, respectively.
[0117] For example, the first similarity acquisition unit 115 performs coordinate transformation processing to convert the second skeletal information into a comparison coordinate system on the first vector and the second vector representing the left upper arm M2_P5 and the left forearm M2_P6, respectively.
[0118] Then, the first similarity obtaining unit 115 arranges the two first vectors identified in step S203 in the comparison coordinate system so that their ends coincide with each other. Fig. 12 is a diagram showing an example in which the two first vectors identified in step S203 are arranged so that their ends coincide with each other at the origin O of the comparison coordinate system.
[0119] As described above, the first axis of the comparison coordinate system is defined along the first vector. Therefore, the first similarity acquisition unit 115 may translate the first vector and the second vector, for example, so that the end of the first vector coincides with the origin O. Note that the point at which the two first vectors coincide is not limited to the origin O of the comparison coordinate system, and may be any appropriate point.
[0120] The first similarity obtaining unit 115 obtains the dot product of the two second vectors when the ends of the two first vectors are aligned in the comparison coordinate system. The dot product thus obtained is the shape similarity.
[0121] Note that the shape similarity is not limited to the dot product, and other values may be used. For example, the first similarity acquisition unit 115 may obtain the shape similarity by dividing the obtained dot product by the product of the magnitudes of the two second vectors. Furthermore, for example, the first similarity acquisition unit 115 may obtain the shape similarity based on the angle ω formed by the two second vectors when the ends of the two first vectors are aligned. The shape similarity based on the angle ω may be a positive value that increases as the similarity increases. For example, the shape similarity based on the angle ω may be the angle ω (degrees) itself, 180 (degrees) - ω (degrees), or 1 - ω (degrees) / 180 (degrees).
[0122] Referring again to Fig. 10, the display control unit 117 causes the display unit 116 to display at least one of the skeleton information pieces in a display mode determined in advance according to the shape similarity calculated in step S205 (step S206), and ends the comparison process.
[0123] FIG. 13 is a diagram illustrating an example of display of skeleton information according to the first embodiment.
[0124] The display example of skeletal information shown in Fig. 13 includes first skeletal information and second skeletal information. In the display example of Fig. 13, the "left arm" to be compared is displayed so as to be identifiable using a mark surrounded by an ellipse with a dashed line.
[0125] 13, the "left arm" to be compared is shown with a solid line of a thickness corresponding to the shape similarity. In the display example of Fig. 13, a shape similarity of "0.2" is shown in association with the "left arm."
[0126] According to this comparison process, the first skeletal part is positioned in the comparison coordinate system so that the ends of the first skeletal part (i.e., the joints connecting the first skeletal part and the second skeletal part) coincide with each other, and the shape similarity of the skeletal parts can be calculated according to the orientation of the second skeletal part in this case.
[0127] Therefore, for skeletal parts that are rotated around either the first skeletal part or the second skeletal part, the shapes of the skeletal parts are not identical to each other, but are different, and the similarity between them can be calculated.
[0128] That is, for example, suppose that the "left arm" in two skeletal models M1 and M2 is rotated around the left upper arm M1_P5, M2_P5 as an axis. In this case, the angle θ between the left upper arm M1_P5 and the left forearm M1_P6 is the same as the angle θ between the left upper arm M2_P5 and the left forearm M2_P6. Therefore, if the shape similarity is calculated using only the angle θ of the skeletal parts that make up the "left arm," the shape similarity of the "left arm" in the skeletal models M1 and M2 will be values that indicate the same shape.
[0129] In this embodiment, as described above, the shape similarity is calculated according to the orientation of the left forearms M1_P6 and M2_P6 when the left upper arms M1_P5 and M2_P5 are positioned so that their ends coincide in the comparison coordinate system. Therefore, even if the angles θ between the left upper arms M1_P5 and M2_P5 and the left forearms M1_P6 and M2_P6 are the same in the two skeletal models M1 and M2, it is possible to calculate the shape similarity that indicates the degree of difference in the skeletal shapes of the left arms formed by these.
[0130] Therefore, it becomes possible to accurately compare the skeletal shapes of the skeletal parts included in each of the two postures.
[0131] Such a comparison of skeletal shapes can be used for a variety of purposes.
[0132] For example, comparison of skeletal shapes can be used for practicing sports, dance, etc. In this case, the information processing may compare the skeletal shapes of the skeletal parts included in a model posture (correct posture) for sports, dance, etc. with the posture (user posture) of a user who practices using that posture as a model.
[0133] For example, the comparison of skeletal shapes can be used to detect changes in the posture of a subject at different times, such as the initial and current times of the subject being photographed in real time. In this case, the skeletal shapes of skeletal parts included in the posture of the subject at different times may be compared.
[0134] For example, comparing skeletal shapes can be used to check for improvements in a patient's posture before and after treatment. In this case, it is preferable to compare the skeletal shapes of skeletal parts included in the patient's postures before and after treatment that are intended to be the same posture. The same posture could be, for example, an upright posture or a posture in which a specific skeletal part is moved to the limit of its range of motion (such as a posture in which both arms are raised to the limit of their range of motion).
[0135] The purpose and method of using the comparison of skeletal shapes are not limited to those given here.
[0136] (Operations and Effects) As described above, according to this embodiment, the information processing device 102 includes the skeleton information acquisition unit 111 , the vector identification unit 113 , and the first similarity acquisition unit 115 .
[0137] The skeletal information acquisition unit 111 acquires first skeletal information and second skeletal information, each of which indicates a posture. The vector identification unit 113 identifies, for each of the two pieces of acquired skeletal information, a first vector and a second vector that indicate adjacent first skeletal parts and second skeletal parts, respectively, which are parts that constitute skeletal parts to be compared in skeletal shape. The first similarity acquisition unit 115 calculates the shape similarity of the skeletal parts by using the second vector obtained when the first vector is placed so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts.
[0138] This allows the shape similarity of the skeletal parts to be calculated according to the orientation of the second skeletal part when the first skeletal part is positioned in the comparison coordinate system so that the joints connecting the first skeletal part and the second skeletal part coincide with each other. Therefore, it is possible to calculate the shape similarity indicating the degree of difference in the skeletal shapes of skeletal parts that are rotated around the axis of either the first skeletal part or the second skeletal part. This makes it possible to accurately compare the skeletal shapes of the skeletal parts included in each of the two postures.
[0139] According to this embodiment, the information processing device 102 further includes a coordinate system setting unit 114. The coordinate system setting unit 114 sets a comparison coordinate system consisting of a first axis, a second axis, and a third axis that are perpendicular to each other, based on the first vector identified for each of the first skeletal information and the second skeletal information.
[0140] The first axis is an axis that coincides with the first vector obtained from each of the two pieces of acquired skeletal information, and the second axis is an axis that is perpendicular to each of the first vectors obtained from each of the two pieces of acquired skeletal information.
[0141] This allows the shape similarity of the skeletal parts to be compared in the comparison coordinate system to be calculated, thereby enabling accurate comparison of the skeletal shapes of the skeletal parts included in each of the two postures.
[0142] According to this embodiment, the shape similarity includes the angle or inner product of a first vector and a second vector when the first vector and the second vector are arranged so that their ends coincide with each other in the comparison coordinate system.
[0143] This allows the shape similarity of the skeletal parts to be compared in the comparison coordinate system to be calculated, thereby enabling accurate comparison of the skeletal shapes of the skeletal parts included in each of the two postures.
[0144] According to this embodiment, the information processing device 102 further includes a storage unit 112. The storage unit 112 stores part definition information 112a that defines a first skeletal part and a second skeletal part that constitute each skeletal part, for one or more skeletal parts that are predetermined as candidates for comparison with a skeletal shape.
[0145] The vector specifying unit 113 specifies vectors indicating each skeletal part that constitutes one skeletal part, based on each of the two pieces of skeletal information obtained and the part definition information 112a.
[0146] This allows the shape similarity of the skeletal parts to be calculated for one of one or more predetermined skeletal parts. Therefore, by appropriately selecting or setting the skeletal part to be compared, the shape similarity of the desired skeletal part can be calculated. Therefore, it is possible to accurately compare the skeletal shapes of the skeletal parts included in each of the two postures while improving user convenience.
[0147] According to this embodiment, the information processing device 102 further includes a display control unit 117. The display control unit 117 causes the display unit 116 to display at least one of the two pieces of acquired skeletal information in a display mode that is determined in advance according to the shape similarity of the skeletal parts.
[0148] This allows the user to easily refer to the calculated shape similarity together with at least one of the skeleton information, thereby improving user convenience.
[0149] According to this embodiment, the display control unit 117 causes the display unit 116 to display at least one of the skeleton information pieces, and also causes the display unit 116 to display the skeleton portion in a display mode that is predetermined according to the shape similarity.
[0150] This allows the user to easily refer to at least one of the skeleton information and the shape similarity calculated for the skeleton portion to be compared, thereby improving user convenience.
[0151] According to this embodiment, the display control unit 117 causes the display unit 116 to display the shape similarity in association with the skeletal part.
[0152] This allows the user to easily refer to the skeletal parts to be compared and the shape similarity calculated for them, thereby improving user convenience.
[0153] According to this embodiment, the display control unit 117 causes the display unit 116 to display at least one of the skeleton information so that the skeleton part to be compared with the skeleton shape can be identified.
[0154] This allows the user to easily recognize the skeletal part to be compared, thereby improving user convenience.
[0155] Second Embodiment In the first embodiment, an example was described in which the skeletal shapes of skeletal parts are compared using a comparison coordinate system. As described with reference to FIG. 11B, the second axis of the comparison coordinate system corresponds to an axis perpendicular to the plane containing the two first vectors. Therefore, a relatively small difference between the two first vectors may result in a large difference in shape similarity. In other words, if the difference between the first skeletal parts included in the skeletal parts to be compared between the two skeletal models M1 and M2 is relatively small, the accuracy of the shape similarity may be reduced.
[0156] In this embodiment, an example is described in which shape similarity is calculated using a global coordinate system when the difference in the first skeletal part contained in the skeletal part to be compared is relatively small, so that accurate shape similarity can be obtained even in such cases.
[0157] In this embodiment, for the sake of simplicity, descriptions that overlap with those in the first embodiment will be omitted as appropriate.
[0158] 14 is a diagram showing an example of the configuration of an information processing system 200 according to embodiment 2. The information processing system 200 includes an image analysis device 101 similar to that of embodiment 1, and an information processing device 202 that replaces the information processing device 102 according to embodiment 1.
[0159] The information processing device 202 includes a coordinate system setting unit 214 and a first similarity obtaining unit 215 instead of the coordinate system setting unit 114 and the first similarity obtaining unit 115 according to the first embodiment. Except for these, the information processing device 202 may be configured generally similarly to the information processing device 102 according to the first embodiment.
[0160] The coordinate system setting unit 214 sets a different comparison coordinate system based on whether the angle in the global coordinate system between the first vectors identified by the vector identification unit 113 satisfies a predetermined condition. For example, if the angle between the identified first vectors satisfies the predetermined condition, the coordinate system setting unit 214 sets the comparison coordinate system in the same manner as in embodiment 1. Furthermore, if the angle between the identified first vectors does not satisfy the predetermined condition, the coordinate system setting unit 214 sets the above-mentioned global coordinate system as the comparison coordinate system.
[0161] The global coordinate system is a coordinate system used in the two pieces of skeletal information (i.e., the first skeletal information and the second skeletal information) acquired by the skeletal information acquisition unit 111.
[0162] The predetermined condition is, for example, being equal to or greater than a predetermined threshold value. Note that the predetermined condition is not limited to this, and may be, for example, being greater than a predetermined threshold value.
[0163] The first similarity obtaining unit 215 obtains the shape similarity of the skeletal parts to be compared using a comparison coordinate system set by the coordinate system setting unit 214 based on a predetermined condition regarding the angle between the first vectors. The shape similarity may be, for example, an inner product obtained by the same method as in the first embodiment.
[0164] (Operation of Information Processing System 200) Hereinafter, a description will be given of the operation of the information processing system 200. The information processing system 200 executes information processing including image processing similar to that of the first embodiment and comparison processing different from that of the first embodiment.
[0165] FIG. 15 is a flowchart illustrating an example of a comparison process according to the second embodiment.
[0166] As shown in the figure, steps S201 to S203 are executed in the same manner as in the first embodiment.
[0167] The coordinate system setting unit 214 determines whether or not the angle between the two first vectors identified in step S203 satisfies a predetermined condition in the global coordinate system (step S301).
[0168] If the angle between the first vectors satisfies a predetermined condition (step S301; Yes), the coordinate system setting unit 214 executes step S204 similar to that of embodiment 1. As a result, a comparison coordinate system is set in the same manner as in embodiment 1.
[0169] If the angle between the first vectors does not satisfy the predetermined condition (step S301; No), the coordinate system setting unit 214 sets the above-mentioned global coordinate system as the comparison coordinate system (step S302).
[0170] The first similarity obtaining unit 215 obtains the shape similarity using the comparison coordinate system set in step S204 or S302 and the first and second vectors identified in step S203 (step S205).
[0171] The comparison coordinate system set in step S204 or S302 is a comparison coordinate system set by the coordinate system setting unit 214. For example, the first similarity acquisition unit 215 may calculate the shape similarity by performing the same processing as the first similarity acquisition unit 115 in embodiment 1, except for using such a comparison coordinate system. That is, for example, the first similarity acquisition unit 215 may calculate the shape similarity of the skeletal parts to be compared in the same manner as in embodiment 1, using the comparison coordinate system set by the coordinate setting unit 214 based on predetermined conditions regarding the angles between the first vectors.
[0172] The display control unit 117 executes the same display process (step S206) as in the first embodiment using the shape similarity calculated in the process of step S205, and ends the comparison process.
[0173] As described above, according to this embodiment, when the angle between the identified first vectors in the global coordinate system used in the two pieces of acquired skeleton information satisfies a predetermined condition, the coordinate system setting unit 214 sets a comparison coordinate system based on the identified first vector. When the angle does not satisfy the predetermined condition, the coordinate system setting unit 214 sets the global coordinate system as the comparison coordinate system.
[0174] This allows the shape similarity to be calculated using the global coordinate system as the comparison coordinate system when the angle between the first vectors does not satisfy a predetermined condition, thereby enabling more accurate comparison of the skeletal shapes of the skeletal parts included in each of the two postures.
[0175] Third Embodiment In the first embodiment, an example was described in which there is one skeletal part to be compared with the skeletal shape. In the third embodiment, an example was described in which there are multiple skeletal parts to be compared with the skeletal shape. In particular, in this embodiment, an example was described in which the skeletal parts to be compared with the skeletal shape are all skeletal parts included in the part definition information 112a.
[0176] In addition, when there are multiple skeletal parts to be compared with the skeletal shape, the multiple skeletal parts may be skeletal parts selected by the user from the skeletal parts included in the part definition information 112a, or may be predetermined skeletal parts (for example, part of the part definition information 112a).
[0177] In this embodiment, for the sake of simplicity, descriptions that overlap with those in the first embodiment will be omitted as appropriate.
[0178] 16 is a diagram showing an example of the configuration of an information processing system 300 according to embodiment 3. The information processing system 300 includes an image analysis device 101 similar to that of embodiment 1, and an information processing device 302 that replaces the information processing device 102 according to embodiment 1.
[0179] The information processing device 302 includes a second similarity acquisition unit 318 in addition to the same functional configuration as in the first embodiment. Except for this, the information processing device 302 may be configured generally similarly to the information processing device 102 according to the first embodiment.
[0180] However, the vector identification unit 113, coordinate system setting unit 114, and first similarity acquisition unit 115 according to this embodiment may perform the same processing for each of the multiple skeletal parts to be compared as in embodiment 1. Furthermore, the display control unit 117 may cause the display unit 116 to display at least one of the skeletal information pieces using the shape similarity calculated for each of the multiple skeletal parts to be compared.
[0181] For example, the vector identification unit 113 identifies vectors indicating each skeletal part constituting each of the plurality of skeletal parts to be compared, based on each of the two pieces of skeletal information acquired by the skeletal information acquisition unit 111 and the part definition information 112a. That is, the vector identification unit 113 identifies, for each of the plurality of skeletal parts to be compared, a first vector and a second vector indicating a first skeletal part and a second skeletal part constituting the skeletal part, respectively.
[0182] For example, the coordinate system setting unit 114 sets a comparison coordinate system based on the first vector identified by the vector identification unit 113 for each of the multiple skeletal parts to be compared.
[0183] For example, the first similarity acquisition unit 115 calculates the shape similarity of each of the multiple skeletal parts to be compared using the comparison coordinate system set by the coordinate system setting unit 114 and the first vector and second vector identified by the vector identification unit 113.
[0184] For example, the display control unit 117 displays at least one of the two pieces of skeletal information acquired by the skeletal information acquisition unit 111 on the display unit 116 in a predetermined display mode depending on the shape similarity of each of the multiple skeletal parts to be compared.
[0185] In detail, for example, when there are multiple skeletal parts to be compared in skeletal shape, the display control unit 117 may cause the display unit 116 to display the multiple skeletal parts in a display mode determined in advance according to their respective shape similarities. The display control unit 117 may cause the display unit 116 to display skeletal parts corresponding to shape similarities lower than a predetermined similarity threshold in a display mode different from that of skeletal parts corresponding to shape similarities equal to or higher than the predetermined similarity threshold.
[0186] The second similarity acquisition unit 318 obtains a posture similarity, which is the similarity between postures of the two pieces of skeleton information obtained by the skeleton information acquisition unit 111. For example, the second similarity acquisition unit 318 obtains the posture similarity based on the multiple shape similarities obtained by the first similarity acquisition unit 115.
[0187] The posture similarity is, for example, an average value or a sum of the shape similarities of the multiple skeletal parts to be compared. The display control unit 117 may display the posture similarity on the display unit 116, or may display at least one of the skeletal information on the display unit 116 in a display mode according to the posture similarity.
[0188] (Operation of Information Processing System 300) Hereinafter, a description will be given of the operation of the information processing system 300. The information processing system 300 executes information processing including image processing similar to that of the first embodiment and comparison processing different from that of the first embodiment.
[0189] FIG. 17 is a flowchart illustrating an example of a comparison process according to the third embodiment.
[0190] As shown in the figure, step S201 is executed in the same manner as in the first embodiment.
[0191] The vector identification unit 113 refers to the part definition information 112a to identify multiple skeleton parts to be compared, and then performs control to repeat steps S203 to S205 for each of the identified multiple skeleton parts (loop A: step S401).
[0192] In this embodiment, the vector identification unit 113 identifies all skeletal parts included in the part definition information 112a (see FIG. 5) as skeletal parts to be compared. Then, the vector identification unit 113 executes step S203 for each of the identified skeletal parts. At the same time, the vector identification unit 113 causes the coordinate system setting unit 114 and the first similarity acquisition unit 115 to execute steps S204 to S205 for each of the identified skeletal parts.
[0193] Steps S203 to S205 executed for each of the multiple skeleton parts may be the same as those in the first embodiment.
[0194] The second similarity obtaining unit 318 obtains a posture similarity based on a plurality of shape similarities obtained for each of a plurality of skeletal parts by repeatedly executing steps S203 to S205 (step S402).
[0195] The display control unit 117 executes steps S203 to S205 repeatedly to perform a display process (step S206) similar to that of embodiment 1 using at least one of the multiple shape similarities obtained for each of the multiple skeletal parts, and then terminates the comparison process.
[0196] In step S206 according to this embodiment, the display control unit 117 may cause the display unit 116 to display the posture similarity calculated in step S402.
[0197] FIG. 18 is a diagram illustrating an example of display of skeleton information according to the third embodiment.
[0198] The display example of skeletal information shown in Fig. 18 includes first skeletal information and second skeletal information. In the display example of Fig. 18, each of the comparison objects, "left arm," "right arm," "left leg," "right leg," and "left groin," is displayed so as to be identifiable using a mark surrounded by an ellipse with a dashed line.
[0199] 18, the "left arm," "right arm," "left leg," "right leg," and "left groin" to be compared are shown with lines of thicknesses corresponding to their respective degrees of shape similarity. This is an example of a method for displaying multiple skeletal parts on the display unit 116 in a predetermined display mode corresponding to their respective degrees of shape similarity when there are multiple skeletal parts to be compared in skeletal shape.
[0200] 18, skeletal parts corresponding to shape similarities lower than 0.5 are indicated by solid lines, and skeletal parts corresponding to shape similarities equal to or higher than 0.5 are indicated by dotted lines. This is an example of a method for displaying skeletal parts corresponding to shape similarities lower than a predetermined similarity threshold in a different display mode on the display unit 116 from skeletal parts corresponding to shape similarities equal to or higher than the predetermined similarity threshold. This makes it possible to emphasize skeletal parts corresponding to shape similarities lower than the similarity threshold.
[0201] Note that a skeleton portion corresponding to a shape similarity equal to or greater than a predetermined similarity threshold may be emphasized.
[0202] In the display example of FIG. 18, the shape similarity is associated with each of the comparison targets, "left arm," "right arm," "left leg," "right leg," and "left groin."
[0203] (Operations and Effects) As described above, according to this embodiment, the information processing device 302 includes a storage unit 112. The storage unit 112 stores part definition information 112a that defines a first skeletal part and a second skeletal part that constitute each skeletal part, for one or more skeletal parts that are predetermined as candidates for comparison with a skeletal shape.
[0204] The vector specifying unit 113 specifies vectors indicating each of the skeletal parts that make up each of the plurality of skeletal parts, based on each of the two pieces of acquired skeletal information and the part definition information 112a.
[0205] This allows the shape similarity to be calculated for each of the multiple skeletal parts. Therefore, by appropriately selecting or setting the skeletal parts to be compared, the shape similarity of the desired multiple skeletal parts can be calculated. Therefore, it is possible to accurately compare the skeletal shapes of the skeletal parts included in each of the two postures while improving user convenience.
[0206] According to this embodiment, the information processing device 302 further includes a second similarity acquisition unit 318. The second similarity acquisition unit 318 obtains a posture similarity, which is the similarity between the postures of the two acquired pieces of skeleton information.
[0207] There are multiple skeletal parts (i.e., skeletal parts to be compared with the skeletal shape). The vector specification unit 113 calculates the vectors of each skeletal part constituting each of the multiple skeletal parts based on the two pieces of acquired skeletal information. The first similarity acquisition unit 115 calculates the shape similarity of each of the multiple skeletal parts. The second similarity acquisition unit 318 calculates the posture similarity based on the multiple calculated shape similarities.
[0208] This allows the user to easily know the overall similarity of the postures by referring to the posture similarity, thereby improving user convenience.
[0209] According to this embodiment, when there are multiple skeletal parts to be compared in skeletal shape, the display control unit 117 causes the display unit 116 to display the multiple skeletal parts in a display mode that is predetermined according to their respective shape similarities.
[0210] This allows the user to easily recognize the shape similarity between the multiple skeletal parts, thereby improving user convenience.
[0211] According to this embodiment, the display control unit 117 causes the display unit 116 to display skeletal parts corresponding to shape similarities lower than a predetermined similarity threshold in a different display mode from skeletal parts corresponding to shape similarities equal to or higher than the predetermined similarity threshold.
[0212] This allows either a skeleton part whose shape similarity is lower than the threshold value or a skeleton part whose shape similarity is equal to or higher than the threshold value to be displayed more emphasized than the other skeleton parts, allowing the user to easily recognize the skeleton part, thereby improving user convenience.
[0213] Although the embodiments and modifications of the present invention have been described above with reference to the drawings, these are merely examples of the present invention, and various configurations other than those described above can also be adopted.
[0214] In addition, although the flowcharts used in the above description show multiple steps (processes) in a sequential order, the order of steps performed in each embodiment is not limited to the order shown. In each embodiment, the order of steps shown in the drawings can be changed as long as it does not cause any problems in terms of content. Furthermore, the above-described embodiments and variations can be combined as long as the content is not contradictory.
[0215] Some or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes.
[0216] 1. An information processing device comprising: skeletal information acquisition means for acquiring first skeletal information and second skeletal information, each of which indicates a posture; vector identification means for identifying, for each of the two pieces of acquired skeletal information, a first vector and a second vector indicating the first skeletal portion and the second skeletal portion, respectively, which are portions constituting skeletal portions to be compared in skeletal shape and which are adjacent to each other; and first similarity acquisition means for calculating the shape similarity of the skeletal portions by using the second vector obtained when the first vector is positioned so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal portions. 2. The information processing device described in 1., further comprising coordinate system setting means for setting the comparison coordinate system consisting of a first axis, a second axis, and a third axis that are perpendicular to each other, based on the first vector identified for each of the first skeletal information and the second skeletal information, wherein the first axis is an axis that coincides with the first vector obtained from each of the two pieces of acquired skeletal information, and the second axis is an axis perpendicular to each of the first vectors obtained from each of the two pieces of acquired skeletal information. The information processing device according to 1. or 2., wherein the shape similarity includes an angle or an inner product of the second vector when the first vector is positioned in the comparison coordinate system so that its ends coincide with each other. 4. The information processing device according to 2. or 3., wherein the coordinate system setting means sets the comparison coordinate system based on the specified first vector when an angle between the specified first vectors in a global coordinate system used in the two pieces of acquired skeletal information satisfies a predetermined condition, and sets the global coordinate system as the comparison coordinate system when the angle does not satisfy the predetermined condition. 5. The information processing device according to any one of 1. to 4., further comprising: storage means for storing part definition information defining a first skeletal part and a second skeletal part constituting each skeletal part for one or more skeletal parts predetermined as candidates for comparison of the skeletal shapes, and the vector identification means identifies a vector indicating each skeletal part constituting each of the one or more skeletal parts based on each of the two pieces of acquired skeletal information and the part definition information.6. The information processing device according to any one of 1. to 5., further comprising second similarity acquisition means for acquiring a posture similarity, which is the similarity of the posture for the two pieces of acquired skeletal information, wherein there are a plurality of skeletal parts, the vector identification means acquires a vector of each skeletal part constituting each of the plurality of skeletal parts based on the two pieces of acquired skeletal information, the first similarity acquisition means acquires a shape similarity for each of the plurality of skeletal parts, and the second similarity acquisition means acquires the posture similarity based on the acquired plurality of shape similarities. 7. The information processing device according to any one of 1. to 6., further comprising display control means for causing display means to display at least one piece of skeletal information of the two pieces of acquired skeletal information in a display mode predetermined according to the shape similarity of the skeletal parts. 8. The information processing device according to 7., wherein the display control means causes display means to display at least one piece of skeletal information, and causes display means to display the skeletal part in a display mode predetermined according to the shape similarity. The information processing device described in 8., wherein, when there are multiple skeletal parts to be compared with the skeletal shape, the display control means causes the display means to display the multiple skeletal parts in a display mode determined in advance according to the respective shape similarities. 10. The information processing device described in 9., wherein the display control means causes the display means to display the skeletal parts corresponding to the shape similarity lower than a predetermined similarity threshold in a display mode different from that of the skeletal parts corresponding to the shape similarity equal to or higher than the predetermined similarity threshold. 11. The information processing device described in any one of 7. to 10., wherein the display control means causes the display means to display the shape similarities in association with the skeletal parts. 12. The information processing device described in any one of 7. to 11., wherein the display control means causes the display means to display at least one piece of skeletal information so that the skeletal parts to be compared with the skeletal shape can be identified.13. An information processing system comprising: the information processing device described in any one of 1. to 12.; and an image analyzing device that determines, based on one or more images, the first skeletal information and the second skeletal information indicating a first posture and a second posture, respectively, for one or more objects included in the one or more images, wherein the skeleton obtaining means obtains the first skeletal information and the second skeletal information from the image analyzing device. 14. An information processing method in which one or more computers obtain first skeletal information and second skeletal information, each indicating a posture, for each of the two obtained skeletal information, identify first and second vectors indicating adjacent first and second skeletal parts, respectively, that constitute skeletal parts to be compared in skeletal shapes, and obtain the shape similarity of the skeletal parts using the second vectors when the first vectors are positioned so that their ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts. The information processing method according to 14., further comprising setting the comparison coordinate system composed of a first axis, a second axis, and a third axis that are perpendicular to each other, based on a first vector identified for each of the first skeletal information and the second skeletal information, wherein the first axis is an axis that coincides with the first vector determined from each of the two pieces of acquired skeletal information, and the second axis is an axis that is perpendicular to each of the first vectors determined from each of the two pieces of acquired skeletal information. 16. The information processing method according to 14. or 15., wherein the shape similarity includes the angle or dot product of the second vector when the first vector is placed in the comparison coordinate system so that their ends coincide with each other. 17. 15. The information processing method according to 16. or 17, wherein, in setting the comparison coordinate system, if an angle between the identified first vectors in a global coordinate system used in the two pieces of acquired skeleton information satisfies a predetermined condition, the comparison coordinate system is set based on the identified first vector, and if the angle does not satisfy the predetermined condition, the global coordinate system is set as the comparison coordinate system.18. The information processing method described in any one of 14. to 17., wherein specifying the first vector and the second vector includes specifying vectors indicating each skeletal part constituting one or more skeletal parts based on each of the two pieces of acquired skeletal information and part definition information defining a first skeletal part and a second skeletal part constituting each skeletal part for one or more skeletal parts predetermined as candidates for comparison with the skeletal shape. 19. The information processing method described in any one of 14. to 18., further comprising calculating a posture similarity, which is the similarity of the posture for the two pieces of acquired skeletal information, wherein there are multiple skeletal parts, specifying the first vector and the second vector includes calculating a vector for each skeletal part constituting each of the multiple skeletal parts based on the two pieces of acquired skeletal information, calculating the shape similarity for each of the multiple skeletal parts, and calculating the posture similarity includes calculating the posture similarity based on the calculated multiple shape similarities. 20. The information processing method according to any one of 14. to 19., further comprising displaying at least one of the two pieces of acquired skeletal information on a display means in a display mode predetermined according to the shape similarity of the skeletal parts. 21. The information processing method according to 20., in which displaying the at least one piece of skeletal information causes the display means to display the at least one piece of skeletal information and also causes the display means to display the skeletal parts in a display mode predetermined according to the shape similarity. 22. The information processing method according to 21., in which displaying the at least one piece of skeletal information causes the display means to display, when there are multiple skeletal parts to be compared with the skeletal shapes, the multiple skeletal parts in a display mode predetermined according to their respective shape similarities. 23. The information processing method according to 22., in which displaying the at least one piece of skeletal information causes the display means to display the skeletal parts corresponding to the shape similarity lower than a predetermined similarity threshold in a display mode different from the skeletal parts corresponding to the shape similarity equal to or higher than the predetermined similarity threshold.24. The information processing method according to any one of 20. to 23., wherein displaying at least one piece of skeletal information causes the display means to display the shape similarity in association with the skeletal part. 25. A program for causing one or more computers to execute the following: acquire first skeletal information and second skeletal information, each indicating a posture; identify, for each of the two pieces of acquired skeletal information, a first vector and a second vector indicating the first skeletal part and the second skeletal part, respectively, which are parts that constitute skeletal parts to be compared in skeletal shape and are adjacent to each other; and determine the shape similarity of the skeletal parts using the second vector when the first vector is positioned so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts. 26. 25. The program further causes the program to set the comparison coordinate system composed of a first axis, a second axis, and a third axis that are perpendicular to each other, based on a first vector identified for each of the first skeletal information and the second skeletal information, wherein the first axis is an axis that coincides with the first vector determined from each of the two pieces of acquired skeletal information, and the second axis is an axis that is perpendicular to each of the first vectors determined from each of the two pieces of acquired skeletal information. 27. The program according to 25. or 26., wherein the shape similarity includes an angle or an inner product of the second vector when the first vector is positioned in the comparison coordinate system so that its ends coincide with each other. 28. In setting the comparison coordinate system, if an angle between the identified first vectors in a global coordinate system used in the two pieces of acquired skeletal information satisfies a predetermined condition, the comparison coordinate system is set based on the identified first vector, and if the angle does not satisfy the predetermined condition, the global coordinate system is set as the comparison coordinate system. Or 27. The program according to item 27.29. The program described in any one of 25. to 28., wherein specifying the first vector and the second vector specifies vectors indicating each skeletal part constituting one or more skeletal parts based on each of the two pieces of acquired skeletal information and part definition information defining the first skeletal part and the second skeletal part constituting each skeletal part for one or more skeletal parts predetermined as candidates for comparison of the skeletal shape. 30. The program described in any one of 25. to 29., further causing the program to calculate posture similarity, which is the similarity of the posture for the two pieces of acquired skeletal information, wherein there are multiple skeletal parts, specifying the first vector and the second vector calculates vectors for each skeletal part constituting each of the multiple skeletal parts based on the two pieces of acquired skeletal information, calculating shape similarity for each of the multiple skeletal parts, and calculating posture similarity calculates the posture similarity based on the calculated multiple shape similarities. 31. The program according to any one of 25. to 30., further comprising causing a display means to display at least one of the two pieces of acquired skeletal information in a display mode predetermined according to the shape similarity of the skeletal parts. 32. The program according to 31., wherein, in displaying the at least one piece of skeletal information, the display means displays the at least one piece of skeletal information and also displays the skeletal parts on the display means in a display mode predetermined according to the shape similarity. 33. The program according to 32., wherein, in displaying the at least one piece of skeletal information, if there are multiple skeletal parts to be compared with the skeletal shapes, the multiple skeletal parts are displayed on the display means in a display mode predetermined according to their respective shape similarities. 34. The program according to 33., wherein, in displaying the at least one piece of skeletal information, the display means displays the skeletal parts corresponding to the shape similarity lower than a predetermined similarity threshold in a display mode different from the skeletal parts corresponding to the shape similarity equal to or higher than the predetermined similarity threshold.35. The program according to any one of 31. to 34., wherein displaying at least one of the skeleton information items causes the display means to display the shape similarity in association with the skeleton part. 36. A recording medium having the program according to any one of 25. to 35. recorded thereon.
[0217] This application claims priority based on Japanese Patent Application No. 2023-038533, filed March 13, 2023, the disclosure of which is incorporated herein in its entirety by reference.
[0218] 100, 200, 300 Information processing system 101 Image analysis device 102, 202, 302 Information processing device 111 Skeleton information acquisition unit 112 Storage unit 112a Part definition information 113 Vector identification unit 114, 214 Coordinate system setting unit 115, 215 First similarity acquisition unit 116 Display unit 117 Display control unit 318 Second similarity acquisition unit
Claims
1. An information processing device comprising: a skeletal information acquisition means for acquiring first skeletal information and second skeletal information, each of which indicates a posture; a vector identification means for identifying, for each of the two acquired skeletal information, a first vector and a second vector indicating the first skeletal part and the second skeletal part that are adjacent to each other and which constitute a skeletal part to be compared in skeletal shape; and a first similarity acquisition means for calculating the shape similarity of the skeletal part using the second vector when the first vector is positioned so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts.
2. An information processing device as described in claim 1, further comprising a coordinate system setting means for setting the comparison coordinate system consisting of a first axis, a second axis and a third axis perpendicular to each other based on a first vector identified for each of the first skeletal information and the second skeletal information, wherein the first axis is an axis that coincides with the first vector determined from each of the two acquired skeletal information, and the second axis is an axis perpendicular to each of the first vectors determined from each of the two acquired skeletal information.
3. An information processing device according to claim 1 or 2, wherein the shape similarity includes an angle or inner product of the second vector when the first vector is positioned in the comparison coordinate system so that their ends coincide with each other.
4. The information processing device according to claim 2, wherein the coordinate system setting means sets the comparison coordinate system based on the identified first vector when the angle between the identified first vectors in the global coordinate system used in the two acquired skeletal information satisfies a predetermined condition, and sets the global coordinate system as the comparison coordinate system when the angle does not satisfy the predetermined condition.
5. An information processing device as described in claim 1 or 2, further comprising a memory means for storing part definition information defining a first skeletal part and a second skeletal part constituting each of one or more skeletal parts predetermined as candidates for comparison of the skeletal shape, wherein the vector identification means identifies vectors indicating each skeletal part constituting each of the one or more skeletal parts based on each of the two pieces of skeletal information acquired and the part definition information.
6. An information processing device as described in claim 1 or 2, further comprising a second similarity acquisition means for acquiring a posture similarity, which is the similarity of the posture for the two pieces of skeletal information acquired, wherein the skeletal parts are multiple, the vector identification means acquires a vector of each skeletal part that constitutes each of the multiple skeletal parts based on the two pieces of skeletal information acquired, the first similarity acquisition means acquires a shape similarity for each of the multiple skeletal parts, and the second similarity acquisition means acquires the posture similarity based on the multiple shape similarities acquired.
7. An information processing device according to claim 1 or 2, further comprising a display control means for causing a display means to display at least one of the two pieces of acquired skeletal information in a display mode determined in advance according to the shape similarity of the skeletal parts.
8. An information processing system comprising: an information processing device according to claim 1 or 2; and an image analysis device that determines, based on one or more images, the first skeletal information and the second skeletal information indicating a first orientation and a second orientation, respectively, for one or more objects included in the one or more images, wherein the skeleton acquisition means acquires the first skeletal information and the second skeletal information from the image analysis device.
9. An information processing method in which one or more computers acquire first skeletal information and second skeletal information, each of which indicates a posture; for each of the two acquired skeletal information, identify a first vector and a second vector indicating the first skeletal part and the second skeletal part, respectively, which are parts that constitute skeletal parts to be compared in skeletal shape and are adjacent to each other; and determine the shape similarity of the skeletal parts by using the second vector when the first vector is positioned so that its ends coincide with each other in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts.
10. A recording medium having recorded thereon a program for causing one or more computers to execute the following steps: acquire first skeletal information and second skeletal information, each of which indicates a posture; for each of the two pieces of acquired skeletal information, identify a first vector and a second vector indicating the first skeletal part and the second skeletal part, respectively, which are parts that constitute a skeletal part to be compared in skeletal shape and are adjacent to each other; and, in a comparison coordinate system for comparing the skeletal shapes of the skeletal parts, use the second vector when the first vector is positioned so that its ends are aligned with each other to determine the shape similarity of the skeletal parts.
Citation Information
Patent Citations
Posture determination method, program, device, and system
JP2013037454A
Method and apparatus for pose processing
US20190347826A1
Image processing device, image processing method, and program
WO2021255846A1
