# US 2020/0394343 A1 · Data serialization extrusion for converting two-dimensional images to three-dimensional geometry

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

- Number: US 2020/0394343 A1
- Document ID: US20200394343A1
- Status: Published application
- Kind: A1
- Application number: 16/900,500
- Filed: 2020-06-12
- Published: 2020-12-17
- Earliest claimed: 2019-06-12
- Assignees: Boom Interactive, Inc.
- Inventors: Jeremiah Timberline Barker
- Web page: https://patentgrep.com/patent/US20200394343A1

## CPC

- G06F 30/13: Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06T 7/11: Region-based segmentation
- G06T 7/12: Edge-based segmentation
- G06T 7/13: Edge detection
- G06T 7/181: involving edge growing; involving edge linking
- G06T 7/187: involving region growing; involving region merging; involving connected component labelling
- G06T 7/40: Analysis of texture (depth or shape recovery from texture G06T7/529)
- G06T 7/90: Determination of colour characteristics
- G06T 15/04: Texture mapping
- G06T 17/00: Three-dimensional [3D] modelling for computer graphics
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06V 10/44: Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
- G06V 10/56: relating to colour
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06V 20/647: {by matching two-dimensional images to three-dimensional objects}
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2210/04: Architectural design, interior design
- G06T 2219/2012: Colour editing, changing, or manipulating; Use of colour codes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Systems, methods, and devices for data serialization extrusion of input images and raw input data. A method includes determining an input image comprising one or more lines and generating a bitmap based on the input image. The method includes performing edge detection on the bitmap to identify the one or more lines in the input image by applying a growth algorithm to pixels of the bitmap. The method includes calculating a pixel width of each of the one or more lines in the input image.

## Claims

### Claim 1

A method comprising:
determining an input image comprising one or more lines;
generating a bitmap based on the input image;
performing edge detection on the bitmap to identify the one or more lines in the input image by applying a growth algorithm to pixels of the bitmap; and
calculating a pixel width of each of the one or more lines in the input image.

### Claim 2 (depends on 1)

The method of claim 1, wherein calculating the pixel width of each of the one or more lines in the input image comprises identifying a peak for each of the one or more lines, wherein a peak of a line represents one or two center-most pixels of the line.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
identifying a peak for each of the one or more lines, wherein a peak of a line represents one or two center-most pixels of the line;
identifying a peak starting point for the line;
following the peak of the line in a first direction beginning at the peak starting point and terminating at a first ending point of the line; and
following the peak of the line in a second direction beginning at the peak starting point and terminating at a second ending point of the line.

### Claim 4 (depends on 1)

The method of claim 1, wherein calculating the pixel width of each of the one or more lines comprises identifying a peak of each of the one or more lines and applying a decay algorithm to each of the one or more lines, wherein the decay algorithm begins at the peak of each of the one or more lines.

### Claim 5 (depends on 1)

The method of claim 1, wherein the input image comprises a two-dimensional drawing of an architectural floorplan, and wherein the method further comprises identifying walls in the architectural floorplan based on one or more of the pixel width of each of the one or more lines, a color of pixels within the architectural floorplan, or regions defined within the architectural floorplan.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
applying a Z-axis height to the walls in the architectural floorplan; and
generating serialized data comprising a geometric vector diagram of the architectural floorplan, wherein the geometric vector diagram can be used to generate a three-dimensional rendering of the architectural floorplan illustrated in the input image.

### Claim 7 (depends on 1)

The method of claim 1, wherein the input image comprises a two-dimensional drawing of an architectural floorplan, and wherein the method further comprises identifying enclosed regions within the architectural floorplan.

### Claim 8 (depends on 7)

The method of claim 7, wherein identifying the enclosed regions within the architectural floorplan comprises:
identifying a first pixel comprising an empty value and filling in the first pixel with a color;
applying a flood fill to an enclosed region comprising the first pixel by identifying neighboring pixels to the first pixel and filling in the neighboring pixels with the color;
recursively applying the flood fill to additional neighboring pixels within the enclosed region; and
terminating the flood fill for the enclosed region when perimeter pixels comprising non-empty values are reached by the flood fill.

### Claim 9 (depends on 8)

The method of claim 8, further comprising identifying a plurality of enclosed regions and applying a different color to each of the plurality of enclosed regions.

### Claim 10 (depends on 1)

The method of claim 1, further comprising applying a stencil buffer to the bitmap, and wherein performing edge detection on the bitmap comprises performing edge detection on the bitmap after the stencil buffer has been applied.

### Claim 11

A system comprising one or more processors configurable to execute instructions stored in non-transitory computer readable storage media, the instructions comprising:
determining an input image comprising one or more lines;
generating a bitmap based on the input image;
performing edge detection on the bitmap to identify the one or more lines in the input image by applying a growth algorithm to pixels of the bitmap; and
calculating a pixel width of each of the one or more lines in the input image.

### Claim 12 (depends on 11)

The system of claim 11, wherein the instructions are such that calculating the pixel width of each of the one or more lines in the input image comprises identifying a peak for each of the one or more lines, wherein a peak of a line represents one or two center-most pixels of the line.

### Claim 13 (depends on 11)

The system of claim 11, wherein the instructions further comprise:
identifying a peak for each of the one or more lines, wherein a peak of a line represents one or two center-most pixels of the line;
identifying a peak starting point for the line;
following the peak of the line in a first direction beginning at the peak starting point and terminating at a first ending point of the line; and
following the peak of the line in a second direction beginning at the peak starting point and terminating at a second ending point of the line.

### Claim 14 (depends on 11)

The system of claim 11, wherein the instructions are such that calculating the pixel width of each of the one or more lines comprises identifying a peak of each of the one or more lines and applying a decay algorithm to each of the one or more lines, wherein the decay algorithm begins at the peak of each of the one or more lines.

### Claim 15 (depends on 11)

The system of claim 11, wherein the input image comprises a two-dimensional drawing of an architectural floorplan, and wherein the instructions further comprise identifying walls in the architectural floorplan based at least in part on the pixel width of each of the one or more lines.

### Claim 16

Non-transitory computer readable storage media storing instructions for execution by one or more processors, the instructions comprising:
determining an input image comprising one or more lines;
generating a bitmap based on the input image;
performing edge detection on the bitmap to identify the one or more lines in the input image by applying a growth algorithm to pixels of the bitmap; and
calculating a pixel width of each of the one or more lines in the input image.

### Claim 17 (depends on 16)

The non-transitory computer readable storage media of claim 16, wherein the input image comprises a two-dimensional drawing of an architectural floorplan, and wherein the instructions further comprise:
identifying walls in the architectural floorplan based at least in part on the pixel width of each of the one or more lines;
applying a Z-axis height to the walls in the architectural floorplan; and
generating serialized data comprising a geometric vector diagram of the architectural floorplan, wherein the geometric vector diagram can be used to generate a three-dimensional rendering of the architectural floorplan illustrated in the input image.

### Claim 18 (depends on 16)

The non-transitory computer readable storage media of claim 16, wherein the input image comprises a two-dimensional drawing of an architectural floorplan, and wherein the instructions further comprise identifying enclosed regions within the architectural floorplan.

### Claim 19 (depends on 18)

The non-transitory computer readable storage media of claim 18, wherein the instructions are such that identifying the enclosed regions within the architectural floorplan comprises:
identifying a first pixel comprising an empty value and filling in the first pixel with a color;
applying a flood fill to an enclosed region comprising the first pixel by identifying neighboring pixels to the first pixel and filling in the neighboring pixels with the color;
recursively applying the flood fill to additional neighboring pixels within the enclosed region; and
terminating the flood fill for the enclosed region when perimeter pixels comprising non-empty values are reached by the flood fill.

### Claim 20 (depends on 16)

The non-transitory computer readable storage media of claim 16, wherein the instructions further comprise applying a stencil buffer to the bitmap, and wherein the instructions are such that performing edge detection on the bitmap comprises performing edge detection on the bitmap after the stencil buffer has been applied.
