Microsoft Patent | Depth image compression
Patent: Depth image compression
Drawings: Click to check drawins
Publication Number: 20130106994
Publication Date: 20130502
Assignee: Microsoft Corporation
Abstract
Depth image compression is described for example, to enable body-part centers of players of a game to be detected in real time from depth images or for other applications such as augmented reality, and human-computer interaction. In an embodiment, depth images which have associated body-part probabilities, are compressed using probability mass which is related to the depth of an image element and a probability of a body part for the image element. In various examples, compression of the depth images using probability mass enables body part center detection, by clustering output elements, to be speeded up. In some examples, the scale of the compression is selected according to a depth of a foreground region and in some cases different scales are used for different image regions. In some examples, certainties of the body-part centers are calculated using probability masses of clustered image elements.
Claims
1. A computer-implemented method of compressing a depth image comprising probability information, the method comprising: receiving an image comprising a plurality of image elements each having a depth value and a probability distribution over a plurality of classes representing the likelihood that the image element is a member of each of the classes; for each image element, calculating a probability mass for each class, the probability mass being related to the depth of the image element and the probability of the class for the image element; calculating, for each class, a plurality of output elements at lower resolution than the received image at least by aggregating the image elements on the basis of the probability mass.
2. A method as claimed in claim 1 each output element comprising any of: an aggregate probability mass and a plurality of characteristics of a probability distribution; a vector having a center of mass of a probability distribution in each of three dimensions and an aggregate probability mass; a downsampled body part vector having a center of mass of a body part probability distribution in each of at least three dimensions and an aggregate probability mass.
3. A method as claimed in claim 1 the classes being any of: body parts, object classes, foreground and background regions.
4. A method as claimed in claim 1 the aggregation comprising calculating a sum of a plurality of image elements each image element weighted by its probability mass; and calculating an aggregate probability mass by aggregating the probability masses of the plurality of image elements.
5. A method as claimed in claim 1 wherein calculating the output elements is carried out in parallel for each class.
6. A method as claimed in claim 1 comprising selecting a scale according to depth of a foreground region of the depth image and calculating the output elements according to that scale.
7. A method as claimed in claim 1 comprising selecting a plurality of scales and calculating a first group of the output elements according to a first one of the plurality of scales and calculating a second group of the output elements according to a second one of the plurality of scales.
8. A method as claimed in claim 1 comprising clustering selected output elements at least partly on the basis of probability mass to obtain body part center positions where the classes are body parts.
9. A method as claimed in claim 8 using a mean shift process whereby each output element is repeatedly shifted according to a weighted aggregation of neighboring output elements.
10. A method as claimed in claim 9 comprising calculating a certainty for each body part center position by using probability masses of output elements which were shifted to a cluster for that body part in the mean shift process or by counting output elements in a cluster.
11. An apparatus for compressing a depth image comprising: an input arranged to receive an image comprising a plurality of image elements each having a depth value and a probability distribution over a plurality of classes representing the likelihood that the image element is a member of each of the classes; a processor arranged to calculate, for each image element, a probability mass for each class, the probability mass being related to the depth of the image element and the probability of the class for the image element; the processor being arranged to calculate, for each class, a plurality of output elements at lower resolution than the received image by aggregating the image elements on the basis of the probability mass.
12. An apparatus as claimed in claim 11 the processor being arranged to calculate each output element such that it comprises any of: an aggregate probability mass and a plurality of characteristics of a probability distribution; a vector having a center of mass of a probability distribution in each of three dimensions and an aggregate probability mass; a downsampled body part vector having a center of mass of a body part probability distribution in each of at least three dimensions and an aggregate probability mass.
13. An apparatus as claimed in claim 11 the processor being arranged to carry out the aggregation by calculating a sum of a plurality of image elements each image element weighted by its probability mass; and to calculate an aggregate probability mass by aggregating the probability masses of the plurality of image elements.
14. An apparatus as claimed in claim 11 the processor being arranged to calculate the output elements in parallel for each class.
15. An apparatus as claimed in claim 11 the processor being arranged to select a scale according to a depth of a foreground region of the depth image and to calculate the output elements according to that scale.
16. An apparatus as claimed in claim 11 the processor being arranged to select a plurality of scales and to calculate a first group of the output elements according to a first one of the plurality of scales and to calculate a second group of the output elements according to a second one of the plurality of scales.
17. A computer-implemented method comprising: receiving an image comprising a plurality of image elements each having a depth value and a probability distribution over a plurality of body parts representing the likelihood that the image element is a member of each of the body parts; for each image element, calculating a probability mass for each body part, the probability mass being related to the depth of the image element and the probability of the body part for the image element; calculating, for each body part, a plurality of output elements at a lower resolution than the received image by aggregating the image elements on the basis of the probability mass; clustering output elements to find positions of centers of the body parts.
18. A method as claimed in claim 17 comprising determining a certainty for each of the positions of centers of the body parts by using probability masses of the output elements or by counting output elements in clusters.
19. A method as claimed in claim 17 comprising filtering output elements on the basis of probability mass before carrying out the clustering.
20. A method as claimed in claim 17 comprising selecting a scale according to depth of a foreground region of the depth image and calculating the output elements according to that scale.
Description
BACKGROUND
[0001] Depth images from depth cameras are increasingly used to detect people and objects in scenes for many applications such as to find positions of human or animal body-part centers, to find positions of objects in scenes and for other purposes such as medical image analysis. Processing the depth images is typically computationally expensive and time consuming.
[0002] Finding positions of human or animal body-part centers in image data such as depth images, color video images and other types of images may be useful in many application domains such as augmented reality, immersive gaming, human computer interaction and others. In many of these application domains body-part center positions are to be predicted in real-time and often the available image data may be noisy or incomplete. In some cases the computing resources available may comprise graphics processing units that are operable in parallel to give fast processing times. However, this is not always the case. There is a need to reduce the amount of computation without significantly impacting accuracy and usability of the resulting body-part center positions.
[0003] Existing body-part position detection systems may involve several stages of computation. Typically a detection system is trained in advance using labeled image data.
[0004] The embodiments described below are not limited to implementations which solve any or all of the disadvantages of known depth image compression systems.
SUMMARY
[0005] The following presents a simplified summary of the disclosure in order to provide a basic understanding to the reader. This summary is not an extensive overview of the disclosure and it does not identify key/critical elements or delineate the scope of the specification. Its sole purpose is to present a selection of concepts disclosed herein in a simplified form as a prelude to the more detailed description that is presented later.
[0006] Depth image compression is described for example, to enable body-part centers of players of a game to be detected in real time from depth images or for other applications such as augmented reality, and human-computer interaction. In an embodiment, depth images which have associated body-part probabilities are compressed using probability mass which is related to the depth of an image element and a probability of a body part for the image element. In various examples, compression of the depth images and probability mass images enables body part center detection to be speeded up. In some examples, the scale of the compression is selected according to a depth of a foreground region and in some cases different scales are used for different image regions. In some examples, certainties of the body-part centers are calculated using probability masses of clustered image elements.
[0007] Many of the attendant features will be more readily appreciated as the same becomes better understood by reference to the following detailed description considered in connection with the accompanying drawings.
DESCRIPTION OF THE DRAWINGS
[0008] The present description will be better understood from the following detailed description read in light of the accompanying drawings, wherein:
[0009] FIG. 1 is a schematic diagram of a body-part center position detection system;
[0010] FIG. 2 is a schematic diagram of a region near to a depth camera and another region far from a depth camera;
[0011] FIG. 3 is a flow diagram of a method of image compression for fast body-part center detection;
[0012] FIG. 4 is a flow diagram of a method of using down sampled body part vectors for fast body-part center detection;
[0013] FIG. 5 is a schematic diagram of a mean shift process;
[0014] FIG. 6 is a flow diagram of a mean shift process;
[0015] FIG. 7 is a schematic diagram of a camera-based control system for controlling a computer game;
[0016] FIG. 8 is a schematic diagram of an image capture device;
[0017] FIG. 9 illustrates an exemplary computing-based device in which embodiments of a body-part position detector may be implemented.
[0018] Like reference numerals are used to designate like parts in the accompanying drawings.
DETAILED DESCRIPTION
[0019] The detailed description provided below in connection with the appended drawings is intended as a description of the present examples and is not intended to represent the only forms in which the present example may be constructed or utilized. The description sets forth the functions of the example and the sequence of steps for constructing and operating the example. However, the same or equivalent functions and sequences may be accomplished by different examples.
[0020] Although the present examples are described and illustrated herein as being implemented in a computer game system, the system described is provided as an example and not a limitation. As those skilled in the art will appreciate, the present examples are suitable for application in a variety of different types of computing and image processing systems. The examples describe using body part probability information. However, the probability information may be about other classes such as object classes.
[0021] FIG. 1 is a schematic diagram of a body-part center position detection system implemented at computing device 102. The computing device 102 receives a depth image of a scene depicting at least one player of a game or any human or animal body or part of a human or animal body. The depth image may be part of a stream of depth images from a depth camera or other image capture device. Associated with the depth image are body part probabilities which have been computed from the depth image by another process. Thus the computing device 102 receives depths and body part probabilities 100. Using this information the computing device calculates 3D positions of body part centers 104 together with a measure of certainty of those 3D positions. The body part center information may be used for skeletal tracking of players, for gesture detection, or other purposes.
[0022] Each image element of the depth image may have an associated probability distribution representing the probability that the image element depicts each of a plurality of specified classes. In some examples the classes are body parts but other classes may be used such as object classes (e.g. building, sky, person, coffee mug) or other classes. For example, the probability distribution represents the likelihood that the image element is a member of each of the classes. In one example, there are 31 or more different body parts although any number of body parts may be specified. Examples of body parts include but are not limited to: head, neck, shoulder, arm, elbow, wrist, hand, torso, leg, knee, ankle, foot. As illustrated in FIG. 1 in region 106, the depth image may be represented as a two-dimensional array 108 of image elements (partly shown in FIG. 1) where an image element may be a pixel, patch of pixels, or other group of pixels or may be a voxel, group of voxels or other image element of dimension higher than 2. In the example illustrated in FIG. 1 each image element has a depth value (represented by symbol Z) and an associated probability distribution (represented by symbol p(bi). The probability distribution may be thought of (in an example) as a histogram 110 of probability against body part as illustrated in FIG. 1. The histogram stores a probability value for each body part representing a probability that the particular image element depicts the specified body part.
[0023] The body part probabilities, such as the histogram 110 or other representation of a probability distribution, are obtained from the depth image using any suitable known process for achieving this. For example, this process takes an input depth image and segments it into a dense probabilistic body part labeling. The segmentation into body parts is treated as a per-pixel classification task. A deep randomized decision forest classifier is trained using typically hundreds of thousands of training images. The classifier uses discriminative depth comparison image features to yield 3D translation invariance while maintaining high computational efficiency. For further speed the classifier may be run in parallel on each pixel on a graphics processing unit. Once trained the classifier is used to carry out the per-pixel classification and produces a probability distribution for each pixel representing the probability that pixel depicts each of a plurality of body parts.
[0024] The computing device 102 takes the depths and body part probabilities 100 and produces 3D positions of body part centers 104 together with certainty information. At a high level, the computing device 102 may be thought of as clustering the depth and probabilities to produce the body part centers. Carrying out clustering on the depths and body part probabilities 100 is computationally expensive and so difficult to achieve in real time, especially where computing resources are limited (such as embedded systems or when no graphics processing units are available). The examples described herein use an image compression process to compress the depths and body part probabilities 100 and then carry out clustering on the compressed image to produce the body part centers. The image compression process is designed to mitigate against loss of accuracy in body part center detection. To do this, the image compression process takes into account a characteristic referred to herein as probability mass.
[0025] Probability mass is now explained in more detail with reference to FIG. 2 which is a schematic diagram of a region 200 near to a depth camera and another region 202 far from a depth camera. An image element 204 at the depth camera depicts a region 206 in a scene which is far from the depth camera. The surface area of the depicted region 206 related to the surface area of the image element 204 by the square of the depth (or distance of the depicted region from the camera). The probability mass for a given body part and image element is defined as the probability input value (i.e. the probability that the image element depicts the body part) multiplied by the square of the depth value at the image element. This ensures that image elements far away are given equivalent probability mass to image elements close to the camera. More generally, probability mass is related to the depth of the image element and to the probability of the body part given the image element.
[0026] FIG. 3 is a flow diagram of a method of compressing a depth image which has associated body-part probability information at each image element. A downsample scale is selected 300. In some examples this scale is selected automatically and may be dynamically adjusted. In other examples the scale is preconfigured and in other examples it is manually set by a user on the basis of empirical data.
[0027] A probability mass w is calculated 302 for each body part at each image element. For example, if there are 31 body parts then 31 probability masses are calculated at each image element. The probability mass may be calculated using the depth and the probability information as mentioned above.
[0028] A body part is selected 304 and a process 306 for downsampling the input data is initiated. A group of image elements from the depth image is selected 308 according to the downsample scale. For example, the group may be a block of four neighboring image elements which form a square where the depth image is represented as a two dimensional array of image elements. However, it is not essential to use a block of four image elements, other sizes of block or other shapes or regions may be used. In some examples the group of image elements may be of three or higher dimensions.
[0029] The probability values of the image elements in the selected group are aggregated, for example, by carrying out a sum weighted by probability mass, and the aggregate value is stored. The aggregate probability mass of the image elements of the group is also calculated and stored.
[0030] Another group of image elements (for example, the next block of four image elements in the 2D array) is selected and the aggregation process repeated until all the image elements of the depth image are processed 312.
[0031] The downsampled input data is stored 314 for the body part. The next body part is selected and the process repeats until all body parts are processed 316. In this way the input image is compressed in the sense that the size of the downsampled data is smaller than the input data. For example, each d.times.d block of probabilities and depths is reduced to an output element such as a vector (x, y, z, w) where x, y, z are the center of mass for the input probabilities and w is the total probability mass. In examples where body part probability information is used the output element may be referred to as a downsampled body part vector. It is not essential to use a vector format for the output elements; other formats may be used. The output element comprises characteristics of a probability distribution such as x, y, z and a probability mass w.
[0032] The method of FIG. 3 may be carried out at least partially in parallel using multi-threading or in any other suitable manner. For example, the downsampling process 306 may be carried out in parallel for each body part. Also, the downsampling process itself may make use of parallel processing.
[0033] By retaining the aggregate probability mass information in the output elements and by taking into account the probability mass information during the aggregation of the probability values, the output elements retain information which enables body part centers to be determined using clustering. However, as the output elements are compressed in size compared with the original input data the clustering process is less computationally expensive.
[0034] The downsampling process may be thought of as trading off accuracy versus computation time. The accuracy levels to produce workable results vary according to how near or far the subjects (human or animal bodies) are from the depth camera. This may be taken into account by appropriate selection of the downsample scale at step 300 of FIG. 3. For example, the downsample scale may be selected according to the depth of a foreground region of the depth image. Typically the foreground region depicts one or more players or other human or animal bodies in the scene. The depth of the foreground region may be obtained from the depth image itself. For example, if a player is relatively far from a depth camera the accuracy levels may need to be increased as compared with a situation where the player is close to the depth camera. It is possible to dynamically adjust the scale during operation of a game or other system where a continuous stream of depth images are captured and processed using the methods described herein. Also, the scale may be differentially selected for different regions of the depth image. For example, where multiple players are at different depths from the depth camera. In an example, the process of FIG. 3 is modified to select a plurality of scales and calculate a first group of the output elements according to a first one of the plurality of scales and calculate a second group of the output elements according to a second one of the plurality of scales.
[0035] With reference to FIG. 4 the downsampled input data for body part A 400 is received and filtered 402 according to probability mass. For example, the filter removes downsampled body part vectors where the compressed body part probability mass is too low. Clustering 404 is carried out on the remaining downsampled body part vectors of the downsampled input data and the cluster (or clusters) which is found provides a hypothesis of the 3D position of the center of body part A. The probability mass may be used to give an indication of the certainty about the 3D position of the center of body part A. Any type of clustering process may be used and a non-exhaustive list of examples is: k-means clustering, agglomerative clustering, mean shift clustering.
[0036] In an example, mean shift clustering is used as now described with reference to FIGS. 5 and 6. A mean shift process is illustrated schematically in FIG. 5. Downsampled body part vectors comprising depths and probabilities for body part A are shown at 500. A downsampled body part vector 504 is selected and shifted to a new location 506 in 3D world space. For ease of drawing, 3D world space is depicted as a 2D output region 502 in FIG. 5. A shift vector 508 represents how downsampled body part vector 504 is translated to new location 506. The shift vector is calculated on the basis of neighbors of downsampled body part vector 504 when they are aggregated according to a clustering kernel such as a Gaussian kernel. The process of shifting downsampled body part vectors is repeated for all the downsampled body part vectors of input 500 and until the shift vectors are minimal. At the end of this process the downsampled body part vectors become clustered into one or more clusters. Each cluster represents a possible location of the center of body part A.
[0037] A mean shift process is now described in more detail with reference to FIG. 6. A downsampled body part vector is selected 600 from the downsampled data for body part A. For example, this downsampled data is obtained from the process of FIG. 3. The downsampled body part vector may be considered as a vector x, y, z, was mentioned above. A shift vector is found by taking 602 a mean of the vectors of the neighboring downsampled body part vectors weighted by a kernel such as a Gaussian kernel. A Gaussian kernel is a two-dimensional Gaussian function within a window or region that is the same size as a patch formed by the selected downsampled body part vector and its neighbors. Any kernel may be used which acts to cluster the vectors.
[0038] The downsampled body part vector is shifted 604 by its shift vector and the next downsampled body part vector is selected 600. This repeats 606 for all the downsampled body part vectors and until the shift vectors are below a threshold. The result is one or more clusters of downsampled body part vectors. The process outputs the 3D position of the cluster(s) as possible 3D positions of the center of the body part. Certainty information is output for each 3D position. The certainty information for a cluster is obtained by aggregating the probability masses w of each downsampled body part vector that moved into that cluster during the mean shift process, by counting the number of downsampled body part vectors that moved into that cluster, or by another process. The process (i.e. steps 600 to 606) may be repeated 608 for each body part. The processing for each body part may be carried out in parallel although that is not essential.
[0039] Various of the parameters for the methods described herein may be learnt. For example, the window size of any kernel used in the clustering process, the standard deviation of the Gaussian kernel where this is used in the clustering process, the threshold for the filtering step and any other parameters. For example, the parameters may be set to default values initially and validated against training data. The results of the validation process may be used to adjust the parameter values.
[0040] FIG. 7 shows an example camera-based control system 700 for controlling a computer game. The methods described above with reference to FIGS. 2 to 6 may be implemented in the camera-based control system. FIG. 7 shows a user 702 playing, in this illustrative example, a boxing game. In some examples, camera-based control system 700 may be used to, among other things, determine body pose, bind, recognize, analyze, track, associate to a human target, provide feedback, interpret gestures, and/or adapt to aspects of a human target such as the user 702.
[0041] The camera-based control system 700 comprises a computing device 704. The computing device 102 of FIG. 1 may be integral with the computing device 704. The computing device 704 may be a general purpose computer, gaming system or console, or dedicated image processing device. The computing device 704 may include hardware components and/or software components such that the computing device 704 may be used to execute applications such as gaming applications and/or non-gaming applications. The structure of the computing device 704 is discussed hereinafter with reference to FIG. 8 and FIG. 9.
[0042] The camera-based control system 700 further comprises a capture device 706. The capture device 706 may be, for example, an image sensor or detector that may be used to visually monitor one or more users (such user 702) such that gestures performed by the one or more users may be captured, analyzed, processed, and tracked to perform one or more controls or actions within a game or application, as described in more detail below.
[0043] The camera-based control system 700 may further comprise a display device 708 connected to the computing device 704. The computing device may be a television, a monitor, a high-definition television (HDTV), or the like that may provide game or application visuals (and optionally audio) to the user 702.
[0044] In operation, the user 702 may be tracked using the capture device 706 such that the joint positions, movements and size of user 702 may be interpreted by the computing device 704 (and/or the capture device 706) as controls that may be used to affect the application being executed by computing device 704. As a result, the user 702 may move his or her body to control an executed game or application.
[0045] In the illustrative example of FIG. 7, the application executing on the computing device 704 is a boxing game that the user 702 is playing. In this example, the computing device 704 controls the display device 708 to provide a visual representation of a boxing opponent to the user 702. The computing device 704 also controls the display device 708 to provide a visual representation of a user avatar that the user 702 may control with his or her movements. For example, the user 702 may throw a punch in physical space to cause the user avatar to throw a punch in game space. Thus, according to this example, the computing device 704 and the capture device 706 of the camera-based control system 700 may be used to recognize and analyze the punch of the user 702 in physical space such that the punch may be interpreted as a game control of the user avatar in game space.
[0046] Furthermore, some movements may be interpreted as controls that correspond to actions other than controlling the avatar. For example, the user may use movements to enter, exit, turn system on or off, pause, save a game, select a level, profile or menu, view high scores, communicate with a friend, etc. Additionally, movement of the user 702 may be used and analyzed in any suitable manner to interact with applications other than games, for example to enter text, select icons or menu items, control media playback, browse websites or operate any other controllable aspect of an operating system or application.
[0047] Reference is now made to FIG. 8, which illustrates a schematic diagram of the capture device 706 that may be used in the camera-based control system 700 of FIG. 7. In the example of FIG. 8 the capture device 706 is configured to capture video images with depth information. Such a capture device may be referred to as a depth camera. The depth information may be in the form of a depth image that includes depth values, i.e. a value associated with each image element of the depth image that is related to the distance between the depth camera and an item or object located at that image element.
[0048] The depth information may be obtained using any suitable technique including, for example, time-of-flight, structured light, stereo image, or the like. In some examples, the capture device 706 may organize the depth information into "Z layers," or layers that may be perpendicular to a Z-axis extending from the depth camera along its line of sight.
[0049] As shown in FIG. 8, the capture device 706 comprises at least one imaging sensor 800. In the example shown in FIG. 8, the imaging sensor 800 comprises a depth camera 802 arranged to capture a depth image of a scene. The captured depth image may include a two-dimensional (2-D) area of the captured scene where each image element in the 2-D area represents a depth value such as a length or distance of an object in the captured scene from the depth camera 802.
[0050] The capture device may also include an emitter 804 arranged to illuminate the scene in such a manner that depth information may be ascertained by the depth camera 802. For example, in the case that the depth camera 802 is an infra-red (IR) time-of-flight camera, the emitter 804 emits IR light onto the scene, and the depth camera 802 is arranged to detect backscattered light from the surface of one or more targets and objects in the scene. In some examples, pulsed infrared light may be emitted from the emitter 804 such that the time between an outgoing light pulse and a corresponding incoming light pulse may be detected by the depth camera and measured and used to determine a physical distance from the capture device 706 to a position on the targets or objects in the scene. Additionally, in some examples, the phase of the outgoing light wave from the emitter 804 may be compared to the phase of the incoming light wave at the depth camera 802 to determine a phase shift. The phase shift may then be used to determine a physical distance from the capture device 706 to a position on the targets or objects. In a further example, time-of-flight analysis may be used to indirectly determine a physical distance from the capture device 706 to a position on the targets or objects by analyzing the intensity of the reflected beam of light over time via various techniques including, for example, shuttered light pulse imaging.
[0051] In another example, the capture device 706 may use structured light to capture depth information. In such a technique, patterned light (e.g., light displayed as a known pattern such as grid pattern or a stripe pattern) may be projected onto the scene using the emitter 804. Upon striking the surface of one or more targets or objects in the scene, the pattern becomes deformed. Such a deformation of the pattern may be captured by the depth camera 802 and then be analyzed to determine a physical distance from the capture device 706 to a position on the targets or objects in the scene.
[0052] In another example, the depth camera 802 may be in the form of two or more physically separated cameras that view a scene from different angles, such that visual stereo data is obtained that may be resolved to generate depth information. In this case the emitter 804 may be used to illuminate the scene or may be omitted.
[0053] In some examples, in addition to the depth camera 802, the capture device 706 may comprise a regular video camera, which is referred to as an RGB camera 806. The RGB camera 806 is arranged to capture sequences of images of the scene at visible light frequencies, and may hence provide images that may be used to augment the depth images. In alternative examples, the RGB camera 806 may be used instead of the depth camera 802.
[0054] The capture device 706 shown in FIG. 8 further comprises at least one processor 808, which is in communication with the imaging sensor 800 (i.e. depth camera 802 and RGB camera 806 in the example of FIG. 8) and the emitter 804. The processor 808 may be a general purpose microprocessor, or a specialized signal/image processor. The processor 808 is arranged to execute instructions to control the imaging sensor 800 and emitter 804 to capture depth images and/or RGB images. The processor 808 may also optionally be arranged to perform processing on these images, as outlined in more detail hereinafter.
[0055] In some examples the imaging sensor is used to provide silhouette images which are two dimensional binary images identifying foreground and background regions of the depth and/or RGB images captured by the imaging sensor. The silhouette images may be formed at the imaging sensor and/or processor 808 from the captured depth and RGB images. The silhouette images may be processed using the methods described herein to predict two dimensional joint positions. In this case the silhouette images may be thought of as depth images flattened to a fixed depth. The captured depth images may be used to predict three dimensional joint positions as described in more detail below.
[0056] The capture device 706 shown in FIG. 8 further includes a memory 810 arranged to store the instructions that for execution by the processor 808, images or frames of images captured by the depth camera 802 or RGB camera 806, or any other suitable information, images, or the like. In some examples, the memory 810 may include random access memory (RAM), read only memory (ROM), cache, Flash memory, a hard disk, or any other suitable storage component. The memory 810 may be a separate component in communication with the processor 208 or integrated into the processor 808.
[0057] The capture device 706 also comprises an output interface 812 in communication with the processor 808 and is arranged to provide data to the computing device 704 via a communication link. The communication link may be, for example, a wired connection (such as USB (trade mark), Firewire (trade mark), Ethernet (trade mark) or similar) and/or a wireless connection (such as WiFi (trade mark), Bluetooth (trade mark) or similar). In other examples, the output interface 812 may interface with one or more communication networks (such as the internet) and provide data to the computing device 704 via these networks.
[0058] FIG. 9 illustrates various components of an exemplary computing-based device 704 which may be implemented as any form of a computing and/or electronic device, and in which embodiments of body part center position prediction systems may be implemented.
[0059] Computing-based device 704 comprises one or more processors 900 which may be microprocessors, controllers, graphics processing units, parallel processing units, or any other suitable type of processors for processing computing executable instructions to control the operation of the device in order to predict body part center positions in images. In some examples, for example where a system on a chip architecture is used, the processors 900 may include one or more fixed function blocks (also referred to as accelerators) which implement a part of the method of body part center positions prediction in hardware (rather than software or firmware).
[0060] The computing-based device 704 comprises one or more input interfaces 902 arranged to receive and process input from one or more devices, such as user input devices (e.g. capture device 706, a game controller 904, a keyboard 906 and/or a mouse 908). This user input may be used to control software applications or games executed on the computing device 704.
[0061] The computing-based device 704 also comprises an output interface 910 arranged to output display information to a display device 708 which may be separate from or integral to the computing device 704. The display information may provide a graphical user interface. In an example, the display device 708 may also act as the user input device if it is a touch sensitive display device. The output interface may also output data to devices other than the display device, e.g. a locally connected printing device.
[0062] The computer executable instructions may be provided using any computer-readable media that is accessible by computing based device 704. Computer-readable media may include, for example, computer storage media 912 such as memory and communications media. Computer storage media 912, such as memory, includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EPROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that may be used to store information for access by a computing device. In contrast, communication media may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave, or other transport mechanism. As defined herein, computer storage media does not include communication media. Therefore, a computer storage medium should not be interpreted to be a propagating signal per se. Although the computer storage media 912 (memory) is shown within the computing-based device 704 it will be appreciated that the storage may be distributed or located remotely and accessed via a network or other communication link (e.g. using communication interface 913).
[0063] Platform software comprising an operating system 914 or any other suitable platform software may be provided at the computing device 704 to enable application software 916 to be executed on the device. Other software that may be executed on the computing device 704 includes: body centers logic 918 (see for example, FIGS. 3-6 and description above); body part logic 920 (arranged to associate a probability distribution over body parts with each image element of a depth image). A data store 922 is provided to store data such as previously received depth images; intermediate function results; parameters, probability distributions, body part labels, and other data.
[0064] The term `computer` is used herein to refer to any device with processing capability such that it may execute instructions. Those skilled in the art will realize that such processing capabilities are incorporated into many different devices and therefore the term `computer` includes PCs, servers, mobile telephones, personal digital assistants and many other devices.
[0065] The methods described herein may be performed by software in machine readable form on a tangible storage medium e.g. in the form of a computer program comprising computer program code means adapted to perform all the steps of any of the methods described herein when the program is run on a computer and where the computer program may be embodied on a computer readable medium. Examples of tangible (or non-transitory) storage media include computer storage devices comprising computer-readable media such as disks, thumb drives, memory etc and do not include propagated signals. The software may be suitable for execution on a parallel processor or a serial processor such that the method steps may be carried out in any suitable order, or simultaneously.
[0066] This acknowledges that software may be a valuable, separately tradable commodity. It is intended to encompass software, which runs on or controls "dumb" or standard hardware, to carry out the desired functions. It is also intended to encompass software which "describes" or defines the configuration of hardware, such as HDL (hardware description language) software, as is used for designing silicon chips, or for configuring universal programmable chips, to carry out desired functions.
[0067] Those skilled in the art will realize that storage devices utilized to store program instructions may be distributed across a network. For example, a remote computer may store an example of the process described as software. A local or terminal computer may access the remote computer and download a part or all of the software to run the program. Alternatively, the local computer may download pieces of the software as needed, or execute some software instructions at the local terminal and some at the remote computer (or computer network). Those skilled in the art will also realize that by utilizing conventional techniques known to those skilled in the art that all, or a portion of the software instructions may be carried out by a dedicated circuit, such as a DSP, programmable logic array, or the like.
[0068] Any range or device value given herein may be extended or altered without losing the effect sought, as will be apparent to the skilled person.
[0069] Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
[0070] It will be understood that the benefits and advantages described above may relate to one embodiment or may relate to several embodiments. The embodiments are not limited to those that solve any or all of the stated problems or those that have any or all of the stated benefits and advantages. It will further be understood that reference to `an` item refers to one or more of those items.
[0071] The steps of the methods described herein may be carried out in any suitable order, or simultaneously where appropriate. Additionally, individual blocks may be deleted from any of the methods without departing from the spirit and scope of the subject matter described herein. Aspects of any of the examples described above may be combined with aspects of any of the other examples described to form further examples without losing the effect sought.
[0072] The term `comprising` is used herein to mean including the method blocks or elements identified, but that such blocks or elements do not comprise an exclusive list and a method or apparatus may contain additional blocks or elements.
[0073] It will be understood that the above description is given by way of example only and that various modifications may be made by those skilled in the art. The above specification, examples and data provide a complete description of the structure and use of exemplary embodiments. Although various embodiments have been described above with a certain degree of particularity, or with reference to one or more individual embodiments, those skilled in the art could make numerous alterations to the disclosed embodiments without departing from the spirit or scope of this specification.