# Patent

## Title
Reducing interference between multiple infra-red depth cameras

## Abstract

Systems and methods for reducing interference between multiple infra-red depth cameras are described. In an embodiment, the system comprises multiple infra-red sources, each of which projects a structured light pattern into the environment. A controller is used to control the sources in order to reduce the interference caused by overlapping light patterns. Various methods are described including: cycling between the different sources, where the cycle used may be fixed or may change dynamically based on the scene detected using the cameras; setting the wavelength of each source so that overlapping patterns are at different wavelengths; moving source-camera pairs in independent motion patterns; and adjusting the shape of the projected light patterns to minimize overlap. These methods may also be combined in any way. In another embodiment, the system comprises a single source and a mirror system is used to cast the projected structured light pattern around the environment.

## Background
BACKGROUND
Infra-red (IR) depth cameras project an invisible IR structured light pattern into the environment which is detected by an IR camera. Objects within the environment cause distortions in the structured light pattern as seen by the camera, which is off-axis compared to the light source and these distortions can be used to resolve depth information about the scene. These cameras, however, have a limited field of view and provide depth information from a single viewpoint so that an object which is close to the depth camera may occlude a large portion of the environment.
One solution which extends the area of the environment which can be mapped is to use more than one IR depth camera. This provides views of the scene from different perspectives and enables a 360° model of an object to be built up, but where the structured light patterns overlap, the accuracy of each IR depth camera is degraded.
The embodiments described below are not limited to implementations which solve any or all of the disadvantages of known IR depth camera systems.
SUMMARY
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 of the invention or delineate the scope of the invention. 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.
Systems and methods for reducing interference between multiple infra-red depth cameras are described. In an embodiment, the system comprises multiple infra-red sources, each of which projects a structured light pattern into the environment. A controller is used to control the sources in order to reduce the interference caused by overlapping light patterns. Various methods are described including: cycling between the different sources, where the cycle used may be fixed or may change dynamically based on the scene detected using the cameras; setting the wavelength of each source so that overlapping patterns are at different wavelengths; moving source-camera pairs in independent motion patterns; and adjusting the shape of the projected light patterns to minimize overlap. These methods may also be combined in any way. In another embodiment, the system comprises a single source and a mirror system is used to cast the projected structured light pattern around the environment.
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
The present description will be better understood from the following detailed description read in light of the accompanying drawings, wherein:
FIG. 1 shows a schematic diagram of an infra-red depth camera system and a perspective view of a room showing an example deployment of the depth camera system;
FIG. 2 is a flow diagram of an example method of operation of a depth camera system such as shown in FIG. 1;
FIG. 3 shows a flow diagram of an example method of reducing interference between sources and a schematic diagram of a source-camera pair;
FIG. 4 shows three example timing diagrams for the operation of sources and/or cameras;
FIG. 5 shows a schematic diagram of another example of an infra-red depth camera system and another perspective view of a room showing an example deployment of the depth camera system;
FIGS. 6 and 7 show flow diagrams of further example methods of reducing interference between sources;
FIG. 8 shows a schematic diagram of a further example of an infra-red depth camera system and a further perspective view of a room showing an example deployment of the depth camera system;
FIG. 9 shows a schematic diagram of another example method of reducing interference between sources;
FIG. 10 shows schematic diagrams of an infra-red depth camera system which comprises a single source and multiple cameras; and
FIG. 11 illustrates an exemplary computing-based device in which embodiments of the control methods described herein may be implemented.



Like reference numerals are used to designate like parts in the accompanying drawings.
DETAILED DESCRIPTION
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.
FIG. 1 shows a schematic diagram of an infra-red depth camera system 100 and a perspective view of a room 102 showing an example deployment of the depth camera system 100. FIG. 2 is a flow diagram of an example method of operation of the depth camera system 100 shown in FIG. 1. The system 100 comprises a plurality of infra-red (IR) cameras 104 and a plurality of IR sources 106 (in the drawings four cameras and four sources are shown by way of example only). Each IR source (or illuminator) 106 is arranged to project a structured light pattern which can then be detected by one or more of the IR cameras 104. In the example implementation shown in FIG. 1, the sources 106 and cameras 104 are arranged in pairs comprising a source 106 and a camera 104 (referred to as a source-camera pair) which may be integrated within a single housing 108 (which may be referred to as a depth camera unit), although in other implementations the sources 106 and cameras 104 may be discrete units and there may be different numbers of sources and cameras (e.g. as shown in FIG. 10 where there are multiple cameras and a single source). The sources 106 and cameras 104 are connected to a controller 110, which is a computing device (e.g. a PC or a games console). The sources 106 and cameras 104 may be connected to the controller 110 via wired or wireless links and the sources 106 and cameras 104 may be fixed in position or mobile (or any combination thereof).
The dotted lines 112 in the perspective view of the room 102 in FIG. 1 give an indication of the field of view of each of the cameras 104 and in this implementation the field of view of each camera 104 is partially overlapping with the field of view of at least one other camera. If the structured light pattern projected by an IR source 106 is arranged to cover at least the entire field of view of its associated camera (e.g. in a source-camera pair, the source projects a structured light pattern which covers at least the entire field of view of the associated camera), the structured light patterns from the different sources 106 in FIG. 1 will also be at least partially overlapping. Where these structured light patterns overlap, the accuracy of the depth calculations will be reduced because the IR patterns detected by a camera will be assumed to have originated from a single source (and not from multiple sources producing an overlapping pattern). To reduce any interference which may be caused by overlapping structured light patterns (which may also be referred to as cross-talk between patterns), the controller 110 controls the IR sources 106 (block 202) such that each camera only sees a single projected light pattern at any time. There are many ways in which the sources can be controlled (in block 202) in order to reduce any interference effects which may degrade accuracy of depth determinations and various examples are described below. The depth calculations themselves are made based on signals received at the controller 110 from each camera (block 204).
In a first example, which can be described with reference to FIGS. 3 and 4, the controller 110 controls the sources 106 such that only one source is illuminating a given part of the room (or scene/environment) at any one time. This has the effect that each IR camera only sees one source of illumination at any time. Where all the projected light patterns overlap (e.g. as in the arrangement of FIG. 1), the controller may cycle between all of the structured light sources (block 302 of FIG. 3) and this is shown in the first part 401 of the example timing diagram shown in FIG. 4. This timing diagram shows the operation of each of the four sources 106 shown in FIG. 1 and in the first part 401 of the diagram, each of the sources in turn (1, then 2, then 3, . . . ) illuminates the room (shown as ‘on’ in FIG. 4) for a period of time and at any point in time only one of the sources is illuminating the room and the other three sources are not (shown as ‘off’ in FIG. 4).
In parallel with cycling between the structured light sources (in block 302) such that only one source is illuminating a given part of the environment at any time, the controller may also control the operation of the cameras 104 (block 303) such that in a source-camera pair, the camera is only operational when the source is projecting a structured light pattern, i e timing diagram for the camera may be the same as the timing diagram for the source. In an alternative implementation, however, the cameras may be operational all the time and may obtain depth information from patterns generated by more than one source, but only from one source at a time. In such an implementation, block 303 in FIG. 3 is omitted and calibration may be performed between each structured light source and each camera. In an example, this calibration may be included as part of any standard calibration of the camera to learn the pattern of structured light. In another example, where the relative transformation (rotation and translation) between pairs of cameras is known, this information may be used to estimate how the structured light pattern from a source in a first source-camera pair would appear in the camera of a second source camera-pair, and no additional calibration of the camera may be required (e.g. only the standard calibration for a single source). In an example, this translation information may be obtained using a mobile depth camera, as described in co-pending US patent application entitled ‘Using a three-dimensional environment model in gameplay’ filed on the same day as this application and which is incorporated herein by reference in its entirety.
Where all of the projected structured light patterns do not overlap with every other projected pattern, the controller may still cycle between all of the sources (as shown in part 401 of FIG. 4), but alternatively the controller may cycle between sources projecting overlapping patterns or perform any form of time-division multiplexing such that each IR camera only sees one source of illumination at any time. For example, where there are four sources, A, B, C and D, and the patterns from A and C overlap and the patterns from B and D overlap (but the patterns from A and C do not overlap with the patterns from B and D), the controller may operate pairs of sources at a time, e.g. A and B followed by C and D, followed by A and B etc.
In order to stop a source from illuminating the room with a structured light pattern at a particular point in time, the controller may switch off the IR emitter within the source, which may, for example, be an LED (light emitting diode) or VECSEL (vertical-external-cavity surface-emitting laser). Alternatively, a shutter 301 may be used to block the emission of the structured light source, as shown in the schematic diagram 300 in FIG. 3. The shutter may only block the IR source 106 or may alternatively also block the field of view of the associated IR camera 104, such that in a source-camera pair, the field of view of the camera is obscured by the shutter 301 except when the source is projecting a structured light pattern into the environment. Where a shutter is used, this shutter is operated under the control of the controller 110. In another example, an electronically switchable lens in front of the camera may be used to achieve the same functionality (e.g. to replace the shutter) by modulating the focus of the lens. For example, a dynamically switchable lens may be used which changes between a normal “room focus” and a blurred “out of focus” mode. Over time, only the images which are visible during correct focus become integrated into the camera pixels and the out of focus parts add a general blur background to the image. Such a lens may in addition, or instead, be used instead of a shutter in front of a source as projecting a completely blurred pattern has the same effect as turning the projected pattern off Such an arrangement may be more resilient in some circumstances than using a shutter as no light energy is absorbed in the lens. In use the shutter will absorb light energy and this may result in the shutter getting warm and might lead to failure of the shutter.
The sequence of cycling through sources may be fixed (e.g. A, B, C, D, A, B, C, D, A, . . . etc) or alternatively the controller may dynamically adjust the cycle, as shown in block 304 of FIG. 3 and the upper timing diagram 400 in FIG. 4, in response to the detected scene. For example, the controller may only sample (i.e. turn on a structured light source and detect the pattern using the camera) at a few Hz if nothing is moving in that part of the scene and may use the extra frames to increase the sampling rate in areas of increased activity. In an example, area-of-interest algorithms may be used to determine which source-camera pairs or which parts of the scene should be sampled more frequently than other pairs/parts and motion provides just one example of a criterion which may be used to adjust the cycle of IR sources (in block 304). For example, the Exemplar algorithm for body part detection may be used followed by an estimate of where the body was facing last time to decide which cameras to activate.
In some examples, the source-camera pairs may be used to generate a dense 3D model of the environment. In this case, the controller may dynamically adjust the cycle according to the dense 3D model being generated. For example, some regions of the dense 3D model may be incomplete or less complete than other regions of the dense 3D model. In that case the controller may dynamically adjust the cycle so that the sampling rate is more frequent for those source-camera pairs which capture required information to complete the 3D model. Any statistic or indicator of the quality of the 3D model being generated may be used as input to the controller. In an example, a rate of change of a distance transform of a 3D volumetric representation of the environment may be used as input to the controller. This can be used to make source-camera pairs more active where these are capturing information about regions of the environment for which the 3D model is noisy, incomplete, or comprises much fine detail.
Referring to the upper example timing diagram 400 in FIG. 4, in the first part 401, the controller cycles through all of the sources and so each view of the scene is given substantially the same amount of time for depth detection. In the second part 402, however, the first source (source 1) is given priority and this may, for example, be because the controller determines that there is movement in the scene detected by the first source-camera pair and no movement in the scenes detected by the other source-camera pairs. This may, for example, be because a user is standing still facing this source-camera pair and moving their hands in front of them. In the third part 403 of the timing diagram, sources 3 and 4 are given priority and sources 1 and 2 illuminate the scene less frequently (e.g. because the user has turned such that their gestures are now visible to cameras 3 and 4 and not to cameras 1 and 2).
In a variation of this example, the multiple source-camera pairs may only be used in an initial phase of operation to generate a high resolution depth map of the background and subsequent to that only a single source-camera pair may be used, as shown in the center timing diagram 410 in FIG. 4. In an example of this, a person may be playing a game which uses a source-camera pair to provide user input to the game and where the graphical user interface of the game is displayed on a large display 114, such as a television, as shown in the arrangement of FIG. 1. In an initial phase 411 of the game, all four source-camera pairs may be used to capture a high resolution view of the room by cycling through the sources (as in block 302 of FIG. 3) and then during game play 412, only the source-camera pair located on the same wall as the display 114 may be used to capture the motion of the person playing the game (source 1 in the example shown in FIG. 4). This enables the background to be scanned (in the initial phase 411) at high accuracy without any interference between structured light patterns and yet provides a higher frame-rate for motion detection during game play (phase 412).
In a further variation, as shown in the lower example timing diagram 420 in FIG. 4, the controller may cycle through the multiple sources (as described above) during the initial phase 411 to generate the high resolution depth map of the background, but during the second phase 421, which in the example above is during game play, all sources may be on (and no measures employed to eliminate interference). This provides the higher frame-rate for motion detection in the second phase and where it is foreground objects (such as the user) which are moving, these are less likely to be illuminated by multiple different sources since they are closer to one of the sources (and so interference effects are likely to be less significant).
In another variation of the first example method of reducing the interference caused by overlapping structured light patterns, (as described above with reference to FIGS. 3 and 4), high speed pseudo-random modulation of both the source and a shutter in front of the camera (e.g. shutter 301 in FIG. 3) may be used to attenuate unwanted signals (i.e. those from other, potentially overlapping structured light patterns) in comparison to the wanted signal (i.e. that from the structured light source projected by the source). In such a variation, a different modulation pattern (or scheme) is used for each source-camera pair and, as described above, the IR emitter within the source may be modulated directly or a shutter used in front of the emitter (or the source) to block the projection of the structured light pattern. As shown in the schematic diagram 300 in FIG. 3, in an example implementation a single shutter 301 may be used in front of both the source 106 and the camera 104. As described above with reference to an earlier example method, an electronically switchable lens where the focus can be modified may be used instead of a shutter in this example and any subsequent examples which describe the use of a shutter.
For the camera, there is another alternative to having a shutter in front of the camera. This alternative is to use electronic shuttering of the capture at the chip level, i.e. the camera pixels only integrate the signal when activated electronically and suitable circuitry may be incorporated in the camera chip to do this. This can be a global function (i.e. a global signal which can alternately freeze or activate the incoming light integration of all pixels in a camera image) but can also be taken to the pixel level (i.e. integration of the light capture for individual pixels can be turned on or off electronically).
In a second example method of reducing the interference caused by overlapping structured light patterns, the source wavelengths may be controlled such that different illumination patterns use different IR wavelengths, (λ1-λ4 in the schematic diagram of FIG. 5). The wavelength used by a source for the projection of a structured light pattern may be referred to as its operating wavelength. Each camera 104 may be fitted with a wavelength selective filter 502 such that it only sees a single illumination pattern, e.g. the pattern at the wavelength emitted by the source 504-507 in the source-camera pair. The control of the emitted wavelength (by the sources 504-507) and the control of the wavelength of the camera filters 502 may be performed manually when the system is installed or alternatively, the wavelength control may be dynamic through the use of tunable elements or the selection from sets of elements (e.g. emitters, sources, cameras and/or filters) operating at different wavelengths. As shown in the example flow diagram of FIG. 6, one option is to tune the wavelength of each source-camera pair on set-up so that overlapping patterns are at different wavelengths (block 602) and another option is to select a particular source and/or camera from a sets of sources and/or cameras of different wavelengths within a single housing (block 604). This tuning or selection may be performed electrically under the control of the controller 110. The system diagram in FIG. 5 shows a single housing 508 which comprises a plurality of sources 510-513 at different wavelengths and a single camera 514 comprising an electrically tunable wavelength filter. In the set up phase, the controller can select one of the sources 510-513 (block 604) and tune the filter in the camera 514 (block 602) to the wavelength of the selected source. Alternatively, there may be multiple filters, one corresponding to each of the wavelengths of the sources 510-513, mounted in a movable (e.g. rotatable) housing such that a filter can be selected with a wavelength that is the same as the selected source and then the selected filter can be moved into position in front of the camera. In another variation, there may be multiple sources 510-513 of different wavelengths and multiple cameras, one camera operating at each of the wavelengths of the sources 510-513 and a source-camera pair of a particular wavelength may be selected within each housing 508.
A third example method of reducing the interference caused by overlapping structured light patterns is shown in FIG. 7, which is a modified version of the flow diagram shown in FIG. 2 and described above. In this example, the effects of interference between projected structured light patterns are reduced by moving each source-camera pair in a manner which is different to the motion of any other source-camera pairs with overlapping light patterns (block 702). In the example deployment as shown in FIG. 8, all of the four light patterns overlap and therefore each source-camera pair within a housing 808 is moved according to a different motion pattern 801-804. As shown in the lower schematic diagram 800 in FIG. 8, each housing 808 additionally comprises an optical-path movement device 810 or other means for generating the required motion of the source-camera pair. For example, the optical-path movement device 810 may be a motor, an electro mechanical device, an electro optical device or an electrostatic device which is able to move the optical-path of the source-camera pair. If a source-camera pair is moved around, it will see the environment moving in a corresponding manner, but the illumination pattern will be fixed relative to the camera. Noise which may have been introduced by other sources projecting overlapping structured light patterns, whether fixed or moving, will tend to be rejected or blurred out as it will not correlate consistently as a 3D model of the environment is built up using the depth data from the source-camera pair. The motion patterns may be in a single axis or in multiple axes. In an example, the source-camera pairs may each be shaken in an independent way and in another example, the source-camera pairs may be moved more slowly, e.g. by sweeping them from side to side. This example method therefore uses motion to blur all the other illumination patterns apart from the one illumination pattern produced by the source which is rigidly tied to the camera and which shares the same motion as the camera (i.e. the other half of a source-camera pair).
In an implementation of this third example method, the motion of each source-camera pair may be continuous during the operation of the system, such that there are no motion dead-spots. For example, a circular motion is continuous in time whereas an up-down motion has two points in the motion (at the top and bottom extremes) where the source-camera pair reverses its motion and therefore if at this particular instant, another camera images the pattern, there is a small possibility that the pattern is in fact not seen to be moving.
In addition, the motion patterns used for source-camera pairs may be adaptively assigned or synchronized between source-camera pairs such that no neighboring source-camera pairs share a common motion frequency/speed. For example, neighboring source-camera pairs may be allocated circular speeds which share no common detectable harmonics (e.g. one pair may move at 100 Hz circles and a neighboring pair may move at 101 Hz circles).
In a fourth example method of reducing the interference caused by overlapping structured light patterns, the controller may use shutters or an adjustable aperture to control the shape of the projected structure light patterns from one or more of the sources. The shutters may be electronic, electro mechanical, electrostatic or any kind of electro-optical device. By reducing the angle of the projected light pattern, as shown in the schematic diagram of FIG. 9, overlap of patterns can be reduced or eliminated. In FIG. 9, the angle of emission from each source (and hence the coverage of the projected light pattern) has been reduced from that shown by the dotted lines 902 to that shown by the solid lines 904 where no overlap occurs. It can be seen from FIG. 9, however, that by reducing the angle of emission, there are parts of the scene that are no longer covered by any of the sources and hence depth information in these parts will not be available. This may be addressed by sweeping the three source-camera pairs 906 from side to side (as indicated by the arrows 908) together in a coordinated motion, such that the patterns remain non-overlapping but together they sweep through the entire volume of interest (e.g. the whole room).
In a variation of this fourth example method, the overlaps of patterns may be minimized but not eliminated. In such an example, a subset of the source-camera pairs (or a subset of just the sources) may be moved in a vertical sweeping pattern and another subset of the source-camera pairs (or just sources) may be moved in a horizontal sweeping pattern which results in small regions of overlap for short periods of time.
The sweeping or selective projection methods described above may be implemented using a projector, such as a Digital Micromirror Device (DMD)/Digital Light Processing (DLP) projector, as the source since such a device is effectively a shutter arranged at the pixel level.
In a further example method of reducing the interference caused by overlapping structured light patterns, a single illumination source 1004 may be used in combination with multiple IR cameras 1006, as shown in FIG. 10. An arrangement of mirrors 1002 may be used to reflect (or cast) the structured light pattern around the room (e.g. in a ‘disco ball’ style arrangement) or alternatively the illumination source 1004 may be mounted on a moveable (e.g. rotatable) mount so that it can sweep around the room and in such an implementation, the operation of the cameras 1006 may be synchronized with the motion of the single illumination source 1004.
In addition to using any of the techniques described above, each housing 108, 508, 808 (which may also be referred to as a depth camera unit) may also include a camera which operates in the visible spectrum (e.g. a VGA camera with a resolution of 640×480) and the RGB data from this camera (given that the depth camera and the RGB camera are calibrated to each other) may be used to discriminate between noise and actual objects, leveraging texture consistency in the RGB image where there are holes in the depth map (e.g. due to very poor depth data in regions of interference). For example, if the RGB image is smooth (in color or texture) but there is a (small) hole in the depth map, the hole may be filled by ‘flood filling’ or by using other similar approaches using valid depth measurement from the hole contour points or a small local area. The presence of holes may also provide information on the amount of noise in the signal since these holes are generally the result of a camera being unable to correlate a recognizable pattern (because of interference). The RGB information may also be used to help in the selection of which camera and/or light source to use.
FIG. 11 illustrates various components of an exemplary computing-based device 1100 which may be implemented as any form of a computing and/or electronic device, and which may operate as a controller 110, as described in the various examples above.
Computing-based device 1100 comprises one or more processors 1102 which may be microprocessors, controllers or any other suitable type of processors for processing computing executable instructions to control the operation of the device in order to control a plurality of infra-red sources 1104 to reduce interference between projected structured light patterns from each source. In some examples, for example where a system on a chip architecture is used, the processors 1102 may include one or more fixed function blocks (also referred to as accelerators) which implement a part of the method of control in hardware (rather than software or firmware). Platform software comprising an operating system 1106 or any other suitable platform software may be provided at the computing-based device to enable application software 1108-1114 to be executed on the device. The application software may include a source control module 1110, a depth calculation module 1112 and games 1114 or other applications in which the calculated depth information is used.
The computer executable instructions may be provided using any computer-readable media that is accessible by computing based device 1100. Computer-readable media may include, for example, computer storage media such as memory 1116 and communications media. Computer storage media, such as memory 1116, 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 can 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.
Although the computer storage media (memory 1116) is shown within the computing-based device 1100 it will be appreciated that the storage may be distributed or located remotely and accessed via a network (e.g. network 1118) or other communication link (e.g. using communication interface 1120). In some examples, the control functionality may be implemented in a distributed manner across multiple computing-based devices and in such an implementation, the communication interface 1120 may be used to discover and connect with other devices over the network 1118.
The computing-based device 1100 also comprises an input/output controller 1122 arranged to send control signals to the IR sources 1104 and to receive signals from a plurality of IR cameras 1124. As described above, the sources 1104 and cameras 1124 may be arranged in source-camera pairs, with each source-camera pair being co-located within a single housing 1126. The input/output controller 1122 may also be arranged to output display information to a display device 1128 which may be separate from or integral to the computing-based device 1100. The display information may provide a graphical user interface (e.g. for the operating system 1106, games 1114 or other application software 1108-1112). The input/output controller 1122 may also be arranged to receive and process input from one or more devices, such as a user input device 1130 (e.g. a games controller, mouse or keyboard). This user input may be used to play the game 1114. In an embodiment the display device 1128 may also act as the user input device 1130 if it is a touch sensitive display device.
The input/output controller 1122 may also be arranged to output control signals to motors (not shown in FIG. 11) co-located with a source-camera pair within a housing 1126, where motion is used to reduce the interference (e.g. as described above with reference to FIGS. 7 and 8). The input/output controller 1122 may also output data to devices other than the display device, e.g. a locally connected printing device (not shown in FIG. 11).
It will be appreciated that the connections, shown by double-ended arrows in FIG. 11, are intended to indicate possible connections between elements of the computing device and communication between elements may be via other routes and communication may be unidirectional or bidirectional. Additionally, the links between elements may be via physical connections (e.g. over wires) or may be wireless (e.g. the sources 1104 and cameras 1124, or the source-camera pairs, may communicate with the computing device 1100 over WiFi or Bluetooth® or may use another wireless protocol).
The examples described above use IR sources and IR cameras; however, it will be appreciated that in other examples, sources and cameras using other human-visible or non-visible wavelengths (e.g. ultra-violet) may be used to provide a structured light pattern and camera capture of that pattern.
Although the present examples are described and illustrated herein as being implemented in a room-based system for using in gaming, 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 systems and for many different applications (e.g. for any virtual/augmented reality applications, telepresence etc).
Furthermore, although in the examples shown above, a single controller 110 is shown, the functionality of the controller may be distributed across multiple computing-based devices, for example, the control functionality for some of the sources may be performed by one controller and the remaining sources may be controlled by a second controller. The two controllers may communicate in order to coordinate their actions (e.g. using out-of-band communications such as wireless radio, wired communications or global modulation and detection of an optical signal). In such an example, one controller may be the master and the other controllers may act as slaves to the master controller and in some embodiments, the role of master may be a dynamically assigned function of one of the depth camera units.
In another example, the source/camera components may be used to perform this distributed timing/synchronization mechanism. In such an example, when a source-camera pair powers up it first monitors the scene (without illuminating the scene), looking for some kind of frame sync pattern (or a clear broadcast slot) from the one or more source-camera pairs which may have already been operating in its field of view. It then can, for example, insert itself into the timing sequence by optically signaling (e.g. through illuminating) a notification of its presence. In an example, this signaling may be performed by illuminating the overlap regions during the broadcast slot. This “I'd like to join” signal which those source-camera pairs which are already operating can notice triggers these source-camera pairs to extend their timings to accommodate a new time slot for the newly powered up source-camera pair, with the broadcast/sync slot preserved to enable other source-camera pairs to further join in. By using the source-camera pairs, instead of out-of-band communications, relatively independent groups of source-camera pairs can be identified. For example, a group of source-camera pairs at the far end of a huge room would be able to figure out they do not interfere or overlap with a group of source-camera pairs at the near end of a room.
The examples above describe a depth camera system which covers a single room; however in other examples, the system may cover a larger area such as spanning a whole building. In such an example, there may be many more source-camera pairs (or depth camera units) and the system may use distributed clock synchronization or a centralized controller to minimize any effects of variation in individual camera/source timing and network latencies. In an example, all cameras may be locked to a common timing reference.
It will also be appreciated that although each of the examples is described separately above, any of the techniques may be used in combination with one or more of the other techniques described. For example, a combination of time-division multiplexing (as described above with reference to FIGS. 3 and 4) and wavelength-division multiplexing (as described with reference to FIGS. 5 and 6) may be used where there are many source-camera pairs with overlapping fields of view to reduce the complexity of the cycling required between sources and to increase the frame rate in any particular part of the room. For example, referring to the arrangement shown in FIG. 5, instead of the four sources 504-507 operating at four different wavelengths (λ1-λ4), two wavelengths (λ1-λ2) may be used, with two sources operating at each of the wavelengths and the controller may then cycle between sources operating at λ1 and sources operating at λ2.
The methods described above reduce the interference that is caused by overlapping structured light patterns that are detected by IR cameras when using such patterns to detect depth in the environment. The techniques described enable each depth camera to operate at, or nearer to, their ideal performance level in the presence of multiple depth cameras.
The term ‘computer’ is used herein to refer to any device with processing capability such that it can 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.
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 disks, thumb drives, memory etc and do not include propagated signals. The software can 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.
This acknowledges that software can 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.
Those skilled in the art will realize that storage devices utilized to store program instructions can 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.
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.
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
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.
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.
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.
It will be understood that the above description of a preferred embodiment 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 of the invention. Although various embodiments of the invention 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 invention.

## Claims

1. A depth camera system comprising:
a plurality of cameras with at least partially overlapping field of views;
a plurality of sources, each arranged to project a structured light pattern;
a controller arranged to control a plurality of source-camera pairs to reduce the interference between projected structured light patterns and to receive signals from each of the cameras for use in depth determination, controlling a plurality of source-camera pairs comprising controlling a plurality of sources and a plurality of cameras, the controller being further arranged to
control the movement of a source-camera pair relative to other source-camera pairs such that the structured light pattern projected by the source is fixed relative to the camera; and

a depth calculation module configured to calculate a depth value from data received from one or more of the plurality of cameras;
wherein a plurality of the plurality of cameras and a plurality of the plurality of sources are each part of a plurality of a depth camera units, each depth camera unit comprising at least one source and at least one camera, and
wherein the controller is arranged to set an operating wavelength of each depth camera unit, such that at least some overlapping structured light patterns are at different operating wavelengths.

2. A depth camera system according to claim 1, wherein the plurality of cameras comprise infra-red cameras and wherein the plurality of sources comprise infra-red sources, each arranged to project an infra-red structured light pattern.

3. A depth camera system according to claim 1, wherein the controller is arranged to cycle between sources with overlapping structured light patterns.

4. A depth camera system according to claim 1, wherein the controller is arranged to cycle between source-camera pairs with overlapping structured light patterns, the controller being further arranged to adjust the cycle dynamically based on motion detected by at least one source-camera pair.

5. A depth camera system according to claim 3, wherein the controller is arranged to adjust the cycle dynamically based on the signals received from each of the cameras.

6. A depth camera system according to claim 3, wherein the controller is arranged to cycle between sources with overlapping structured light patterns in a first phase of operation and to operate a single source in a second phase of operation.

7. A depth camera system according to claim 3, wherein the controller is arranged to cycle between sources with overlapping structured light patterns in a first phase of operation and to operate all of the sources in a second phase of operation.

8. A depth camera system according to claim 1, wherein each unit comprises at least one wavelength tunable element and wherein the controller is arranged to tune the at least one wavelength tunable element to set an operating wavelength of each depth camera unit.

9. A depth camera system according to claim 1, wherein each unit comprises a plurality of sources with different operating wavelengths and wherein the controller is arranged to select one of the plurality of sources to set an operating wavelength of each depth camera unit.

10. A depth camera system according to claim 1, wherein each unit comprises a plurality of cameras with different operating wavelengths and wherein the controller is arranged to select one of the plurality of cameras to set an operating wavelength of each depth camera unit.

11. A depth camera system according to claim 1, wherein the controller is arranged to move each source-camera pair in a motion pattern which is different from motion patterns of other source-camera pairs.

12. A depth camera system according to claim 11, further comprising a plurality of depth camera units, each unit comprising a source-camera pair and an optical-path movement device arranged to move the source-camera pair under control of the controller.

13. A depth camera system according to claim 1, wherein the controller is arranged to modulate each source-camera pair with a different pseudo-random modulation pattern.

14. A depth camera system according to claim 1, wherein the controller is arranged to control a shape of each projected structured light pattern to reduce overlap of patterns when all of the sources are projecting a structured light pattern simultaneously.

15. A computer-implemented method of controlling a depth camera system, the system comprising a plurality of infra-red cameras and a plurality of infra-red sources, and the method comprising:
controlling a plurality of source-camera pairs to reduce interference between projected infra-red structured light patterns from each source, controlling the plurality of source-camera pairs comprising controlling a plurality of infra-red cameras and a plurality of infra-red sources;
controlling the plurality of source-camera pairs including
controlling the movement of a source-camera pair relative to other source-camera pairs such that the infra-red structured light pattern projected by the infra-red source belonging to the pair is fixed relative to the infra-red camera belonging to the pair;
setting an operating wavelength of one or more source-camera pairs such that at least some overlapping structured light patterns are at different operating wavelengths; and
receiving signals from the plurality of infra-red cameras for use in depth determination by a depth calculation module.

16. A computer-implemented method according to claim 15, wherein controlling the plurality of infra-red sources comprises cycling between infra-red sources with overlapping structured light patterns.

17. A computer-implemented method according to claim 16, wherein controlling the plurality of infra-red sources further comprises dynamically adjusting a cycle used for cycling between infra-red sources based on a dense 3D model of an environment of the depth camera system which is formed using signals from the plurality of infra-red cameras.

18. A computer-implemented method according to claim 15, wherein the system further comprises a plurality of depth camera units, each unit comprising at least one infra-red source and at least one infra-red camera and wherein controlling the plurality of infra-red sources comprises setting an operating wavelength of each depth camera unit, such that overlapping structured light patterns are at different operating wavelengths.

19. A depth camera system comprising:
a plurality of depth camera units, each unit comprising an optical-path movement device and a source-camera pair, the source-camera pair comprising an infra-red camera and an infra-red source arranged to project an infra-red structured light pattern; and
a computing-based device comprising:
a processor and a memory, wherein the memory is arranged to store device-executable instructions which, when executed, cause the processor to
control the optical-path movement device to move the optical path of each source-camera pair in a motion pattern such that movement of the infra-red structured light pattern projected by the source in a source-camera pair is fixed relative to the camera in the source-camera pair, the motion pattern for the depth camera unit being different from the motion pattern of every other depth camera unit in the plurality of depth camera units,
set an operating wavelength of one or more source-camera pairs such that at least some overlapping structured light patterns are at different operating wavelengths, and
provide data from at least one source-camera pair to a depth calculation module for determination of one or more depth values.