# US 2016/0232259 A1 · Apparatus and method for interactively extracting shapes from a point cloud

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0232259 A1
- Document ID: US20160232259A1
- Status: Published application
- Kind: A1
- Application number: 15/018,690
- Filed: 2016-02-08
- Published: 2016-08-11
- Earliest claimed: 2015-02-06
- Assignees: Clearedge3D, Inc.
- Applicants: ClearEdge3D, Inc.
- Inventors: Kevin S. WILLIAMS; Dawei DU
- Web page: https://patentgrep.com/patent/US20160232259A1

## CPC

- G06F 30/10: Geometric CAD
- G06F 30/00: Computer-aided design [CAD]
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T 17/10: Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A system for constructing a virtual 3D model of one or more objects within a scene, where the virtual 3D model contains one or more flat faces on each object constructed. In some embodiments, the system may include at least one processing device configured to: receive, through a data interface, data describing a set of measurements of observed portions of the one or more objects in the scene, where the set of measurements was performed by one or more measurement devices; receive, through a data interface or user input device, one or more shape definitions, where the shape definitions define the possible shapes of a virtual 3D model of an object, and where the virtual 3D model of an object is to be constructed from the measurement data, and where the shapes contain one or more regions with primitive geometries.

## Claims

### Claim 1

A method of constructing a virtual 3D model of one or more objects within a scene, said virtual 3D model containing one or more flat faces on at least one of the objects constructed, said method comprising:
receiving, through a data interface, data describing a set of measurements of observed portions of the one or more objects in the scene;
selecting a set of one or more candidate shapes;
specifying a virtual spatial region of interest;
generating virtual primitive geometries;
calculating candidate positionings of candidate shapes; and
calculating a score for each combination of shape parameters and positioning and creating a virtual 3D model of an object based on the combination of shape and positioning with the best score.

### Claim 2 (depends on 1)

The method of claim 1, wherein selecting candidate shapes comprises:
obtaining one or more shape definitions, said shape definitions defining the possible shapes of a virtual 3D model of an object, said virtual 3D model of an object to be constructed from the measurement data, said shapes containing one or more regions with primitive geometries;
classifying the shape definitions into type groups, said type groups comprising a collection of one or more shape definitions, said shape definitions within the type group all having a similar pattern of primitive geometry regions; and
selecting a set of one or more candidate shape definitions for the virtual 3D model which will be constructed for the object, said candidate shape definitions all belonging to the same type group.

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of candidate shapes selected includes a subset of candidate shapes which can be parameterized by one or more continuous parameters.

### Claim 4 (depends on 1)

The method of claim 1, wherein selecting candidate shapes comprises at least one of:
obtaining one or more shape definitions, said shape definitions defining the possible shapes of a virtual 3D model of an object, said virtual 3D model of an object to be constructed from the measurement data, said shapes containing one or more regions with primitive geometries;
classifying the shape definitions into type groups, said type groups comprising a collection of one or more shape definitions, said shape definitions within the type group all having a similar pattern of primitive geometry regions; or
selecting a set of one or more candidate shape definitions for the virtual 3D model which will be constructed for the object, said candidate shape definitions all belonging to the same type group.

### Claim 5 (depends on 4)

The method of claim 4, wherein calculating candidate positionings of candidate shapes comprises calculating a set of possible positionings based on the pattern of primitive geometry regions associated with the type group to which the selected candidate shape definitions belong, and on the primitive geometries detected.

### Claim 6 (depends on 4)

The method of claim 4, wherein calculating a score for each combination of shape parameters and positioning and creating a virtual 3D model of an object based on the combination of shape and positioning with the best score comprises:
for each selected candidate shape definition and each possible positioning, calculating a score for that particular shape definition and positioning combination, said score being based on the shape definition, the positioning, and the primitive geometries;
selecting the combination of shape definition and positioning with the best score; and
creating the virtual 3D model of an object whose shape is determined by the shape definition with the best score and whose location and orientation are determined by the positioning.

### Claim 7 (depends on 4)

The method of claim 4, wherein the obtained shape definitions are received through a data interface or user input device.

### Claim 8 (depends on 4)

The method of claim 4, wherein obtaining one or more shape definitions comprises allowing the user to select a previously constructed virtual 3D model of an object and wherein the one or more shape definitions consists of the shape definition used to create said virtual 3D model.

### Claim 9 (depends on 4)

The method of claim 4, wherein each of the shape definitions comprises a definition of a 2D cross section which can be extruded to create a 3D shape.

### Claim 10 (depends on 9)

The method of claim 9, wherein the primitive geometry types include at least one of planar or cylindrical geometry.

### Claim 11 (depends on 9)

The method of claim 9, wherein calculating a score for each shape definition in the shape type template and each possible positioning comprises:
projecting the measurement data into the positioned plane of the shape definition's cross-section; and
calculating one or more primitive 2D curve geometries based on the projected measurement data;
and wherein the score further depends on said primitive 2D curve geometries.

### Claim 12 (depends on 1)

The method of claim 1, wherein specifying a virtual spatial region of interest comprises receiving from the user, through an input device, data specifying said region of interest, and wherein said region of interest might contain a portion of an object for which a virtual 3D model is to be constructed.

### Claim 13 (depends on 1)

The method of claim 1, wherein specifying a virtual spatial region of interest comprises selecting a virtual camera location and orientation corresponding to a location and a direction within the scene and presenting to a user, on a display device, a 3D graphical representation of the measurement data, said graphical representation being dependent upon the virtual camera location.

### Claim 14 (depends on 13)

The method of claim 13, wherein the virtual camera location and orientation can be adjusted by the user.

### Claim 15 (depends on 14)

The method of claim 14, wherein the virtual camera location is allowed to correspond to a location other than one of the scanner locations.

### Claim 16 (depends on 15)

The method of claim 15, wherein generating virtual primitive geometries comprises:
generating an extraction set, said extraction set comprising a subset of the measurement data, said subset containing measurements lying within the region of interest; and
generating one or more virtual primitive geometries based on the extraction set and the virtual camera location.

### Claim 17 (depends on 16)

The method of claim 16, wherein generating one or more virtual primitive geometries further comprises:
randomly selecting a set of points from the extraction set, the weight of each point within said random selection algorithm depending on the camera location and the point location;
calculating a primitive geometry based on the set of randomly selected points;
associating a subset of the points in the extraction set with the primitive geometry;
assigning a score to the primitive geometry based on the subset of points associated with that primitive geometry;
repeating the randomly selecting a set of points, calculating a primitive geometry, associating a subset of the points, and assigning a score to the primitive geometry N times, N being a non-zero positive integer;
choosing the primitive geometry with the highest score as a generated primitive geometry;
removing the subset of points associated with the generated primitive geometry from the extraction set; and
repeating the randomly selecting a set of points, calculating a primitive geometry, associating a subset of the points, assigning a score to the primitive geometry, choosing the primitive geometry, and removing the subset of points until a stopping criterion is met.

### Claim 18 (depends on 1)

The method of claim 1, wherein the selecting a set of one or more candidate shapes, the specifying a virtual spatial region of interest, the generating virtual primitive geometries, the calculating candidate positions, and the calculating a score and positioning and creating a virtual 3D model of an object are repeated until the desired number of virtual models of 3D objects have been created.

### Claim 19 (depends on 1)

The method of claim 1, wherein the received measurement data includes location data for one or more measurement devices and generating one or more primitive geometries is also based on said location data.

### Claim 20 (depends on 1)

The method of claim 1, wherein the virtual primitive geometries include orientation information.

### Claim 21

A system for constructing a virtual 3D model of one or more objects within a scene, said virtual 3D model containing one or more flat faces on at least one of the objects constructed, the system comprising:
a processor; and
a memory storing instructions which, when executed by the processor, cause the processor to:
receive, through a data interface, data describing a set of measurements of observed portions of the one or more objects in the scene;
select a set of one or more candidate shapes;
specify a virtual spatial region of interest;
generate virtual primitive geometries;
calculate candidate positionings of candidate shapes; and
calculate a score for each combination of shape parameters and positioning and creating a virtual 3D model of an object based on the combination of shape and positioning with the best score.

### Claim 22

A memory or a computer-readable medium storing instructions which, when executed by a processor, cause the processor to:
receive, through a data interface, data describing a set of measurements of observed portions of the one or more objects in the scene;
select a set of one or more candidate shapes;
specify a virtual spatial region of interest;
generate virtual primitive geometries;
calculate candidate positionings of candidate shapes; and
calculate a score for each combination of shape parameters and positioning and creating a virtual 3D model of an object based on the combination of shape and positioning with the best score.
