Object-conditioned plane segmentation

The object-conditioned plane segmentation method improves the accuracy and efficiency of identifying planar surfaces in cluttered environments by first detecting objects and then applying the plane identification algorithm to regions confirmed as plane-like, overcoming the challenges faced by existing techniques in robotics.

GB2628342APending Publication Date: 2024-09-25DYSON TECH LTD

Patent Information

Application Number
GB2023003994
Authority / Receiving Office
GB · GB
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-09-25

AI Technical Summary

Technical Problem

Existing plane segmentation techniques in robotics fail to accurately identify planar surfaces in cluttered environments, especially when objects on the surfaces contaminate inlier points, leading to poor performance in the presence of clutter, noise, and with transparent or textureless objects.

Method used

Implementing an 'object-conditioned' plane segmentation method where an object detection algorithm is applied first to identify objects, and then a plane identification algorithm is applied only to regions determined to be plane-like, thereby avoiding contamination by non-planar objects and improving accuracy and efficiency.

Benefits of technology

This approach enhances the accuracy and computational efficiency of plane identification by ensuring that only candidate regions with no or reliable plane-like objects are processed, effectively addressing the limitations of existing methods in cluttered and noisy conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Method of identifying a planar surface 4, 6 in an image, comprising: receiving a first scene image and a second scene image; detecting objects 14-20 in the first image; identifying a candidate region that contains no objects or only planar objects in the second image; applying a plane identification algorithm to the candidate region in the second image. The images may be RGB image; RGB-D (depth) images; or point cloud images. The candidate region and object region may not overlap. Determining the candidate region in the second image may comprise removing the detected objects’ regions, pixels or point cloud data from the second image. Determining the candidate region in the second image may comprise detecting substantially flat objects (e.g. tables, chairs, shelves) and setting the candidate region to the detected object region. If the scene is too cluttered, the object detection algorithm may identify object bounding boxes 22-26. The candidate region may then be determined by: clustering objects based on the bounding box bases; and removing all points which have a coordinate further than a threshold from the cluster centre. The remaining points form the candidate region to which the plane detection algorithm is applied. The method may be implemented in a robotic appliance.
Need to check novelty before this filing date? Find Prior Art

Description

When designing and building robots which are configured to move an item from one place to another within a given environment, it is necessary for the robot to ascertain the location of planar surfaces (such as tables, floors, steps, seats etc.) within the environment, onto which an item may be safely deposited. This is generally achieved by applying a plane segmentation algorithm to an electronic representation of a scene, but can be more challenging when the planar surface is cluttered with items. Existing techniques include: (i) model-fitting based approaches such as RANS AC or a Hough transform; (ii) region growing; and (iii) energy-based methods (e.g. expectation maximization). These approaches condition the object segmentation on plane segmentation, i.e. they first detect the plane, and the detection of objects is executed based on the location of the plane. Most practical robotic applications still use RANS AC as the core plane segmentation technique. These models fit parametric models of planes to point clouds using random sample consensus (RANSAC). Planar shapes are extracted by randomly sampling minimal sets (the minimum number of points required to define a geometric plane primitive) from the point cloud data. The resulting candidate planes are enlarged by testing all points in the cloud to determine which are well approximated by the primitive. The plane that best approximates the points (i.e. contains the most inliers) is extracted and the algorithm continues on the remaining data. The basic steps of a RANSAC algorithm are as follows: 1. Define the parametric model that represents the planar surface (e.g. in Hessian-Normal form: ax + by + cz + d = 0). 2. Randomly sample N points from the input cloud (where N> 3 for a plane). 3. Fit the parametric model to the selected points to determine the plane coefficients a, b. c, d. 4. Determine the number of inliers from the set of all the input points. 5. Repeat N times and select the model parameters which contain the largest number of inliers. 6. Re-estimate the model parameters using all the identified inliers and terminate. Several extensions and refinements have been proposed, but inherent limitations remain, especially under the parallel objective of segmenting objects on the plane. Particularly model-fitting approaches using RANS AC often produce sloped planes in the presence of clutter, when points from the objects situated on the plane contaminate the inliers used to compute the model. Furthermore, model-fitting methods are sensitive to parameter tuning, perform poorly / fail outright in the presence of clutter and noisy point cloud data, and fail to segment objects for which depth data is poor / incomplete (e.g. transparent and textureless objects). They are also prone to the “pseudo-plane” phenomenon, in which a plane which is detected using the RANSAC approach does not necessarily belong to the same object surface. This gives rise to spurious “pseudo-planes”. This is particularly true with parallel gradual planar surfaces such as stairs. While the Hough transform provides an alternative to RANSAC, it has been shown that the considerable memory and processing requirements mean that it is not a suitable technique for real-time robotic applications. Seeded region growing approaches consider initial seed points / regions in the point cloud, and compute the similarities to points in their local neighbourhoods. Based on some threshold, these regions are continually expanded / grown until ultimately achieving a full segmentation. These approaches are very sensitive to the initial seed points, and the choice of merging strategy. Furthermore, they are susceptible to noise, can be computationally inefficiency in clutter, and prone to over- and under-segmentations. SUMMARY The present invention aims to provide a computer-implemented method of identifying planar surfaces within a scene, which is able to provide reliable results even in the event that the planar surfaces in a scene are covered with objects, or there are e.g. transparent objects in the scene, which may not be detectable using known processes. This gives rise to several advantages over the prior art techniques described above. At a high level, the present invention achieves this by implementing “object-conditioned” plane segmentation. In other words, the segmentation or identification of the plane takes place after the presence and / or location of objects within the scene have also been detected. In more detail, an object detection algorithm is applied to an electronic representation of the scene. Then, plane identification takes place on regions of the scene which are determined not to be objects, or which are determined to be plane-like objects such as tables, chairs, floors, stairs, shelves, and the like. Specifically, a first aspect of the present invention provides a computer-implemented method of segmenting an electronic representation of a scene, the scene comprising a planar surface and one or more object(s) located on the planar surface, the computer-implemented method comprising: receiving a first electronic representation of the scene and a second electronic representation of the scene; applying an object detection algorithm to the first electronic representation of the scene, the object detection algorithm configured to detect the one or more object(s) in the first electronic representation of the scene; identifying, based on the output of the object detection algorithm,, a candidate region of the second electronic representation of the scene; applying a plane identification algorithm to the candidate region of the second electronic representation of the scene, the plane identification algorithm configured to detect the planar surface in the second electronic representation of the scene. The inventors have found that the “object-conditioning” approach outlined above is advantageous over existing plane segmentation methods for a variety of reasons. For example, as discussed previously, plane segmentation in the presence of clutter is suboptimal because portions of the object contaminate inliers of the plane. However, according to the present invention, the plane identification algorithm is applied only to a candidate region. In the context of the present invention, a “candidate region” corresponds to a region of the scene (or more specifically, a region of an electronic representation of the scene) which is selected on the basis of the output of the object detection algorithm, for application of the plane segmentation algorithm. For example, the candidate region may be a background region which is determined not to include any objects (or more specifically, not to include any non-planar, or non-plane-like objects). Alternatively, where the object detection algorithm is configured to identify plane-like objects, the candidate region may comprise or consist of the regions of the second electronic representation comprising the detected plane-like objects. Essentially, the term candidate region should be understood to refer to a region of the second electronic representation comprising planar or substantially surfaces and / or objects. The candidate region may be considered the result of the object-conditioning. The terms “plane-like object” and “non-plane-like object” are used throughout this application, for example in the context of those implementations in which an object detection algorithm is configured to identify “plane-like objects”, or in which a classifier model is configured to differentiate between “plane-like objects” and “non-plane-like objects”. For the benefit of clarity, we expound on how these terms should be interpreted. Specifically, these terms are used as descriptive labels for predetermined classes of objects, rather than as adjectives simply describing the nature of the objects. In other words, an object detection algorithm or classifier which is configured to identify, for example, planelike objects may have been trained, or otherwise configured to identify specific classes of objects such as chairs, tables, stairs, shelves, steps and floors (along with any reasonable other planar platforms or objects), and the term “plane-like objects” is used herein to refer to specific set of objects which the object detection algorithm or classifier is configured to identify, detect, or the like. Alternatively put, a “plane-like object” is an object falling within one or more classes of objects which an object detection algorithm or classifier is configured to detect or identify as being plane-like. The one or more classes may be predetermined. Conversely, the term “non-plane-like object” is used (again in the context of object detection algorithms or classifiers which are configured to differentiate between plane-like and non-plane-like objects) as all detected objects which do not fall into one of the predetermined “plane-like” classes of objects. To use a trivial example, consider a scene in which a chair is next to a table, and there is a wine bottle on the table, and a ball on the chair. In this case, an object detection algorithm may be applied, which is trained or otherwise configured to define (perhaps among other things) the chair and the table as plane-like objects. Then, the ball and the wine bottle may be non-plane-like objects. Throughout this application, where the term “object” is used standalone, it is generally used to refer to non-plane-like objects. This is entirely clear from the context in which the term is used. By executing the plane identification algorithm only on the candidate region, there is no contamination of the plane by (non-planar, or non-plane-like) objects. After objectconditioning, any plane identification may be used to identify the planar surface, and because of the object-conditioning, its performance, in terms of both accuracy and computational efficiency, will be improved. Examples of suitable plane identification algorithms include: a RANSAC algorithm, a Hough Transform, a model-fitting method, an energy-based method (such as expectation maximization), though it will be appreciated that other plane identification algorithms may be used. In the context of the present application, when one action or operation is defined as being “based on” another operation, action or data, this should be understood to mean that data output from the first operation is used in some manner during the execution of the subsequent operation, or is used in order to execute the subsequent operation. For example, most processes in a computer-implemented invention take the general form: input(s) -> processing -> output(s). In these cases, if such an operation is “based on” a previous operation, then the input of the subsequent operation may comprise data which has been output from the previous operation. The first electronic representation of the scene may be in the form of a photograph of the scene, for example in the form of a colour photograph comprising a plurality of pixels, each associated with pixel data defining the colour of each pixel. The pixel data may further comprise depth information indicating the depth (e.g. the distance from an image capture device) of the element of the scene depicted in that pixel. The pixel data may contain RGB values (referred to herein as an “RGB image”), and optionally also the depth value (referred to herein as an “RGB-D” image). It will be appreciated that kinds of pixel data may be used to define e.g. the colour of a given pixel. The use of a colour photograph such as an RGB or RGB-D image the first electronic representation enables the detection of objects using techniques (i.e. object detection algorithms) which may be ineffective on transparent or textureless objects, for which depth information is often challenging or impossible to obtain. Many kinds of 2D or 3D object detection techniques can be used, for example, instance segmentation, and semantic segmentation techniques. Traditional techniques which may be used include watershed, graph-cuts, and active contour models. Machine-learning techniques may also be used, such as the application of a deep-learning model such as a Mask-RCNN, YOLO, or U-Net. A review of appropriate techniques has been compiled by Wang et al. (2023)1. Such algorithms are able to detect, with high accuracy and reliability, objects of all shapes, sizes, colours, and textures in RGB or RGB-D images, for example. By using an RGB or RGB-image as a first electronic representation of the image, it is possible more accurately to detect the objects, meaning that it is possible to ensure that in the latter steps of the computer-implemented method, that the plane identification algorithm is applied only to those regions (i.e. the candidate regions) which do not include reliably detected non-plane-like objects, or which include only reliably detected plane-like objects. A corollary of this is that objects which are flat or which do not extend a large distance above the planar surface can still be identified in the first electronic representation, rather than being subsumed into the plane. The second electronic representation of the scene may comprise or be in the form of a three-dimensional map of the scene, such as a depth point cloud representation (alternatively referred to as just a “point cloud representation”). In the context of the present patent application, a depth point cloud representation is in the form of, or comprises, a 3D electronic representation of the scene, comprising a plurality of points, each point of the plurality of points corresponding to a point on the planar surface or an outer surface of an object of the one or more object(s) in the scene. Each point in the scene may be defined in some 3D coordinate system, such as Cartesian coordinates (x, y, z), cylindrical coordinates (r, 0, z), or spherical polar coordinates (r, 0, ¢). The point cloud representation may be obtained from e.g. a 3D camera, a 3D scanner, or through the use of photogrammetry software. It should be noted that in some cases, the first electronic 1 Yuanbo Wang, Unaiza Ahsan, Hanyan Li and Matthew Hagen (2022), “A Comprehensive Review of Modern Object Segmentation Approaches”, Foundations and Trends® in Computer Graphics and Vision: Vol. 13, No. 2-3, pp I 11-283. DOI: 10.1561 / 0600000097 representation and the second electronic representation may be the same, and may both be the depth point cloud representation. For example, an object detection algorithm may be applied to a point cloud representation, and then the plane identification algorithm may be applied to an identified candidate region of the same point cloud representation. Herein, when we refer to the “same” electronic representation, it should be understood to cover either the same type of representation, or the exact same representation (e.g. exactly the same image file). Having applied the object detection algorithm, identifying the candidate region may comprise identifying one or more detected object region(s) in the second electronic representation of the scene, each detected object region corresponding to a respective object of the one or more object(s). Then, depending on the types of object detected, the candidate region may essentially comprise the remainder of the second electronic representation, or may comprise the detected object regions. We explain these different scenarios in detail below, beginning with the example in which the candidate region comprises the region of the second electronic representation falling outside the one or more detected object region(s). The identified candidate region may be non-overlapping with the one or more detected object region(s), and may comprise at least a portion of the remainder of the second electronic representation of the scene. Thus, the plane identification may take place only on those regions in which there are no detected objects. Accordingly, when the second electronic representation of the scene comprises, or is in the form of a depth point cloud representation, each detected object region of the one or more detected objects regions of the second electronic representation of the scene may comprise a respective first subset of the plurality of points of the depth point cloud representation. In other words, each detected object region may correspond to a respective (preferably, but not necessarily) different subset of points in the depth point cloud representation. Each subset may comprise a respective plurality of points, that plurality of points corresponding to points on the outer surface of a respective object of the one or more objects(s) in the scene. Similarly, again when the second electronic representation comprises or is in the form of a depth point cloud representation, the identified candidate region may comprise a second subset of the plurality of points, non-overlapping with the first subset of the plurality of points. By “non-overlapping”, it is to be understood that none or substantially none (e.g. less than 10%, less than 1%, less than 0.5%, less than 0.1%, less than 0.05% or less than 0.01%) of the points in the second subset of the plurality of points is present in the first subset of the plurality of points. The second subset of point may comprise at least a portion of the remaining plurality of points in the depth point cloud representation. In some cases, all of the points in the depth point cloud representation are present in either the first subset of the plurality of points (detected object region(s)), or the second subset of the plurality of points (candidate region). In the present invention, the detected object regions may be contiguous or non-contiguous. Identifying the candidate region of the second electronic representation of the scene may comprise removing the one or more detected object region(s) from the second electronic representation of the scene, to retain only the candidate region of the second electronic representation region of the scene. In this sense, the candidate region may be considered a “background” region. In those implementations in which the second electronic representation is in the form of, or comprises a depth point cloud representation, identifying the candidate region of the second electronic representation, i.e. the depth point cloud representation, may comprise removing the one or more first subset(s) of points of the plurality of points (recall that the first subsets of points each correspond to a respective detected object region) from the depth point cloud representation to leave only the second subset of the plurality of points of the depth point cloud representation (recall that the second subset of the plurality of points corresponds to the candidate region). The above disclosure relates to cases in which the one or more detected object region(s) are removed from the second electronic representation, to retain only the candidate region. As we alluded to earlier in the application, in some cases the object detection algorithm may be configured to detect one or more plane-like objects (examples provided elsewhere) in the first electronic representation of the scene. Clearly, in these cases, it is desirable to retain, rather than discard the plane-like objects. Broadly speaking, there are two possible scenarios here: the object detection algorithm is configured to detect plane-like objects only; and / or the object detection algorithm is configured to detect all objects (including plane-like objects, and non-plane-like objects). Naturally, there are certain similarities between the two, and we discuss these in turn. There may also be regions of the first electronic representation which do not fall within either of these categories, which may be referred to as “true background” regions. In the first case, the computer-implemented method may comprise applying an object detection algorithm to the first electronic representation of the scene, the object detection algorithm configured to detect one or more plane-like objects in the first electronic representation of the scene. Thus, the one or more detected object region(s) may comprise plane-like objects only. In these cases, the one or more detected object region(s) may be the candidate region. In the second case, the computer-implemented method may comprise applying an object detection algorithm to the first electronic representation of the scene, the object detection algorithm configured to detect one or more object(s) in the first electronic representation of the scene. The one or more objcct(s) may comprise plane-like objects and non-planc like objects. From the preceding disclosure, it will be appreciated that, in order to achieve the advantageous effects associated with the object-conditioning aspect of the present invention, it is desirable to apply the plane identification algorithm only to the plane-like objects, and not to the non-plane-like objects. Accordingly, identifying the candidate region may comprise determining, for each detected object, whether that detected object is a plane-like object, or a non-plane-like object. This may be achieved, for example, by applying a classifier to each detected object (or more specifically, to a portion of the data representing the respective detected object region of the first electronic representation of the scene). The classifier may be a machine-learning model such as a neural network. Then, the candidate region may comprise the detected object region(s) corresponding to the plane-like objects. In each of these cases, there may be some regions of the first electronic representation which do not correspond to objects at all. As discussed, these may be referred to as “true background” regions. Identifying the candidate region may include identifying these true background regions. Identifying the candidate region, in these cases, may further comprise removing the one or more detected object region(s) corresponding to the non-plane-like objects from the second electronic representation of the scene, to retain only the candidate region of the second electronic representation region of the scene, the candidate region comprising the one or more detected object region(s) corresponding to plane-like objects, and optionally the true background region(s) if present. In those implementations in which the second electronic representation comprises or is in the form of a depth point cloud representation, each detected non-plane-like object may comprise a respective first subset of the plurality of points of the depth cloud representation. In other words, each detected object region corresponding to a detected non-plane-like object may correspond to a respective (preferably, but not necessarily) different subset of points in the depth point cloud representation. Each subset may comprise a respective plurality of points, that plurality of points corresponding to points on the outer surface of a respective non-plane-like object of the one or more objects(s) in the scene. Similarly, when the second electronic representation is comprises or is in the form of a depth point cloud representation, each detected plane-like object, and optionally the true background region, may comprise a respective second subset of the plurality of points of the depth cloud representation. In other words, each detected object region corresponding to a detected plane-like object may correspond to a respective (preferably, but not necessarily) different subset of points in the depth point cloud representation. Each subset may comprise a respective plurality of points, that plurality of points corresponding to points on the outer surface of a respective plane-like object of the one or more objects(s) in the scene. The second subset of points corresponds to the candidate region. Identification of the candidate region may comprise removing the one or more first subset(s) of points of the plurality of points (recall that the first subsets of points each correspond to a respective detected non-plane-like object region) from the depth point cloud representation to leave only the second subset of the plurality of points of the depth point cloud representation (recall that the second subset of the plurality of points corresponds to the candidate region).From the above, it will be appreciated that the candidate region of the scene comprises fewer points than the initial point cloud representation. This means that the plane identification region need only be applied to a relatively small subset of points, and therefore that the plane identification step of the computer-implemented method can be executed more swiftly than in prior art cases where the depth point cloud representation includes all of the points. Thus, the objectconditioning steps of the computer-implemented method of the present disclosure ensure that the plane identification element of the computer-implemented method can proceed more efficiently, as well as more accurately. We now provide some more details regarding additional, optional steps which may be incorporated into the computer-implemented method of the first aspect of the invention, which further improves its applicability and functionality. Specifically, the following features give rise to advantages when identifying planar surfaces in particularly cluttered scenes, when, for example, there are very few segments of the plane visible. The present invention is equipped to deal reliably and efficiently with such scenarios. It should be noted that, in the following disclosure, reference to “objects”, and “detected object regions” refers to non-plane-like objects, i.e those objects whose corresponding detected object regions are to be excluded from the plane identification algorithm according to the preceding disclosure. First, we explain how the objects detected in the first electronic representation of the scene are converted into detected object regions in the second electronic representation. For example, because the first electronic representation and the second electronic representation both represent the same scene, it is possible to project or superimpose the first electronic representation onto the second. In the example where the first electronic representation is an image such as an RGB or RGB-D image, and the second electronic representation is a depth point cloud representation, for each (x, j) pixel location in the image, the computer-implemented method may comprise computing an index into the point cloud. The index may be in the range [0, TV], where N is the number of points in the cloud. In some cases, the computer-implemented invention may further comprise a step of identifying bounding boxes around the detected objects in the second electronic representation of the scene. Each bounding box may have a respective planar base, the planar base having an associated z-coordinate. A “bounding box” is a cuboid region of the second electronic representation of the scene, the cuboid having edges parallel to predetermined x-, y-, and z-axes, and the planes of which touch the detected object at its points of greatest extent in the x-, y-, and z-directions (i.e. the points with the highest and lowest x-value, j-value, and z-value). Examples of bounding boxes are shown in Fig. 5, and explained in more detail later in this application with reference to a specific example. In the context of the present invention, the z-direction is the direction which is perpendicular to the xj-plane. The xj-plane is considered to be the “horizontal” plane, where “horizontal” refers to a direction which is parallel or substantially parallel to the ground or floor. The present invention may be applied to scenarios in which a robotic device picks up and places objects down, in which case it is important that they are deposited on horizontal, planar surfaces for stability. However, it will be appreciated that the absolute orientations of the x,j, and z directions in space may differ for different applications. Alternatively or additionally, the computer-implemented method may further comprise a step of identifying bounding boxes around the detected objects in the first electronic representation (which the reader will recall may be a 2D image such as an RGB or RGB-D image). In this case, the computer-implemented method may include a step of converting the bounding boxes identified in the first electronic representation into bounding boxes in the second electronic representation. This may be executed using the same indexing process as outlined above. This approach is useful when it is not possible to compute a per-pixel segmentation of objects in the first electronic representation of the scene, particularly when in the form of 2D RGB or RGB-D image. In many cases, the scene will comprise a plurality of objects, and in these cases each object may be associated with a respective bounding box. Each bounding box may have a planar base (by definition, since it is a cuboid) which may be parallel to the xj-plane, and has an associated z-coordinate. The base is preferably parallel to the xj-plane because this is the horizontal direction, and it is assumed that the base of the object will be oriental horizontally, as it is balanced and free-standing on the planar surface. In implementations in which bounding boxes are employed, there may be additional steps included in the steps used to identify the candidate region. Specifically, identifying the candidate region may comprise clustering the detected objects based on the z-coordinate of the planar base of their respective bounding boxes, to generate one or more clusters of detected objects. Each cluster may comprise one or more detected objects. This may be achieved by applying a clustering algorithm to e.g. the set of z-coordinates, such as an agglomerative hierarchical clustering algorithm. When there is prior knowledge of the final number of clusters, a k-means clustering algorithm may be applied. The result of the application of a clustering algorithm is one or more clusters, each cluster including a subset of the detected objects for which the z-coordinate of the planar base of the respective bounding boxes are the same (or approximately the same, to within some predetermined or adjustable tolerance). Consider an example where a plurality of objects are scattered across a few steps on a staircase: then, each cluster would correspond to the subset of objects on each step, since the z-coordinate of the planar bases of their respective bounding boxes would be the same, or approximately the same within the predetermined or adjustable tolerance. After the one or more clusters have been identified or generated, for each cluster, the computer-implemented method may further comprise removing all points from the depth point cloud representation which have a z-coordinate which is further than a threshold distance from the cluster centre. Herein, the term “cluster centre” refers to the z-coordinate of the centre of the cluster. It may be a mode, mean, median (or other statistical measure) z-coordinate of the planar bases of bounding boxes of detected objects within that cluster. The cluster centre may be defined based on the specific clustering algorithm which is used. After the plurality of points have been removed, the remaining plurality of points form the candidate region (or identified candidate region), to which the plane identification algorithm is applied. The threshold from the cluster centre may be the only configurable parameter in the whole process, meaning that implementations of computerimplementations according to the first aspect of the invention are far less sensitive to input parameters than prior art techniques. In some cases, the scene may be too cluttered, to the extent that once the detected object regions are removed, there is insufficient visible planar surface in the candidate region for the plane identification algorithm to identify the planar surfaces. The present invention may be equipped for this eventuality. After the step of application of the plane identification algorithm to the candidate region, the computer-implemented method may further comprise determining whether a plane has been identified by the plane identification algorithm. In those cases where the detected objects are separated into clusters, the computer-implemented method may further comprise determining, for each cluster, whether a plane has been identified by the plane identification algorithm. Then, if a plane has been identified, the computer-implemented method may further comprise generating an output defining the identified planar surface(s). And / or, if it is determined that a plane has not been identified, the computer-implemented method may further comprise determining a z-coordinate of the planar surface based on the z-coordinate(s) of the planar base(s) of the bounding box(es) of the detected object(s), optionally in that cluster or for each cluster. Determining a z-coordinate of the planar surface may comprise taking determining a statistical property of the z-coordinate(s) of the planar base(s) of the bounding box(es) of the detected object(s), optionally in that cluster or for each cluster. The statistical property may be the mean, median, or mode. Alternatively, the z-coordinate of the planar surface may be determined to be the z-coordinate of the cluster centre, as defined earlier. Then, the computer-implemented method may further comprise generating an output defining the identified planar surface(s). The output may comprise data which defines (preferably uniquely) the one or more planar surfaces, for example comprising the z-coordinate of the planar surfaces. The output may comprise a visualization of the location of the one or more planar surface(s) and one or more detected object(s) in the scene, for example by superimposing a map (such as a colour map, or a boundary-defining map) over the first electronic representation of the scene or the second electronic representation of the scene. The output may comprise instructions which when executed by a computer (or processor thereof), cause a display component of the computer to display a visualization of the location of the one or more planar surface(s) and the one or more detected object(s), or to display information identifying the plane. The previous aspects of the present invention relate to computer-implemented methods. However, it will be appreciated that the invention may also be embodied in devices and systems. As discussed earlier, the present invention is of particular use for controlling robotic systems which are configured to pick up and place down objects in a home, workplace, or industrial setting. Accordingly, a third aspect of the present invention may provide a control system for a robotic device, the control system comprising a processor which is configured to execute the computer-implemented method of the first aspect of the invention or the computer-implemented method of the second aspect of the invention. The optional features set out above with reference to the first and second aspects of the invention apply equally well to the third aspect of the invention, except where clearly technically incompatible or where context dictates otherwise. A fourth aspect of the invention may provide a robotic device comprising the control system of the third aspect of the invention. Again, the optional features set out above with reference to the first, second, and third aspects of the invention apply equally well to the fourth aspect of the invention, except where clearly technically incompatible or where context dictates otherwise. The robotic device may further comprise a first image capture device configured to capture the first electronic representation of the scene, and / or a second image capture device configured to capture the second electronic representation of the scene. Alternatively, the same image capture device may be configured to capture the first electronic representation of the scene and the second electronic representation of the scene. BRIEF DESCRIPTION OF THE DRAWINGS - Fig. 1 shows a scene including two planar surfaces with a selection of objects located thereon. - Fig. 2 shows an example of a system which may be configured to execute implementations of the present invention. - Fig. 3 is a flowchart illustrating a computer-implemented method of segmenting an electronic representation of a scene into objects and planar surfaces. It may be applied to the scene shown in, for example, Fig. 1. - Fig. 4 is a flowchart illustrating a more detailed example of a computer-implemented invention for segmenting a, electronic representation of a scene into objects and planar surfaces. - Fig. 5 illustrates the application of bounding boxes to the scene of Fig. 1. - Fig. 6 is a flowchart illustrating a more detailed example of a computer-implemented invention for segmenting a, electronic representation of a scene into objects and planar surfaces. DETAILED DESCRIPTION Aspects and embodiments of the present invention will now be discussed with reference to the accompanying figures. Further aspects and embodiments will be apparent to those skilled in the art. All documents mentioned in this text are incorporated herein by reference. Fig. 1 shows an example of a scene comprising objects and planes, in which it may be desirable to move an object, using e.g. a robotic device (not shown) from one position to another position. In doing so, it is clearly desirable to identify where the planar surfaces are, and where the other objects are, in order to ensure that the object in question is safely deposited on a planar surface, for maximum stability. Specifically, the scene 1 shown in Fig. 1 includes a two-level structure 2, which may represent, for example, two stairs in a staircase. Within the meaning of the present application, the two-level structure 2 may be referred to as a plane-like object, i.e. by virtue of its step-like appearance, an object detection algorithm may be configured to identify it as a plane-like object. It will be appreciated, however, that the present invention is applicable to any arrangement or scene in which there is one or more planar surface(s), and the scene should in no way be restricted to the specific example shown in Fig. 1. The two-level structure 2 comprises a lower planar surface 4, and an upper planar surface 6. In Fig. 2, the lower planar surface 4 and the upper planar surface 6 are shown as horizontal planes which are parallel to each other. However, the present invention is equally applicable to arrangements or scenes in which the planar surfaces of interest are not parallel to each other, and not horizontal. Herein, the term “horizontal” is used to mean that the planes are parallel, or substantially parallel to the ground, i.e. perpendicular or substantially perpendicular to the z-direction, as described earlier in this application. Alternatively put, the lower planar surface 4 and the upper planar surface 6 are parallel to the xy-plane in the example shown in Fig. 1. The lower planar surface 4 and the upper planar surface 6 are connected by a vertical connecting surface 8, which is perpendicular to the lower planar surface 4 and the upper planar surface 6. Herein, the term “vertical” is used to mean that the planes are parallel, or substantially parallel to the ground, i.e. parallel or substantially parallel to the z-direction, as described earlier in this application. The two-level structure 2 also includes vertical side wall 10 and vertical front wall 12. There are two objects on each of the lower planar surface 4 and the upper planar surface 6. Specifically, a first cylindrical object 14 and a first spherical object 16 are located on the lower planar surface 4, and a second cylindrical object 18 and a second spherical object 20 are located on the upper planar surface 6. Naturally, the invention is not limited to detection of cylindrical objects 14, 18, and spherical objects 18, 20 only - these are chosen simply as illustrative examples. Indeed, when the invention is implemented in e.g. a home, a workplace, or an industrial setting, the types of object located on the one or more planar surfaces in question are likely to be far more complex than the cylindrical objects 14, 18 and spherical objects 16, 20 shown in the example scene 1 of Fig. 1. However, the cylindrical objects 14, 18 and the spherical objects 16, 20 are sufficient to illustrate the principles of the present invention and have been selected only for their ease of illustration. Within the meaning of the present application, the cylindrical objects 14, 18 and the spherical objects 16, 20 may be referred to as non-plane-like objects. The present disclosure is directed towards methods and systems for identifying one or more planar surfaces in a scene. In the example of Fig. 1, the methods and systems are able, reliably, to identify the lower planar surface 4 and the upper planar surface 6, at a high level, by first removing points in a 3D point cloud representation which represent the cylindrical objects 14, 18 and the spherical objects 16, 20. In this manner, it may be said that the detection of the lower planar surface 4 and the upper planar surface 6 is “object-conditioned”. The ultimate aim of the method described in this patent application is to identify the lower planar surface 4 and the upper planar surface 6 based on a first electronic representation of the scene 1 and a second electronic representation of the scene 1. Overall, this process is referred to in this patent application as “plane segmentation”. Fig. 2 is a system diagram showing various components which may be used to implement the present invention. The system includes a plane segmentation device 100, a first image capture device 200, a second image capture device 300, and an output device 400. These may all be separate components. In such cases, they may be connected via some kind of network (not shown), via a direct wired connection, or via a mixture of the two. When the plane segmentation device 100, a first image capture device 200, a second image capture device 300, and output device 400 are connected via a network, the network may be a wireless network such as a wireless Internet connection, a Wi-Fi network, a cellular network, or any equivalent network. Alternatively, the network may be a wired network such as a LAN, a wired Internet connection, or a WLAN. The skilled person readily appreciates that other kinds of network connection are possible. We now discuss the plane segmentation module 100 in more detail, which may be used to implement the present invention. It will be noted that the plane segmentation system 100 includes several “modules”. The plane segmentation system 100 as a whole may be implemented either in the form of bespoke hardware, or more likely the plane segmentation system 100 may be implemented in software, for example in the form of computer-readable code comprising instructions which, when executed, causes a computer to execute the various functions described herein. Similarly, the modules (described in more detail later) may also be implemented in the form of hardware modules within the processor 102, but may be implemented in the form of software modules, each represented, for example, by a respective section of computer code comprising instructions which, when executed, cause the computer to execute the respective function associated with that module. In this sense, the modules may be interpreted as “functional modules”, which may be implemented in any computer-based manner, such that they are able to execute the function with which they are associated. In an abundance of caution, we note that the whole of the plane segmentation system 100 may be implemented on a general purpose computer such as a desktop computer, a laptop computer, a smartphone, a tablet, or the like. The plane segmentation module 100 includes image capture device interface module 102, processor 104, memory 106, and output device interface module 108. As the name suggests, the purposes of the image capture device interface module 102 and the output device interface module 108 are to interface with the image capture device 200, 300, and the output device 400, respectively. The image capture device interface module 102 and the output device interface module 108 may be implemented in any suitable form, be it a software module, a physical interface (such as a USB connection, or similar), or a network component configured to receive data-containing signals from the first image capture device 200, the second image capture device 300, or the output device 400. The image capture device interface module 102 and the output device interface module 108 may be the same component. The processor 104 contains a variety of sub-modules, comprising an object detection module 1040, and indexing module 1042, a clustering module 1044, a object conditioning module 1046, and a plane identification module 1048. The specific implementation of the plane segmentation system 100 shown in Fig. 2 is an illustrative example only, and it will be appreciated from the preceding disclosure that the processor 104 of the plane segmentation system 100 need not include some or all of the modules, or alternatively, may include any sub-combination of modules. All sub-combinations are envisaged. The memory 106 stores an object detection algorithm 1060, a clustering algorithm 1062, a plane identification algorithm 1064, and a buffer 1066. At certain points, the buffer 1066 may contain a first electronic representation 10660 of the scene 1, and a second electronic representation 10662 of the scene 1. The specific implementation of the plane segmentation system 100 shown in Fig. 2 is an illustrative example only, and it will be appreciated from the preceding disclosure that the memory 106 of the plane segmentation system 100 need not include some or all of the stored items shown, or alternatively, may include any sub-combination of stored items. All sub-combinations are envisaged. We now discuss the method itself, which may be executed by the system of Fig. 2, specifically, the plane segmentation system 100 thereof. Of course, methods or computer-implemented methods of the present invention may be executed by hardware or software arranged differently from the plane segmentation system 100 of Fig. 2, but we refer to this example in the following disclosure. In the following explanation, we refer to segmentation of scene 1, illustrated in Fig. 1. Fig. 3 is a flowchart illustrating a high-level computer-implemented method according to one implementation of the present disclosure. In a first step S300, electronic representations 10660, 10662 of scene 1 are received at the plane segmentation system 100. Optionally, before this takes place, the electronic representations 10660, 10662 may be obtained by one or both of image capture devices 200, 300, and be received by the plane segmentation system 100 via the image capture device interface module 102. In an exemplary case, the first image capture device 200 may capture a first electronic representation 10660 of the scene 1, and the second image capture device 300 may capture a second electronic representation 10662 of the scene 1. As discussed, the first image capture device 200 may be in the form of a camera (e.g. a 2D or 3D camera), and the first electronic representation 10660 may be in the form of a conventional RGB photograph, or in some cases an RGB-D image (i.e. an RGB image in which each pixel is described by conventional RGB values, and a respective depth value, effectively generating a 3D photograph). The second image capture device 200 may also be in the form of a camera (e.g. a 2D or 3D camera), and the second electronic representation 10662 may be in the form of a 3D point cloud representation of the scene 1. In some cases, the first electronic representation 10660 and the second electronic representation 10662 may be captured by the same image capture device, e.g. the first image capture device 200 or the second image capture device 300. In some cases, the first electronic representation 10660 may be the same as the second electronic representation 10662, and may be represented by the same image file. The received electronic representations 10660, 10662 of the scene 1 may be stored in the memory 106, specifically the buffer 1066 thereof. By storing the electronic representations 10660, 10662 in the buffer 1066, they can be efficiently retrieved by the processor 104 for processing. In step S302, the processor 104, specifically the object detection module 1040 thereof, may apply the object detection algorithm 1060 to the first electronic representation 10660 of the scene 1. In more detail, the processor may be configured to retrieve the first electronic representation 10660 of the scene 1 from the buffer 1066, and the object detection algorithm 1060 from the memory 106, and then to apply to the object detection algorithm 1060 to the first representation 10660 of the scene 1. As discussed elsewhere, various kinds of object detection algorithm 1060 may be used. The output of the object detection algorithm 1060 may be in the form of, or comprise, information which identifies the objects in the scene 1. For example, the information may comprise data identifying the pixels of the first electronic representation 10660 of the scene 1 which contain the objects, e.g. cylindrical objects 14, 18 and spherical objects 16, 20. Alternatively, the information may comprise data identifying the boundaries of the objects within the first electronic representation 10660 of the scene 1. Other outputs are also envisaged, such as per-pixel labels, e.g. all (x, j) locations in the first electronic representation 10660 which correspond to a particular detected object (the labels may correspond to the object in question, e.g. all pixels corresponding to a first detected object may have a first label, and all pixels corresponding to a second detected object may have a second label, and so on). Alternatively, also as discussed before, bounding boxes may be identified in the first electronic representation 10660 of the scene, for example in the form of a set of values (x, y, w, h), where (x, y) is the centre of the object, w is the width of the bounding box, and h is the height of bounding box encompassing the object in a 2D first electronic representation 10660. In other cases, the output of the object detection algorithm may comprise a plurality of convex hulls, each corresponding to a respective detected object. A convex hull of a shape is the smallest convex set that contains it, and in two dimensions, may be visualized as the shape which would be enclosed by a rubber band around the object. After the object detection algorithm 1060 has been applied, by the object detection module 1040, to the first electronic representation 10660 of the scene 1 in step S302, the output is used to identify candidate regions of the second electronic representation 10662, in step S304. As we have outlined earlier in this application, depending on the nature of the detected objects, the detected candidate regions may be identified in a different way: • In those cases in which the object detection algorithm is configured to detect planelike objects, for example the two-level structure 2 of Fig. 1, the candidate region may comprise the points of the second electronic representation 10662 covering the two-level structure 2 only, since the cylindrical objects 14, 18 and the spherical objects 16, 20 would not fall under the “plane-like” umbrella. Specifically, the indexing module 1042 of the processor 104 of the plane segmentation system 100 may be configured to determine which regions of the second electronic representation 10662 correspond to the objects detected in the first electronic representation 10660. It is noted that the second electronic representation 10662 may be in the form of a 3D point cloud representation. In these cases, in step S304, the indexing module may be configured to retrieve the second electronic representation 10662 from the buffer 1066, and to determine which points in the 3D point cloud representation correspond to the objects 14, 16, 18, 20 in the scene 1. Optionally, this may be performed by an indexing algorithm (not shown) which may be stored in the memory 106. The regions of the second electronic representation 10660 which are determined, by the indexing module 1042, to contain the objects 14, 16, 18, 20 in the scene, are referred to as the “detected object regions”. And, the remainder of the second electronic representation 10662 is referred to as the “candidate region”. To use the example of Fig. 1, everything except the cylindrical objects 14, 18 and the spherical objects 16, 20 would be considered to represent the candidate region. Here, the candidate region represents the background of the scene. As we have outlined earlier in this application, the candidate regions may be identified in a different way. In those cases in which the object detection algorithm is configured to detect plane-like objects, for example the two-level structure 2 of Fig. 1, the candidate region may comprise the points of the second electronic representation 10662 covering the two-level structure 2 only, since the cylindrical objects 14, 18 and the spherical objects 16, 20 would not fall under the “plane-like” umbrella. In a final step of Fig. 3, step S306, the plane identification module 1408 retrieves and applies plane detection algorithm 1064 to the candidate region identified in step S304. The plane detection algorithm 1064 may take the form of any suitable plane identification algorithm available. Example plane identification algorithms include model fitting algorithms, transform-based algorithms, energy-based algorithms, or deep learning algorithms. Any technique which takes as its input e.g. a depth point cloud representation of a scene, and outputs information identifying one or more planes is suitable. The present invention is agnostic to the kind of the plane identification algorithm which is used. The output of step S306 is an indication of the locations of the planes in the candidate region of the second electronic representation 10662 of the scene 1, i.e. information identifying the lower planar surface 4 and the upper planar surface 6. In an optional next step, the processor 104 may generate instructions which, when transmitted and executed by the output device 400, causes the display component 402 of the output device to display information enabling a user to visualize the identified planes. For example, an image may be displayed in which the objects are highlighted in a first colour, and the planes are highlighted in a second colour, different from the first colour. Fig. 1 shows a scene 1 in which some parts of the lower planar surface 4 and the upper planar surface 6 are exposed, and in which the cylindrical objects 14, 18. This makes it more straightforward to identify the planes in the scene. Figs. 4 and 6 set out the steps of a more detailed algorithm which is able to deal with scenarios in which not all of the objects have planar bases (e.g. the spherical objects 16, 20 in Fig. 1). It must be noted that the process described below, with respect to Figs. 4 and 6 is a specific example falling entirely within the scope of the more generalized process described above with reference to Fig. 3, and will be described with reference to the same scene 1. The plane segmentation system 100 of Fig. 2 may also be used to execute the process of Figs. 4 and 6. In the first step S400 of Fig. 4, as for step S3 02, the objects are detected in the first electronic representation 10660, by the retrieval of the first electronic representation 10660 of the scene 1 and the object detection algorithm 1060, and its subsequent application to the first electronic representation 10660. As discussed, the output of the object detection algorithm 1060 may be in the form of, or comprise, information which identifies the objects in the scene 1. For example, the information may comprise data identifying the pixels of the first electronic representation 10660 of the scene 1 which contain the objects, e.g. cylindrical objects 14, 18 and spherical objects 16, 20. Alternatively, the information may comprise data identifying the boundaries of the objects within the first electronic representation 10660 of the scene 1. Other outputs are also envisaged. In step S402, the indexing module 1042 identifies which regions of the second electronic representation 10662 correspond to the objects detected in the first electronic representation 10660 in step S400. As discussed with reference to Fig. 3, the second electronic representation 10662 of the scene 1 may be in the form of or comprise a 3D point cloud representation, and the indexing module 1042 may be configured to determine which points in the 3D point cloud representation correspond to objects 14, 16, 18, 20 in the scene 1. In the more detailed process illustrated in Fig. 4, the indexing module 1042 (or indeed, a separate module such as bounding box identification module, which is not shown in Fig. 2), identifies bounding boxes 22, 24, 26, 28 around the detected objects 14, 16, 18, 20 respectively, in the second electronic representation 10662 of the scene 1. In the present application, as explained previously, a “bounding box” is a cuboid shape in the second electronic representation 10662 of the scene 1, which the reader will recall may be in the form of a 3D point cloud representation, the cuboid shape having edges parallel to predetermined x-, y-, and z-axes, and the planes of which touch the detected object at its points of greatest extent in the x-, y-, and z-directions (i.e. the points with the highest and lowest x-value, j-value, and z-value). Examples of bounding boxes are shown in Fig. 5. Because the detected objects 14, 16 are located on the lower planar surface 4, the (by-definition) planar bases of their respective bounding boxes 22, 24 are or should be parallel to the lower planar surface 4, and have a z-coordinate value of zi. Similarly, because the detected objects 18, 20 are located on the upper planar surface 6, the (by-definition) planar bases of their respective bounding boxes 26, 28 are or should be parallel to the upper planar surface 6, and have a z-coordinate value of n. In the next step S404, after the bounding boxes 22, 24, 26, 28 have been identified in step S402, the clustering module 1044 retrieves the clustering algorithm 1062, and applies is to the detected objects 14, 16, 18, 20. The clustering algorithm 1062 is configured to cluster the objects by the z-coordinate value of the planar base of their respective bounding boxes 22, 24, 26, 28. In the present worked example, the first cylindrical object 14 and the first spherical object 18 would be placed into a first cluster, because their respective bounding boxes 22, 26 each have a planar base with a z-coordinate value of zi. And, the second cylindrical object 18 and the second spherical object 20 would be placed into a second cluster, because their respective bounding boxes 24, 28 each have a planar base with a z-coordinate value of Z2. Due to the inherent noisiness in real-life scenarios (e.g. due to planar surfaces which are not perfectly planar, and due to error in the locations of the points on the surface of the objects in the 3D point cloud representation), the clustering algorithm 1062 may be configured to cluster together those objects for which the z-coordinate value of their planar bases falls within a predetermined tolerance range. This is typical of known clustering algorithms 1062. We now move to Fig. 6 which illustrates the subsequent steps. In step S600, the detected objects 14, 16, 18, 20 are removed from the second electronic representation 10662 of the scene 1. In implementations in which the second electronic representation 10662 of the scene 1 is a 3D point cloud representation, the points in 3D space which correspond to points on the surfaces of the detected objects 14, 16, 18, 20 are removed from the 3D point cloud representation. The resulting electronic representation of the scene 1 may be referred to as the first intermediate representation 10664 and may be stored in the buffer 1066 for ease of retrieval. In step S602, portions of the first intermediate representation 10664 which are located more than a predetermined threshold distance from each of the cluster centres (i.e. points which have a z-coordinate which is located more than a predetermined distance away from the respective z-coordinate associated with each of the clusters) are removed from the first intermediate representation 10664. In the example of scene 1, shown in Fig. 6, this would remove all points representing the vertical connecting surface 8, the vertical side wall 10 and the vertical front wall 12, for example, as well as other hidden vertical surfaces of the two-level structure 2. The resulting portions of the first intermediate representation 10664 may be referred to as the second intermediate representation 10666, and should effectively include only portions of the lower planar surface 4 and the upper planar surface 6, as well as perhaps regions of the vertical surfaces which are within the threshold distance from the lower planar surface 4 and the upper planar surface 6. This threshold distance accounts for e.g. imperfections in the planar surfaces 4, 6. The steps of generating the first intermediate representation 10664 and the second intermediate representation 10666 may be referred to as object conditioning steps (explained below), and hence may be executed by the object conditioning module 1046. At this point, taking the example of a 3D point cloud representation of the scene 1, the second intermediate representation 10666 includes only those points which form part of the lower planar surface 4 or the upper planar surface 6, and a few other outliers which lie within a threshold distance of those surfaces 4, 6. The number of these outlier points is negligible relative to the number of points representing the lower planar surface 4 and the upper planar surface 6, though. Essentially, by this point, all of the portions of the second electronic representation 10662 which might cause a plane detection algorithm to output a distorted or inaccurate plane, have been removed. This removal has taken place based on points which are identified as being part of objects 14, 16, 18, 20 which are located on the plane. Hence, this process may be referred to as “object conditioning”. In step S604, the plane identification module 1048 is configured to retrieve the second electronic representation 10666 from the buffer 1066 and the plane identification algorithm 1064 from the memory 106. The plane identification module 1048 then applies the plane identification algorithm 1064 to the second intermediate representation 10666, which is configured to identify one or more planes in the second intermediate representation 10666, namely the lower planar surface 4, and the upper planar surface 6. In the example of scene 1, much of the lower planar surface 4 and the upper planar surface 6 are exposed, meaning that they will be visible in the second intermediate representation 10666, and there should be no issues identifying the planes 4, 6. However, in some cases, where there is e.g. a very cluttered surface with only small sections of planar surfaces exposed, if any at all, the plane identification algorithm 1064 may not be able to identify the planes. The process illustrated in Fig. 6 is equipped to deal with such scenarios. In step S606, it is determined (e.g. by the processor 104, or the plane identification module 1048 thereof) whether a plane is identified for each cluster by the plane identification module 1048 as a result of the application of the plane identification algorithm 1064 to the second intermediate representation 10664. If a plane is detected for each cluster, then the process ends in step S608. However, for those clusters for which a plane is not identified by the plane detection module 1048, the z-coordinate value of the plane is defined or determined as the mean of the z-coordinates of the planar bases of the bounding boxes of the detected objects in that cluster in step S610. In that way, a plane can be detected even in the case that there is little to none of the planar surface exposed in either the first electronic representation of the scene, or the second electronic representation of the scene. The features disclosed in the foregoing description, or in the following claims, or in the accompanying drawings, expressed in their specific forms or in terms of a means for performing the disclosed function, or a method or process for obtaining the disclosed results, as appropriate, may, separately, or in any combination of such features, be utilised for realising the invention in diverse forms thereof. While the invention has been described in conjunction with the exemplary embodiments described above, many equivalent modifications and variations will be apparent to those skilled in the art when given this disclosure. Accordingly, the exemplary embodiments of the invention set forth above are considered to be illustrative and not limiting. Various changes to the described embodiments may be made without departing from the spirit and scope of the invention. For the avoidance of any doubt, any theoretical explanations provided herein are provided for the purposes of improving the understanding of a reader. The inventors do not wish to be bound by any of these theoretical explanations. Any section headings used herein are for organizational purposes only and are not to be construed as limiting the subject matter described. Throughout this specification, including the claims which follow, unless the context requires otherwise, the word “comprise” and “include”, and variations such as “comprises”, “comprising”, and “including” will be understood to imply the inclusion of a stated integer or step or group of integers or steps but not the exclusion of any other integer 5 or step or group of integers or steps. It must be noted that, as used in the specification and the appended claims, the singular forms “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. Ranges may be expressed herein as from “about” one particular value, and / or to “about” another particular value. When such a range is expressed, another embodiment 10 includes from the one particular value and / or to the other particular value. Similarly, when values are expressed as approximations, by the use of the antecedent “about,” it will be understood that the particular value forms another embodiment. The term “about” in relation to a numerical value is optional and means for example + / - 10%.

Claims

1. A computer-implemented method of segmenting an electronic representation of a scene, the scene comprising a planar surface and one or more object(s) located on the planar surface, the computer-implemented method comprising:receiving a first electronic representation of the scene and a second electronic representation of the scene;applying an object detection algorithm to the first electronic representation of the scene, the object detection algorithm configured to detect the one or more object(s) in the first electronic representation of the scene;identifying, based on the output of the object detection algorithm, a candidate region of the second electronic representation of the scene;applying a plane identification algorithm to the candidate region of the second electronic representation of the scene, the plane identification algorithm configured to detect the planar surface in the second electronic representation of the scene.

2. A computer-implemented method according to claim 1, wherein:the first electronic representation of the scene is an RGB image or an RGB-D image.

3. A computer-implemented method according to claim 1 or claim 2, wherein:identifying the candidate region comprises identifying one or more detected object region(s) in the second electronic representation of the scene, each detected object region corresponding to a respective object of the one or more object(s).

4. A computer-implemented method according to any one of claims 1 to 3, wherein: the identified background region is non-overlapping with the one or more detected object region(s) and comprises at least a portion of the remainder of the second electronic representation of the scene.

5. A computer-implemented method according to any one of claims 1 to 4, wherein: the second electronic representation of the scene is in the form of, or comprises a depth point cloud representation of the scene, the depth point cloud being a 3D electronic representation of the scene comprising a plurality of points, each point of the plurality ofpoints corresponding to a point on the planar surface or an outer surface of an object of the one or more object(s) in the scene.

6. A computer-implemented method according to claim 5, wherein:each detected object region of the one or more detected object region(s) of the second electronic representation of the scene comprises a respective first subset of the plurality of points of the depth point cloud representation, each subset comprising a respective plurality of points, that plurality of points corresponding to points on the outer surface of a respective object of the one or more object(s) in the scene.

7. A computer-implemented method according to claim 6, wherein:the identified candidate region of the second electronic representation of the scene comprises a second subset of the plurality of points, non-overlapping with the first subset of the plurality of points, the second subset comprising at least a portion of the remaining plurality of points of the depth point cloud.

8. A computer-implemented method according to any one of claims 1 to 7, wherein:identifying the candidate region of the second electronic representation of the scene comprises removing the one or more detected object region(s) from the second electronic representation of the plane, to retain only the candidate region of the second electronic representation of the scene.

9. A computer-implemented method according to claim 8, wherein:identifying the candidate region of the second electronic representation of the scene comprises removing the one or more first subset(s) of the plurality of points from the depth point cloud representation, to leave only the second subset of the plurality of points of the depth point cloud representation of the plane.

10. A computer-implemented method according to claim 3, wherein:the objection detection algorithm is configured to detect plane-like objects in the first electronic representation of the scene, such that the one or more detected object region(s) comprise plane-like objects only; andthe candidate region corresponds to the one or more detected object region(s).

11. A computer-implemented method according to claim 3, wherein:the object detection algorithm is configured to detect one or more object(s) in the first electronic representation of the scene, the one or more object(s) comprising plane-like objects and non-plane-like objects;identifying the candidate region comprises determining, for each of the detected one or more object(s), whether that detected object is a plane-like object or a non-plane like object; andthe candidate region comprises the detected object region(s) corresponding to the plane-like objects.

12. The computer-implemented method of claim 10 or claim 11, wherein:the object detection algorithm is a machine-learning algorithm trained to identify plane-like objects in the first electronic representation of the scene.

13. The computer-implemented method of claim 12, wherein:the object detection algorithm is trained to detect plane-like objects including: tables, chairs, floors, shelves, steps and stairs.

14. A computer-implemented method according to any one of claims 1 to 13, wherein: the object detection algorithm is configured to identify a bounding box around each detected object of the one or more detected object(s), each bounding box having a respective planar base, the planar base having an associated z-coordinate.

15. A computer-implemented method according to claim 14, wherein:the scene comprises a plurality of objects, each object associated with a respective bounding box having a planar base with an associated z-coordinate; andidentifying the candidate region of the second electronic region comprises: clustering the detected objects based on the z-coordinate of the planar base of their respective bounding boxes, to generate one or more clusters of detected objects; andfor each cluster, removing all points from the depth point cloud representation which have a z-coordinate which is further than a threshold from the cluster centre, the remaining plurality of points forming the candidate region to which the second segmentation algorithm is applied.

16. A computer-implemented method according to claim 15, wherein:if the plane identification algorithm is unable to detect a planar surface in the background region, the computer-implemented method further comprises, for each cluster: calculating the mean z-coordinate of the planar bases of the bounding boxes corresponding to each of the detected objects in that cluster; anddefining the planar surface as a plane having a z-coordinate equal to the calculated mean z-coordinate.

17. A control system for a robotic device, the control system comprising a processor which is configured to execute the computer-implemented method of any one of claims 1 to 16.

18. A robotic device comprising the control system of claim 17.

19. The robotic device of claim 18, further comprising an image capture device configured to capture the first electronic representation of the scene and / or the second electronic representation of the scene.

Citation Information

Patent Citations

  • Ground plane detection

    US20150178573A1

Cited By

  • Pose determination method and apparatus based on large language model, device, storage medium, and product

    WO2026076743A1