Discriminative 3d shape modeling for small sample instance segmentation

By training a neural network to classify surface geodesics in depth images, combined with the watershed algorithm and ground truth annotations, the problem of object instance segmentation in a small sample environment is solved, and efficient and accurate depth image segmentation is achieved with a small number of training examples.

CN118696344AActive Publication Date: 2024-09-24MITSUBISHI ELECTRIC CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202380022088.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-25
Filing Date
2023-02-03
Publication Date
2024-09-24
Estimated Expiration
2043-02-03

AI Technical Summary

Technical Problem

Existing techniques struggle to automatically segment multiple object instances in depth images in a small-shot environment, especially when using only a few annotated training examples, and standard deep learning methods require large training sets and expensive annotation efforts.

Method used

By training a neural network to classify depth surface geodesics connecting 3D point pairs in depth images, instead of directly using instances of objects for training, the characteristics of surface geodesics are used for instance segmentation, combining watershed algorithms and ground truth annotations. Improve segmentation results.

Benefits of technology

It realizes the automatic segmentation of multiple object instances in depth images in a small sample environment, reduces the demand for training data, improves the accuracy and efficiency of the segmentation model, and is suitable for applications such as robot-assisted tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118696344A_ABST
    Figure CN118696344A_ABST
Patent Text Reader

Abstract

An imaging controller for segmenting instances from a depth image comprising an object to be manipulated by a robot is provided. The imaging controller includes: an input interface configured to receive a depth image including an object; a memory configured to store instructions and a neural network trained to segment instances from an object in the depth image; and a processor coupled with the memory and configured to execute instructions to segment the pickable instance using the trained neural network. The instructions include the steps of: selecting a highest point in a depth image; defining an area using the shape such that the area surrounds the highest point; sampling points in the region of the depth image; calculating a depth geodesic line between the highest point and the sampling point; submitting the depth geodesic to a neural network to segment pickable instances in instances of the object in the depth image; and an output interface configured to output the geometric feature of the pickable instance to a manipulator controller of the robot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to automatically segmenting multiple instances of objects in depth images, while the segmentation model is trained in a few-shot setting using only a few annotated training examples. Background Art

[0002] Instance segmentation is a necessary step in various autonomous tasks. Some examples include: (i) a robotic arm that needs to pick up similar products moving on a conveyor belt in a manufacturing environment, (ii) a supermarket robot that needs to pick and place fruits from a container, (iii) a library assistant robot that needs to pick books from a box and hand them over to a person, (iv) identifying instances of cars on the road in an autonomous driving environment, or (v) identifying instances of body tissues in medical images for automated diagnosis.

[0003] Standard deep learning solutions (e.g., Mask-RCNN and variants for solving such instance segmentation tasks) typically require large training sets for training the underlying neural network, however creating such training sets and annotating the training examples can be expensive and involve a lot of manual labor. Therefore, the creation of such datasets may not be feasible in many cases. The instance segmentation task can also be considered as one of the standard clustering schemes applied to the deep image point cloud. For example, the segmentation can be derived by applying K-means, Gaussian mixture modeling, or spectral clustering on the point cloud. However, such clustering algorithms typically make assumptions about the point cloud distribution and therefore may not be flexible for segmenting real-world objects whose shapes may vary. There are also recent methods that can perform instance segmentation in an unsupervised environment, such as InSeGAN. However, InSeGAN requires a large unlabeled training set with diversity in the instance arrangement, which may also be difficult to obtain under real-world conditions.

[0004] Therefore, it is desirable to design a method for instance segmentation that can automatically segment multiple instances of an object in a depth image and requires only a few training examples to train the segmentation model. Summary of the invention

[0005] The present disclosure generally relates to automatically segmenting multiple instances of objects in depth images, while the segmentation model is trained in a few-shot setting using only a small number of annotated training examples.

[0006] Some embodiments of the present disclosure provide a method for segmenting object instances in a depth image. Compared to existing methods that typically use deep neural networks for segmentation, the present disclosure includes a uniquely created instance segmentation pipeline that does not require any 3D CAD model of the object, but only requires a few annotated examples of object instances in a small number of depth images.

[0007] Embodiments of the present disclosure are configured to automatically segment multiple instances of approximately convex 3D objects in depth images in a small sample environment, which is a novel approach in the field of computer vision. Embodiments of the present disclosure can be configured to perform multiple applications including robot-assisted tasks. For example, to pick an object from a container containing multiple instances, the robot needs to correctly segment the instances to plan the grasping.

[0008] Some embodiments of the present disclosure include an architecture for instance segmentation that follows some aspects of deep neural networks, however, standard neural networks require a large training set of annotated instances in depth images for training. The unique insight in the present disclosure is not to use instances directly to train the neural network, but instead to train the neural network to classify depth surface geodesics connecting three-dimensional point pairs in the depth image. Since there may be many such point pairs for the number of pixels in the depth image, a small number of annotated instances can produce a large set of annotated surface geodesics, which can then be used to train the neural network. The method first selects a random sample of spatial locations in a given training depth image and computes pairwise surface geodesics between each pair.

[0009] At least one insight gained from the experiments is that surface geodesics computed between pairs of depth points can have arbitrary lengths and thus can be difficult to use for training neural networks that expect fixed-size inputs. To this end, the presented model discretizes each geodesic into a fixed-dimensional vector. In the present disclosure, each geodesic is divided into equal segments, and each dimension of the discretized geodesic vector is filled with the depth of the pixel at the endpoint of the corresponding geodesic segment.

[0010] Another realization of the present disclosure is obtained from theoretical insights that for any two points on a convex surface, the surface geodesic (which is the shortest curve) connecting the two points will have a convex shape. However, if the two points belong to different instances, and each instance is a convex shape, the surface geodesic connecting the two points will have a non-convex shape or discontinuity at the depth point where the two object surfaces intersect. These two types of curves (convex and non-convex) are used to train a neural network for classification targets. The neural network, when well trained, classifies each geodesic as being completely within the instance segmentation (convex geodesic) or spanning multiple instances (non-convex geodesic).

[0011] The insight gained from the experiments is that by discretizing the surface geodesics, convex / non-convex discontinuities in the geodesics may be lost if the curve is very close across the two instances where it is computed. For example, consider two cubes touching each other. In the depth image, at the location where the cubes touch, the curve may be almost continuous, and the discontinuity can be skipped by the discretization step when the number of dimensions in the fixed-dimensional geodesic vector is not many to capture the discontinuity. Similar problems may occur when there is noise in the depth image, so standard noise removal and hole filling algorithms that are typically used to smooth the depth images may over-smooth the boundaries of the instance segmentation and therefore may suppress the ground truth geodesic discontinuities. To avoid this problem, training annotations of the instances are deployed. Even when the discretized geodesic vectors have suppressed the object intersection discontinuities, the annotations guide the neural network to perform classification, requiring the neural network to learn other surface features that characterize the surface of the 3D object.

[0012] Another realization gained from the experiment is that randomly selecting point pairs from the depth image to construct geodesics to train the neural network may be suboptimal. For example, there may be geodesics that make it very easy for the neural network to learn segmentation, but there may be other geodesics that are difficult to classify. Since easy examples may sometimes be significantly more than difficult examples, neural network training may be biased and may not produce correct segmentation for difficult segmentation scenarios. Another scenario is when the size of the object to be segmented is small, but there are many instances in a given depth image. This results in a large number of geodesics spanning multiple instances, while only a few geodesics are completely within the instance. To address these problems, the present disclosure proposes using a watershed algorithm (WA) to create an initial segmentation of the depth image. The method in WA produces two outputs: (i) a set of peaks, which are points in the depth image that are said to correspond to the centroid of the instance, and (ii) a segmentation of the corresponding instance. However, since the WA method is unsupervised, the peaks or segmentations it produces may be inaccurate. The unique insight in the present disclosure is to use ground truth training annotations and geodesic classification neural networks to improve WA segmentation. More clearly, one end of the geodesic is taken from the peak generated by WA, and the other end of the geodesic is constrained to be within the corresponding segment generated by WA for the corresponding selected peak. Next, the geodesic is labeled using the ground truth annotation on whether the geodesic belongs to the same instance at all. If WA makes an error in segmenting an instance, the ground truth instance labeling of the geodesic will enable the neural network to correct the error, resulting in better instance segmentation. At least one benefit of selecting geodesics from within the instances generated by WA is that it allows the creation of a better training set for the neural network, which has more geodesics belonging to the same instance and difficult examples generated by incorrect segmentation of WA. Geodesics belonging to the same instance allow learning a better implicit 3D model of the object shape within the neural network, while difficult examples allow learning a discriminative network that works well in challenging segmentation scenarios.

[0013] When using the trained model for, for example, segmentation, the architecture takes as input a depth image on which depth-geodesics are computed between selected pairs of locations in the depth image. The locations are selected based on a predetermined practical criterion. One embodiment of the criterion is based on the subsequent task that the segmentation is used for. For example, if the instance segmentation produced by the method is used to pick up instances by a robotic arm, it is useful if the top-most instance in the pile of instances is segmented first. Such instances that are expected to be segmented first are called pickable instances.

[0014] The present disclosure proposes selecting pairs of spatial positions on a depth image to calculate depth geodesics on an input test image, wherein the selection is based on pickable instances in a given test depth image. Depth geodesics are calculated between all selected pairs of positions. One end of each geodesic is fixed to the highest depth point on the pickable instance. This point is called a seed point. The other end of the geodesic is selected from an area surrounding the highest depth point and within a predefined radius. Each geodesic is discretized as described in the training phase. The pre-trained neural network then classifies each geodesic as belonging entirely to an instance surface or spanning more than one instance. Instance segmentation is then defined using the convex hull of all points classified as belonging to the same instance. The process is repeated for each selected position in the image to produce multiple such instance segmentations.

[0015] It is recognized from experiments for segmenting a given test image that randomly selecting depth points from around a seed point may not be computationally efficient because it may not cover the instance in all directions. This insight suggests a systematic selection of points around a seed point. An implementation of this idea in the present disclosure is to create a sample set of points around a seed point on concentric circles along radial lines that are angularly equidistantly spaced. This selection allows uniform coverage of a circular area around a seed point to construct geodesics.

[0016] The way the test geodesics are constructed is based on the realization that these geodesics always point from higher depth points to lower points. Therefore, including geodesics that do not obey this property in the training set may be inefficient. To address this issue, the depth points used to train the neural network are first sorted in ascending order of their depth, and the geodesics used for training are calculated from the point with lower depth (or the highest point) to the point with higher depth.

[0017] Embodiments of the present disclosure provide an imaging controller for segmenting instances from a depth image including an object to be manipulated by a robot. The imaging controller may include: an input interface configured to receive a depth image including an object; a memory configured to store instructions and a neural network, the neural network being trained to segment instances from the object in the depth image; and a processor coupled to the memory, the processor being configured to execute the instructions to segment a pickable instance using the trained neural network, wherein the steps of the instructions include: selecting the highest point in all instances in the depth image; defining an area using a shape so that the area surrounds the highest point; sampling points in the area of ​​the depth image; calculating a depth geodesic between the highest point and the sampled point; submitting the depth geodesic to the neural network to segment the pickable instance in the instance of the object in the depth image; and an output interface configured to output geometric features of the pickable instance to a manipulator controller of the robot.

[0018] In addition, according to some embodiments of the present invention, a computer-implemented method for training a neural network to segment instances in a depth image is provided. In this case, the method uses a processor connected to stored instructions for implementing the method, wherein the instructions, when executed by the processor, perform the steps of the method, the method comprising the following steps: selecting a depth image from a set of depth images; determining points of xy spatial locations on a two-dimensional image grid and corresponding depth points with respect to the selected depth image, wherein the points on the two-dimensional image grid are respectively annotated with ground truth instance labels; calculating geodesic lines between the determined annotated point pairs; generating depth geodesics by projecting the geodesic lines onto the depth image; discretizing each of the depth geodesics to create a discretized vector, wherein each discretized vector corresponds to one of the depth geodesics between the determined annotated point pairs; and submitting the discretized vectors and the corresponding annotated labels of the discretized vectors to the neural network, wherein the steps from selecting to providing are repeated until the rest of all the set of depth images are used.

[0019] In addition, according to some embodiments of the present invention, a container picking system for picking up an object from a container is provided. The container picking system may include: an end tool configured to pick up an object from an object; a robotic arm including an end tool, wherein the robotic arm is configured to be driven by a control signal including an end tool signal to pick up an object from a container using the end tool; an interface configured to send and receive control signals, sensor signals of sensors arranged on the robotic arm, and imaging signals of at least one imaging device; a memory configured to store instructions of a robot control program, and a classifier for segmenting instances of objects from a depth image and a trained neural network, the trained neural network having been trained by the above-mentioned computer-implemented method; and a processor connected to the memory, the processor being The invention is configured to execute instructions to segment pickable instances using a trained neural network and generate control signals to drive a robot arm and an end tool, wherein the steps of the instructions include: selecting a highest point in a depth image; defining an area using a shape so that the area surrounds the highest point; sampling points in the area of ​​the depth image; calculating a depth geodesic between the highest point and the sampled point; submitting the depth geodesic to the neural network to segment the pickable instance in an instance of an object in the depth image; generating geometric features and control signals of the pickable instance based on imaging signals; and sending the generated geometric features and the generated control signals to the robot arm so that the end tool picks up an object corresponding to the pickable instance from a container using the end tool.

[0020] Therefore, the systems and methods as a whole cannot be viewed as merely performing aspects of human thinking, nor can they be viewed in abstract terms as collecting (aggregating) data, processing data, analyzing data, and displaying certain results. Instead, the systems and methods can generalize when annotation is difficult, or when operating in complex scenes with less expense and computational overhead, and can be competitive and beneficial to players in the computer vision industry and other industries. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The presently disclosed embodiments will be further explained with reference to the accompanying drawings. The drawings shown are not necessarily drawn to scale, with emphasis instead generally being placed upon illustrating the principles of the presently disclosed embodiments.

[0022] [ Figure 1A ]

[0023] Figure 1A is an illustrative example of deep image segmentation of nearly identical chicken nuggets instances in a container in accordance with an embodiment of the present invention.

[0024] [ Figure 1B ]

[0025] Figure 1Bis an illustrative example of deep image segmentation of nearly identical chicken nuggets instances in a container in accordance with an embodiment of the present invention.

[0026] [ Figure 2A ]

[0027] Figure 2A An example of a depth image containing multiple instances of an object is shown, illustrating an embodiment of the present invention.

[0028] [ Figure 2B ]

[0029] Figure 2B The embodiment according to the present invention is shown Figure 2A The surface curve between two arbitrary points p1 and p2 in .

[0030] [ Figure 3 ]

[0031] Figure 3 A pipeline for training a neural network using surface geodesics to learn an implicit shape model for a single instance of an object is shown in accordance with an embodiment of the present invention.

[0032] [ Figure 4A ]

[0033] Figure 4A An example illustrating pickable instances in a depth point cloud according to an embodiment of the present invention is shown.

[0034] [ Figure 4B ]

[0035] Figure 4B The embodiment according to the present invention is shown in Figure 4A The split instance at the top of the container.

[0036] [ Figure 5 ]

[0037] Figure 5 An example of an inference pipeline for segmenting an instance according to an embodiment of the present invention is shown.

[0038] [ Fig. 6A ]

[0039] Fig. 6A An example of random selection of points around a picked point for computing geodesics according to an embodiment of the present invention is shown.

[0040] [ Figure 6B ]

[0041] Figure 6B An example of systematic selection of points around a picked point for computing geodesics according to an embodiment of the invention is shown.

[0042] [ Fig. 7A ]

[0043] Fig. 7A An example of a depth map and a step of generating instance segmentation based on a watershed transform according to an embodiment of the present invention is shown.

[0044] [ Figure 7B ]

[0045] Figure 7B An example of a depth map and a step of generating instance segmentation based on a watershed transform according to an embodiment of the present invention is shown.

[0046] [ Figure 7C ]

[0047] Figure 7C An example of a depth map and a step of generating instance segmentation based on a watershed transform according to an embodiment of the present invention is shown.

[0048] [ Fig.7D ]

[0049] Fig.7D An example of a depth map and a step of generating instance segmentation based on a watershed transform according to an embodiment of the present invention is shown.

[0050] [ Figure 8 ]

[0051] Figure 8 A comparison of the results obtained by the present invention and other methods for a fried chicken dataset is shown.

[0052] [ Fig. 9 ]

[0053] Fig. 9 Examples of images of four object categories used to create the datasets (depth images) in the experiments are shown.

[0054] [ Fig.10 ]

[0055] Fig.10 is a diagram showing the use of an embodiment according to the present invention Fig. 9 Example of segmentation results for the dataset.

[0056] [ Fig.11A ]

[0057] Fig.11A Several examples of segmentation produced by our settings for cut carrot, chicken, taro, and fried food examples are shown in accordance with an embodiment of the present invention.

[0058] [ Fig. 11B ]

[0059] Fig. 11B Several examples of segmentation produced by our settings for cut carrot, chicken, taro, and fried food examples are shown in accordance with an embodiment of the present invention.

[0060] [ Fig. 11C ]

[0061] Fig. 11C Several examples of segmentation produced by our settings for cut carrot, chicken, taro, and fried food examples are shown in accordance with an embodiment of the present invention.

[0062] [ Fig.11D ]

[0063] Fig.11D Several examples of segmentation produced by our settings for cut carrot, chicken, taro, and fried food examples are shown in accordance with an embodiment of the present invention.

[0064] [ Fig.12 ]

[0065] Fig.12 A hardware diagram illustrating some components that may be incorporated into some systems of the present disclosure according to some embodiments of the present invention is shown.

[0066] [ Fig.13 ]

[0067] Fig.13 A robot configuration of a robot according to an embodiment of the present invention is shown.

[0068] [ Fig.14 ]

[0069] Fig.14 is a schematic diagram illustrating, by way of non-limiting example, a computing device that may be used to implement some techniques in accordance with embodiments of the present invention. DETAILED DESCRIPTION

[0070] Although the drawings indicated above illustrate the embodiments of the present disclosure, other embodiments may be envisioned as noted in the discussion. The present disclosure presents illustrative embodiments by way of representation and not limitation. Those skilled in the art may devise many other modifications and embodiments that fall within the scope and spirit of the principles of the embodiments disclosed herein.

[0071] Segmenting nearly identical object instances is a common problem in various robotic container picking applications. Some examples include: (i) a robotic arm that needs to pick up products moving on a conveyor belt in a manufacturing environment, (ii) a supermarket robot that needs to pick and place fruits from a container, or (iii) a library assistant robot that needs to pick books from a box and hand them over to a person.

[0072] Figure 1A and Figure 1B is an illustrative example of deep image segmentation of nearly identical chicken nuggets instances in a container according to some embodiments of the present invention. Figure 1A An illustrative example of deep image segmentation of nearly identical chicken nuggets instances in a container of . A standard deep learning solution for this task would require a large training set and significant annotation effort. The problem can also be viewed as one of applying a standard clustering scheme on the depth points. For example, the segmentation can be derived by, for example, applying K-means, EM, or spectral clustering on the point cloud. However, such clustering algorithms typically make assumptions about the shape of the distribution or involve hyperparameters. For example, K-means assumes that the distribution is spherical around the cluster centroid, or elliptical as in EM. Spectral clustering requires specifying neighboring hyperparameters to define the edges of the underlying graph Laplacian operator. There are also some recent methods for unsupervised instance segmentation. However, they require large unlabeled training sets with diversity in instance arrangements, which may also be difficult to obtain under real-world conditions. For example, some methods require thousands of unlabeled depth images, which requires a robotic arm to shake the container of the object - an unscalable task and sometimes not feasible if the object of interest is fragile or may be damaged by such shaking.

[0073] In this disclosure, we consider the problem of instance segmentation of nearly identical convex object instances in depth images in a few-shot setting, where we assume that we have access to a finite set of annotated depth images (less than five), each with several instances annotated with their segments. Our key idea is to create surface trajectories or geodesics on the 3D surface of the depth image, with the goal of training a neural network to classify these trajectories as being within or across two ground-truth instances; the network thus potentially learns an implicit 3D model of a single object instance within its parameters, even though it is trained with only a single geodesic trajectory. For a depth image with n pixels, there are potentially n(n-1) / 2 such geodesics, which, if used carefully, can provide a significantly large dataset to train on. The idea is to exploit this insight for instance segmentation when the number of annotated images is small. Specifically, our algorithm has the following steps. (i) For two randomly chosen points on the depth image, we compute the surface geodesic, which is the projection of a line connecting the two points on the 2D RGB image grid onto the depth image. Given that our assumed object is convex (and assuming that the camera plane is orthogonal to the object), this projection will be (approximately) the shortest path connecting two points on the depth surface of the object, and will therefore be a depth geodesic. (ii) We discretize this geodesic into a set of predetermined (fixed) bins, where each bin will hold the depth value of the geodesic at that bin's location. The bins are equally spaced on the line from which the geodesic is projected. (iii) Next, we give labels to the geodesic using the provided ground truth segments. Specifically, we give the discretized geodesic vector 1 if both ends of the geodesic belong to the same object instance, and zero otherwise. (iv) We train a neural network classifier on these discrete vectors and their labels.

[0074] At test time, given a depth image, we first select a seed position in the depth image to start the segmentation process. In robotic container picking applications, it is often easier for the robot to pick up the instance that is at the top (i.e., closest to the robot). In some other cases, the most distant instance may be preferred. We propose various heuristics to calculate this initial seed. Next, we calculate geodesics from the seed point to random spatial positions around the seed point and within a predefined radius. We discretize these geodesics and classify each geodesic as belonging to the same instance or not using a pre-trained classifier. For all points classified as being within the same instance, we calculate the convex hull of these points and consider all pixels within the convex hull to correspond to the same instance, thereby achieving instance segmentation. In order to create segmentations for more than one instance, we select another seed point from the depth image that is outside the predefined proximity of the already segmented instance, and repeat the above process until we have obtained a suitable number of object instances for the task.

[0075] The proposed method

[0076] Assume that a set of annotated depth images is given Among them, each Define an image grid of width W and height H pixels such that D xy holds a non-negative value corresponding to the depth of the scene at position (x, y) ∈ [H] × [W], where [Z] denotes the set of indices of integers {0, 1, …, Z-1}. For a pixel (x, y) on the image grid, we assume it is labeled with instance label l xy ∈[L D ]∪{L B} Note, where L D is the number of instances in the depth image D, and L B corresponds to background labels (i.e., pixels that do not contain the depth of any object instance, such as the bottom of a container, the walls of a container, etc.). To introduce our approach, we will need some background notation, which we describe next.

[0077] Surface geodesics and assumptions

[0078] For two different points (x1, y1) and (x2, y2) on the image grid, assume that γ(t) (for t∈[0,1]) starts at and ends at Oriented surface curve. That is, and With all its points We define is the length of the curve γ, and the geodesic g is the curve (or set of curves) with the minimum length connecting two points. That is,

[0079]

[0080] We refer to geodesics as z-geodesics in the subsequent text. To derive our method, we make the following assumptions about our problem setting.

[0081] Assumption 1 (surface convexity)

[0082] We assume that the objects used in our setting are convex and that the depth patches associated with instances form an approximately convex smooth surface.

[0083] By convex object surface, we mean that all one-dimensional curves γ(t) on the surface are convex with respect to t, such that any Assumptions is a patch from the depth image D, where All elements in have the same instance label l. Then, for two different points (x1, y1), (x2, y2) on the image grid, where if Started in and ends at If the labels represent points on the geodesic , then we have the following proposal to directly prove the basic properties of convexity. To simplify our notation, we will now omit the We will revert to it whenever we need it.

[0084] Recommendation 1

[0085] if is a convex depth patch from the depth map D, and if g(t) is arrive The geodesic of

[0086] Assumption 2 (Orthogonal projection)

[0087] The camera projection plane is appropriately positioned away from the instance so that the image XY-plane is approximately orthogonal to the velocity of any trajectory on the depth surface

[0088] This assumption allows us to use the straight line xy(t) = (1-t)(x1,y1) + t(x2,y2), t∈[0,1] 3D points will be connected and Geodesic Parameterization. For simplicity, we will use e(xy(t)) And with this parameterization we have the geodesic as g(e(xy(t))) where now instead of t we use the point on the line to index the depth.

[0089] Assumption 3 (fixed posture)

[0090] We also assume that the camera position and pose, as well as the container, are stationary when all depth images are captured.

[0091] We also assume that there is one or more instances of an object in a container in a training image and that all instances are of the same object. We do not make any assumptions about the arrangement of instances in a container or the number of instances in a container. We also assume that the ground truth annotations are reasonably accurate and that at least one instance in each training image is associated with a ground truth annotation. Although we have access to RGB images of the containers next to the depth images, we do not use these in the methods described in this work. Furthermore, the method can be easily extended to work with depth point clouds instead of depth images. In this case, the geodesic approximation using Assumption 2 may not be directly applicable, since the XY points may no longer be described by a fixed image grid.

[0092] Discriminative shape modeling

[0093] Figure 2A and Figure 2B A depth image containing multiple instances of an object and a surface curve between two arbitrary points p1 and p2 are shown. Figure 2B This curve is plotted as a one-dimensional curve g(t) for varying t, where the X-axis of the plot shows t varying from t=0 corresponding to point p1 to t=1 corresponding to point p2 in 100 equal steps, and the Y-axis shows the depth of the geodesic in the depth image for the corresponding values ​​of t. Our original insight in developing our method is that if the two ends of the curve belong to different examples, then the curve will be non-convex or non-smooth at the point where the instances overlap. Our method attempts to exploit this insight to learn implicit object shapes using neural networks. In the following, we describe each step in our setup in detail. Before we proceed, we need to discuss some practical choices that need to be considered from a computational and implementation perspective.

[0094] Geodesic discretization: In a practical sense, it is problematic to directly apply the idea of ​​using geodesics for e.g. segmentation, because in that case one would need to implicitly parameterize the surface geodesics as continuous curves, which can be difficult for arbitrary curves and objects for which no analytical form may exist (e.g., surface geodesics on chicken nuggets?). Instead, to keep computations cheap, we discretize the curve using a fixed number of bins. Specifically, for the geodesics g(t), we use a fixed m-dimensional vector To represent it, where the kth dimension v k = g((k-1) / m. Such discretized geodesics can be computed very cheaply using Assumption 2 of orthogonal projection to the camera plane, since in that case it is only necessary to first approximate the Euclidean geodesic Divide into m parts, that is, to obtain the (x, y) 2D image grid position, which can then be used to directly index the depth map to obtain v k =D xy(k) .

[0095] Instance Supervision: If discontinuities or non-convexity of surface geodesics are sufficient to find instance boundaries, then why are instance annotations needed? This is because, if two instances are very close, the above discretization step can skip the discontinuities in the curve. For example, consider two cubes, touching each other. In the depth image, at the locations where the cubes touch, the curve may be almost continuous and the discontinuity can be skipped by the discretization step. Similar problems may occur when there is noise in the depth image, and standard noise removal and hole filling algorithms may smooth the depth image where the ground truth geodesic discontinuities may be suppressed. To avoid these problems, the method of the present invention can access the ground truth instance mask.

[0096] Instance Segmentation Training Pipeline

[0097] Figure 3 An example of a training pipeline for computing surface geodesics on a given training depth image and training a neural network according to some embodiments of the present invention is shown. For a given training depth image D, the first step in our pipeline is to select a random set of M points 301 on the 2D image grid. Let us call this set Next, for each pair of such points We calculate the Euclidean (geodesic) line 302 (A point like this and its straight lines to a pair of other points only Figure 3 This step is followed by calculating the depth geodesics on the depth image by projecting these Euclidean geodesics on the depth map. Each depth geodesic is then discretized to form a set of M vectors as described in the above section m intervals of , each v corresponds to a discrete depth geodesic 303. Assume is the same as from point (x i ,y i ) to (x i ,y i ) corresponds to such a discretized vector of the depth geodesic, then we label label g Assigned to v as:

[0098]

[0099] Call l xy is the instance label associated with the image point (x, y).

[0100] Our final step in the training pipeline is to use the collection and its corresponding binary labels to train a neural network model parameterized by θ Specifically, the neural network 304 is a series of multi-layer perceptrons (MLPs) and combines the A batch of samples is taken as input and the labels of the corresponding samples are predicted. This prediction is then matched to the ground truth binary labels 305 using a softmax-crossentropy loss 306, which is then used to derive gradients to train the network parameters. In our experiments, we found that using the Euclidean geodesic The length of each vector is expanded (i.e., using that length to add an extra (m+1)th dimension) improves the training and performance of the network. This is because, for cases where there are no discontinuities in the geodesics that the network can discern, it can learn an approximate size of the underlying shape for classification.

[0101] Instance Segmentation Inference Pipeline

[0102] Figure 4A An example illustrating a pickable instance in a depth point cloud according to an embodiment of the present invention is shown, and Figure 4B Shown in Figure 4A The split instance at the top of the container.

[0103] At test time, given a test depth image D, our goal is to repeat the process during the training phase for instance segmentation. Since our goal is ultimately to produce segmentations for instances in the container, which may be most useful for robotic grasping and picking, we propose to segment instances that are located on top of the container (i.e., those closest to the camera), as Figure 4A and Figure 4B As shown, the goal is to first generate its instance segmentation mask. We call such instances pickable instances.

[0104] Figure 5 An example of an inference pipeline for segmenting instances according to some embodiments of the present invention is shown. First, we select a seed point in the test depth image that corresponds to the highest point on a pickable instance. Let us call this point H (501). Next, we use an approximate region around H where the instance may be. We call the radius of this region the picking radius r. The region is a square box 502 of size 2r centered at H. Next, we uniformly sample m′ points {(x1, y1), (x2, y2), …, (x m′ ,y m′ )} and create a Euclidean geodesic (503). These geodesics are then mapped to discrete depth geodesics v (504) and the pre-trained f θ (corresponding to the neural network 505 of the trained neural network 304) is classified to represent the other end point of v (corresponding to the point (x i ,y i )) is within the instance segmentation. Points classified as within the segment are then fed to a robust convex hull computation algorithm to produce a segmentation of the instance (506). Note that the convexity of the object is therefore important for this step to work correctly.

[0105] To create a segmentation for a different instance, we select another high point H′ from the depth image such that the picking radius r around H′ will not overlap with the picking radius around H. That is, we search for instances where the depth geodesic will not overlap with the instance we have already segmented. Once we find the point H′, we apply the above process. We do this process sequentially, generating one instance segmentation at a time.

[0106] Algorithm Extension

[0107] Debiasing the training set

[0108] As the astute reader may immediately recognize, there is a difference in the way geodesics are computed at training and test time. While the training samples in the above setup are randomly selected from the image grid, the test samples are selected from the highest points in the depth map. Therefore, in the latter, the initial dimensions in the discrete geodesics v (closest to H) will have an upward trend (i.e., increasing depth), however, this need not be the case for those in the training set which creates a bias in the training and test distributions. To mitigate this issue, we sort the training points in ascending order of their depth using their depth values ​​and always compute geodesics from points with lower depth to points with higher depth during training.

[0109] Systematic sampling of test geodesics

[0110] In the basic inference algorithm described above, we randomly sample test points around the seed point. However, a more efficient approach is to systematically select points. To this end, we propose to use a picking radius r to define a circular region around the picked point H; this region is then divided into equal sectors by dividing r into β equal parts and dividing the circle into ζ equal angles. This leads to considering βζ points for generating surface geodesics, where these parameters can be adjusted according to the underlying shape of the segmentation we should learn. Fig. 6A shows an example illustrating random selection of points around a picked point for computing a geodesic, and Figure 6BAn example illustrating systematic selection of points around a picked point for computing geodesics according to some embodiments of the present invention is shown.

[0111] Watershed Initialization

[0112] a. So far, we have used random sampling points (albeit ordered) during the training phase. This sampling does not distinguish between using simple geodesics and hard geodesics to learn the classifier. For example, trivial discontinuities may be enough to cause the classifier to mark an out-of-instance trajectory, however, if such discontinuities do not occur, then there may be other subtle clues in the geodesics that the classifier should pay attention to? Such attention may be difficult to learn when they may be relatively infrequent in a large number of simple trajectories. To this end, we propose a hard-negative mining extension of our basic method using the Watershed Transform (WT). The watershed algorithm is a classic unsupervised method for image segmentation that uses the analogy of blocking the water flowing from the top of the mountain (the interior of the instance) towards the valley (i.e., the segment boundary). If we use a "dam" (by using the image Laplacian to characterize the edge) to block the valley, the pixels in which the water is captured form a segment. The challenge of the above method to work correctly is to choose where to construct the dam so that the trapped water corresponds to the ground truth segment.

[0113] b. In WT, use the distance transform to find the point where region growing starts (i.e., where the water is poured). That is, the first distance transform is calculated on the image to find the region where the peak is located (which corresponds to the point farthest from the edge), and then these points are selected for region growing. There are two advantages of using this idea in our setting: (i) points isolated from other instances can have such peaks, and such isolated instances are useful for robot picking, similar to the instances corresponding to the highest depth points, and (ii) in cluttered places, i.e., where the peaks are high (because water cannot be blocked by edges due to discontinuous / broken edges), those segments generated by WT may correspond to multiple instances that are incorrectly segmented into a single instance by WT, and can therefore be used for geodesic trajectory-based schemes that we use the provided supervision to better correct. Therefore, we propose to improve the selection of seed points to construct geodesic trajectories by selecting peaks generated by WT, and restricting the endpoints of the geodesics to be within the segmentation mask generated by WT for the corresponding peak points. Fig. 7A , Figure 7B , Figure 7C and Fig.7D An example of a depth map and a step of generating instance segmentation based on a watershed transform according to an embodiment of the present invention is shown.

[0114] experiment

[0115] a. In this section, we provide experiments demonstrating the empirical performance of our method for the task of instance segmentation. For this empirical study, we use a dataset consisting of several chicken nuggets in a container. However, for our experiments, the images are of HD quality and we resize them to 320×240. We train our setup using only a single annotated depth image, while the test set consists of 17 images. The depth images are created using an Ensenso camera. For our systematic sampling of endpoints, we use k=14 and the number of angles that depends on the picking radius (i.e., β=2πr / 3). The picking radius is chosen based on the size of the objects to be segmented, e.g., from the average radius of the instances in the provided ground truth segmentation.

[0116] b. Neural Network: We use a discretization of the geodesic trajectory with 50 bins, and thus we use m = 51 bins. Our neural network consists of 5 MLPs with corresponding output dimensions m, 5m, m, m / 2, 2 and using ReLU activation, and uses Adam for optimization using default learning rate and other settings. We also experiment with other nonlinear classifier models (such as nonlinear SVM) for the proposed method, the results of which will be presented soon.

[0117] c. Evaluation: For the evaluation of the method, we sample 1000 points from the ground truth and predicted instance segmentation, and compute the F1 score on the overlap whether the classifier correctly predicted these samples. We compute the performance for predicting various numbers of instance segmentations in the depth image. A caveat to our sequential approach to predicting segmentations is that sometimes the method will not return the desired number of segmentations because some instances will partially overlap with other instances and excluding instances using the picking radius will not be able to find these overlapping instances. Therefore, we only evaluate on instances where the picked points were identified.

[0118] experiment

[0119] Figure 8 The results obtained using neural networks by the present invention and other methods for a fried chicken dataset are compared with other options such as linear SVM, nonlinear SVM using RBF kernel, and geodesic K-means (K-Mean) that directly classifies discretized trajectories using KMeans clustering. The depth image consists of multiple instances of chicken nuggets. The number of instances varies from 3 to 17. For this experiment, we used 81K positive trajectories (i.e., those with label 1) and 30K negative trajectories by sampling the images using the algorithm improvements described in the previous section. To address the imbalance in the dataset, we use appropriate weights during the training process. It can be clearly seen from the table that the use of our proposed neural variant performs significantly better than other alternatives.

[0120] Computational Performance: Since our scheme consists of basic computations on images and depth maps, and trajectories are discretized into small-dimensional vectors, our method is computationally very efficient and takes about 5 minutes to train on a 4-core CPU with 100K trajectories and about 0.05 seconds to segment an instance during inference.

[0121] universality

[0122] Fig. 9 Examples of grayscale images of four object categories used in the experiments to create the dataset (depth images) are shown. Each depth image consists of multiple instances of the same object, however there are pose variations (self-occlusions) between the instances. The object classes correspond to objects of different shapes, sizes, and number of instances. The following objects are used: (i) chicken nuggets of different classes, (ii) fried foods, (iii) cut carrots, and (iv) taro. The chicken nuggets have multiple instances of fried chicken nuggets, there may be slight shape variations, and the shapes are not necessarily convex. The fried foods class has only a few instances, however the instances are larger than the other shapes and are ellipses with large major axes and small minor axes, making the geodesics in different directions different. The cut carrot and taro classes have small objects, the taro class has a shape that is approximately spherical, while the cut carrot is pyramidal. There is significant inter-object occlusion and self-occlusion caused by these classes, which makes it challenging to segment instances in these classes.

[0123] Fig.10 is a diagram showing the use of some embodiments according to the present invention Fig. 9 Example of segmentation results for the dataset. Fig. 9 The table in reports the segmentation using the method of the present invention. Fig. 9 Precision, recall, and F1 accuracy scores for single and multiple instances of objects in each category described in . The results show that the method is about 80%-90% accurate in segmenting instances.

[0124] Qualitative segmentation results

[0125] Fig.11A , Fig. 11B , Fig. 11C and Fig.11D Several examples of segmentation produced by our setting for cut carrot, chicken, taro, and fried food instances are shown. Fig.11A , Fig. 11B , Fig. 11C and Fig.11DA pickable instance selected for segmentation is shown, which is highlighted and its highest point is marked as 'x'. A square area is selected around point 'x' as shown by the white square. Depth geodesics are calculated from the highest point 'x' to a systematic set of points around 'x' and inside the square. Those points classified as belonging to the same instance are marked by small black circles. The convex hull is calculated for all these black circle points and they form the instance segmentation. Once the segment is found to be removed from the depth image, another point 'x' is selected which is the highest point in the remaining point cloud and the surrounding area will not overlap with any previously selected area by more than 50% and the segmentation process is repeated.

[0126] Fig.12 A hardware diagram illustrating some components that may be incorporated into an imaging controller 1200 of the present disclosure according to some embodiments of the present disclosure is shown. The imaging controller 1200 may include a processor 1220 configured to execute stored instructions, and a memory 1240 storing instructions executable by the processor. The processor 1220 may be a single-core processor, a multi-core processor, a computing cluster, or any number of other configurations. The memory 1240 may include a random access memory (RAM), a read-only memory (ROM), flash memory, or any other suitable memory system. The processor 1220 is connected to one or more input and output devices via a bus 1206. The imaging controller 1200 may also include a storage device 1230 suitable for storing a first module (pre-trained neural network 1231), a second module (seed point selection program module) 1232, and a third module (geodesic program module) 1233 for storing instructions executable by the processor 1220. In some cases, the modules 1231, 1232, and 1233 may include Figure 5 or Figure 3 The architecture of the pre-trained image segmentation neural network 505 or 304 shown in Figure 5 or Figure 3 The module of the seed point 301 shown in FIG. Figure 3 and Figure 5 The storage device 1230 may store data in a data storage device 1234. The storage device 1230 may be implemented using a hard drive, an optical drive, a thumb drive, a drive array, or any combination thereof.

[0127] The imaging controller 1200 may include an input interface to receive a depth image or external data 1295 including a set of training data sets from an imaging device including a camera. The input interface may include a human-machine interface 1210 within the imaging controller 1200, which connects the processor 1220 to a keyboard / measurement device 1211 and a pointing device 1212, wherein the pointing device 1212 may include a mouse, a trackball, a touchpad, a joystick, a pointing stick, a stylus, or a touch screen, etc. Alternatively, the input interface may include a network interface controller 1250, which is suitable for connecting the imaging controller 1200 to a network 1290 via a bus 1206. Through the network 1290, the external data 1295 may be downloaded and stored in the storage system 1230 as training and / or operating data 1234 for storage and / or further processing.

[0128] Still reference Fig.12 , the imaging controller 1200 may include an output interface linked via a bus 1206, and a display interface 1260 adapted to connect the imaging controller 1200 to a display device 1265. The display device 1265 may include a computer monitor, a camera, a television, a projector, or a mobile device, etc. For example, the imaging controller 1200 may be connected to a system interface 1270 adapted to connect to a controlled system (robot controller) 1275 or a different system 1275 controlled based on some aspects. Additionally or alternatively, the imaging controller 1200 may be connected to an application interface 1280 via a bus, the bus being adapted to connect the imaging controller 1200 to an application interface 1280. Fig.13 In this case, the imaging controller 1200 is configured to obtain the depth image from the imaging device / camera 106 ( Fig.13 ) obtains a depth image of an object to be manipulated by the robot 150, segments a pickable instance among instances of the object in the depth image, and generates geometric features of the pickable instance to a controller (manipulator controller) of the robot 150. In some cases, the geometric features generated by the imaging controller 1200 from the segmented instance may include an external size of the instance, a posture of the instance, a shape of the instance, etc., so that the robot 150 picks up the corresponding pickable object from the object in the container or on the workbench.

[0129] Fig.13A robot configuration 100 of a robot 150 according to some embodiments is shown. The robot 150 includes a controller, a robot arm 101 for performing an instance picking operation. The robot arm 101 includes a wrist 102 for ensuring multiple degrees of freedom of moving an object. In some implementations, the wrist 102 is provided with an end tool 104 for holding an object 103 and / or for performing any other robot operation (such as a picking operation). The end tool 104 can be, for example, a clamp or other picking tool, such as a vacuum tool, etc. In the following, 'end tool' can mean 'clamp' or other picking tool, such as a vacuum tool, etc., or they can be used interchangeably. According to an embodiment, the purpose of the picking operation is to pick up a single instance of an object, typically the instance closest to the clamp.

[0130] The robot 150 is configured to perform a picking operation (e.g., picking up a segmented object instance 103) along a trajectory while using an imaging device 106 connected to an imaging controller 1200, which can provide a depth image of an object to be manipulated by the robot arm 101. The imaging controller 1200 is connected to a controller of the robot 150 so that the controller of the robot 150 obtains and uses features of the segmented instance from the imaging controller 1200. As used herein, a trajectory corresponds to a path that defines the movement of the object 103 held by the gripper 104 for performing a picking operation. In a simple scenario, the trajectory may indicate only the vertical movement of the wrist 102. However, because the wrist 102 includes multiple degrees of freedom, the trajectory may include a motion profile that spans a multi-dimensional space.

[0131] The pose of an object refers to a combination of the position and orientation of an object. The fixture 104 can move in a starting pose 111. The pose of the fixture 104 corresponding to the starting pose 111 is referred to as the starting pose of the fixture 104. According to an embodiment, the purpose of the picking operation is to pick up the segmented instance object 103. The pose 115 of the object 112 may refer to the position and / or orientation of the object 112. The robot 150 is configured to move the fixture 104 along the trajectory 113 to pick up the object 103 in the pose 114. The pose 114 of the object 103 of the object 112 is referred to as the target pose. The pose of the fixture 104 corresponding to the target pose is referred to as the target pose of the fixture 104.

[0132] The target posture of the fixture 104 is determined based on the position of the object 112. At the end of the successful execution of the picking operation, the posture of the fixture 104 of the robot arm 101 is considered to have reached the target posture of the fixture 104. Therefore, achieving the target posture of the fixture 104 is equivalent to successfully executing the picking operation. According to an embodiment, the trajectory 113 is defined according to the starting posture and the target posture of the fixture 104 and the posture 115 of the object 112. In addition, such a picking operation can be repeatedly performed by the robot 150.

[0133] Fig.14 14 is a schematic diagram of a computing device 1400 that can be used to implement some techniques of the methods and systems according to embodiments of the present disclosure, by way of non-limiting example. The computing device or apparatus 1400 represents various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The computing device 1400 may include a power supply 1408, a processor 1409, a memory 1410, and a storage device 1411, all connected to a bus 1450. In some cases, the storage device 1411 may include a processor based on a processor 1409. Figure 3 14. The architecture of the trained neural network 505 (304, 1231) of the training pipeline shown. In addition, the architecture of the trained neural network can be obtained from the external data 1295 storing the trained neural network via the network. In addition, the high-speed interface 1412, the low-speed interface 1413, the high-speed expansion port 1414 and the low-speed connection port 1415 can be connected to the bus 1450. In addition, the low-speed expansion port 1416 is connected to the bus 1450.

[0134] Depending on the specific application, various configurations of components that can be mounted on a common motherboard are contemplated, as non-limiting examples, 1430. In addition, an input interface 1417 can be connected to an external receiver 1406 and an output interface 1418 via bus 1450. A receiver 1419 can be connected to an external transmitter 1407 and a transmitter 1420 via bus 1450. External memory 1404, external sensors 1403, machine 1402, and environment 1401 can also be connected to bus 1450. In addition, one or more external input / output devices 1405 can be connected to bus 1450. A network interface controller (NIC) 1421 can be adapted to connect to a network 1422 via bus 1450, wherein data or other data, etc. can be presented on a third-party display device, third-party imaging device, and / or third-party printing device external to computer device 1400.

[0135] Still reference Fig.14 , it is also contemplated that the memory 1410 may store instructions executable by the computer device 1400, historical data, and any data that may be utilized by the methods and systems of the present disclosure. The memory 1410 may include a random access memory (RAM), a read-only memory (ROM), a flash memory, or any other suitable memory system. The memory 1410 may be one or more volatile memory units and / or one or more non-volatile memory units. The memory 1410 may also be another form of computer-readable medium, such as a magnetic disk or an optical disk.

[0136] Still reference Fig.14 , storage device 1411 can be suitable for storing supplementary data and / or software modules used by computer device 1400. For example, storage device 1411 can store historical data and other relevant data as mentioned above about the present disclosure. Additionally or alternatively, storage device 1411 can store historical data similar to the data mentioned above about the present disclosure. Storage device 1411 can include hard disk drive, optical disk drive, thumb drive, drive array or any combination thereof. In addition, storage device 1411 can include computer readable medium, such as floppy disk device, hard disk device, optical disk device or tape device, flash memory or other similar solid state memory device or device array, including storage area network or other configurations. Instructions can be stored in information carriers. Instructions are executed by one or more processing devices (e.g., processor 1409) when executing one or more methods, such as those described above. The system may optionally be linked via bus 1450 to a display interface or user interface (HMI) 1423 suitable for connecting the system to a display device 1425 and a keyboard 1424, wherein the display device 1425 may include a computer monitor, camera, television, projector, or mobile device, etc.

[0137] Still reference Fig.14 , the computer device 1400 may include a user input interface 1417 suitable for a printer interface (not shown), which may also be connected via the bus 1450 and is suitable for connecting to a printing device (not shown), wherein the printing device may include a liquid inkjet printer, a solid ink printer, a large-scale commercial printer, a thermal printer, a UV printer, or a dye sublimation printer, etc. The high-speed interface 1412 manages bandwidth-intensive operations of the computing device 1400, while the low-speed interface 1413 manages less bandwidth-intensive operations. This allocation of functions is only an example. In some implementations, the high-speed interface 1412 can be connected to the memory 1410, the user interface (HMI) 1423, and the keyboard 1424 and the display 1425 (for example, through a graphics processor or accelerator), and the high-speed expansion port 1414, which can accept various expansion cards (not shown) via the bus 1450. In this implementation, the low-speed interface 1413 is connected to the storage device 1411 and the low-speed expansion port 1415 via the bus 1450. The low-speed expansion port 1415, which may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet), may be connected, for example, via a network adapter, to one or more input / output devices 1405 as well as a keyboard 1424, a pointing device (not shown), a scanner (not shown), or other devices such as a networked device such as a switch or router.

[0138] Still reference Fig.14, computing device 1400 can be implemented in a variety of different forms, as shown. For example, it can be implemented as a standard server 1426, or multiple times in a group of such servers. In addition, it can be implemented in a personal computer such as a laptop computer 1427. It can also be implemented as part of a rack server system 1428. Alternatively, components from computing device 1400 can be used with a server such as a server. Fig.13 Each such device may include one or more of computing device 1300 and device 1400, and the entire system may be composed of multiple computing devices communicating with each other.

[0139] Although the above-mentioned robot system expresses, for example, a robot that can manipulate / assemble parts of a product, the robot system can be applied to a robot that can be applied to a situation where a large amount of food in a food processing plant is an irregularly shaped object (cut vegetables, fried chicken, etc.). A robot system including a system for generating similar images from a real depth image and automatically segmenting multiple instances of rigid objects in a depth image can be applied to food processing plants, the automation of industrial robots that can manipulate food. In addition, the above-mentioned robot system can be applied to a segmentation (method) system for food recognition. Segmentation is one of the most popular and important problems in image processing. The accuracy of segmentation must be high, and the training and calculation time must be short to be applied to food processing plants.

[0140] The above description provides only exemplary embodiments and is not intended to limit the scope, applicability or configuration of the present disclosure. Instead, the following description of the exemplary embodiments will provide an enabling description for implementing one or more exemplary embodiments to those skilled in the art. Various changes may be made to the function and arrangement of the elements without departing from the spirit and scope of the disclosed subject matter set forth in the appended claims.

[0141] Although the present disclosure has been described with reference to certain preferred embodiments, it should be understood that various other modifications and changes may be made within the spirit and scope of the present disclosure. Therefore, the aspects of the appended claims cover all such changes and modifications that fall within the true spirit and scope of the present disclosure.

Claims

1. An imaging controller for segmenting an instance from a depth image including an object to be manipulated by a robot, the imaging controller include: an input interface configured to receive a depth image including an object; a memory configured to store instructions and a neural network trained to segment instances from the object in the depth image; as well as a processor coupled to the memory, the processor configured to execute the instructions to segment the pickable instance using the trained neural network, The steps of the instruction include: selecting the highest point in the depth image; Using the shape to define a region such that the region surrounds the highest point; sampling points in the region of the depth image; Calculating a depth geodesic between the highest point and a sampling point; submitting the depth geodesics to the neural network to segment pickable instances among instances of the object in the depth image; and An output interface is configured to output geometric features of the pickable instance to a manipulator controller of a robot.

2. The imaging controller according to claim 1, in, The depth image is acquired by a camera or a sensor.

3. The imaging controller according to claim 1, in, The steps also include: Selecting a next highest point from the depth image so that a picking radius around the next highest point does not include an overlap with the pickable instance; Defining a next region using a shape such that the next region surrounds the next highest point; sampling subsequent points in the next region of the depth image; calculating a subsequent depth geodesic between the next highest point and a subsequent point sampled; and The depth geodesic is submitted to the neural network to segment a next pickable instance among the instances of the object in the depth image.

4. The imaging controller according to claim 3, in, The steps of selecting, defining, sampling, calculating, and submitting are continued until the steps are performed for the remaining objects in the depth image.

5. The imaging controller according to claim 1, in, The shape is square, rectangular, triangular, circular or oval.

6. The imaging controller according to claim 1, in, The neural network is trained to classify each feature vector as belonging to the same instance or to different instances.

7. The imaging controller according to claim 1, in, The endpoints of the geodesic are initialized using the peaks generated by the watershed algorithm.

8. A computer-implemented method for training a neural network to segment instances in a depth image, in, The method uses a processor coupled with stored instructions implementing the method, wherein the instructions, when executed by the processor, perform the steps of the method, the method comprising the steps of: selecting a depth image from a set of depth images; determining points of xy positions on a two-dimensional image grid and corresponding depth points with respect to the selected depth image, wherein the points on the two-dimensional image grid are respectively annotated with ground truth instance labels; Compute geodesic lines between the determined annotated point pairs; generating a depth geodesic by projecting the geodesic line onto the depth image; discretizing each of the depth geodesics to create discretized vectors, wherein each discretized vector corresponds to one of the depth geodesics between the determined annotated point pairs; and The discretized vectors and corresponding annotation labels of the discretized vectors are submitted to the neural network, wherein the steps from the selecting to the providing are repeatedly performed until the rest of the entire set of depth images are used.

9. The method according to claim 8, in, The neural network is trained to classify each feature vector as belonging to the same instance or to different instances.

10. The method according to claim 9, further comprising: The following steps are involved: The convex hulls of all endpoints of the geodesics are computed as pickable points, and the geodesics are classified as geodesics belonging to the same instance.

11. The method according to claim 8, in, The generated depth geodesics are de-biased such that they are created from points at lower depths to points at higher depths.

12. The method according to claim 8, in, The endpoints of the geodesic line are initialized using the peaks generated by the watershed algorithm.

13. The method according to claim 12, in, The endpoints of the geodesic line are determined using a systematic selection method.

14. A container picking system for picking up an object from a container, the container picking system include: an end tool configured to pick up an object from the object; a robot arm including the end tool, wherein the robot arm is configured to be driven by a control signal including an end tool signal to pick up the object from the container using the end tool; an interface configured to send and receive the control signal, a sensor signal of a sensor arranged on the robot arm, and an imaging signal of at least one imaging device; a memory configured to store instructions of a robot control program, and a trained neural network and a classifier for segmenting instances from the object in the depth image, the trained neural network having been trained by the computer-implemented method of claim 8; and a processor coupled to the memory, the processor being configured to execute instructions to segment the pickable instances using the trained neural network and generate control signals to drive the robot arm and the end tool, wherein the steps of the instructions include: selecting the highest point in the depth image; defining a region using a shape such that the region surrounds the highest point; sampling points in the region of the depth image; Calculating a depth geodesic between the highest point and a sampling point; submitting the depth geodesics to the neural network to segment pickable instances among instances of the object in the depth image; generating a geometrical feature of the pickable instance and a control signal based on the imaging signal; and The generated geometric features and the generated control signals are sent to the robot arm so that the end tool picks up an object corresponding to the pickable instance from the container using the end tool.

15. The container picking system according to claim 14, in, The depth image is acquired by a camera or a sensor.

16. The container picking system according to claim 14, in, The steps also include: Selecting a next highest point from the depth image so that a picking radius around the next highest point does not include an overlap with the pickable instance; Defining a next region using a shape such that the next region surrounds the next highest point; sampling subsequent points in the next region of the depth image; calculating a subsequent depth geodesic between the next highest point and a subsequent point sampled; and The depth geodesic is submitted to the neural network to segment a next pickable instance among the instances of the object in the depth image.

17. The container picking system according to claim 16, in, The steps of selecting, defining, sampling, calculating, and submitting are continued until the steps are performed for the remaining objects in the depth image.

18. The container picking system according to claim 14, in, The shape of the area is square, rectangular, triangular, circular or elliptical.

19. The container picking system according to claim 14, in, The neural network is trained to classify each feature vector as belonging to the same instance or to different instances.

20. The container picking system according to claim 14, in, The endpoints of the geodesic are initialized using the peaks generated by the watershed algorithm.

Citation Information

Patent Citations

  • Single image segmentation method based on full-connection deep learning neural network

    CN110163884A

  • Small sample plant disease identification method and system

    CN110188824A

  • Systems and methods for few-shot transfer learning

    US20200130177A1

  • Systems and methods for augmentation of sensor systems and imaging systems with polarization

    US20210356572A1

  • Detection device, processing device, detection method, and processing program

    WO2020026677A1