Computerized 3D modeling for building architecture has become the de facto standard for designing, construction, operating, maintaining, and remodeling of buildings. For new construction, 3D digital Computer Aided Design (CAD) drawings are readily available. For older buildings however, 3D architectural models either are missing, or are not up to date due to multiple remodeling and changes that have not been documented over the years. In these situations, it is important to first recover the 3D architectural model of the building before any remodeling or retrofit is carried out. This is referred to as “as built” floor plan recovery and can be done in multiple ways. One way is to use tape measure or laser pointer devices to manually measure dimensions in a building to recreate the architectural floor plan manually. Another is to use laser range finders, either static or mobile, to scan the buildings in order to create a 3D point cloud, which can then be used in a manual, laborious, and tedious step to create the 2D or 3D digital floor plan of the building. It may be useful to provide a method for converting a building scan to an electronic 2D or 3D floor plan that may be editable using 3D or 2D design tools. As such, methods for generating a floor plan from a building scan are presented herein.
The following presents a simplified summary of some embodiments of the invention in order to provide a basic understanding of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key/critical elements of the invention or to delineate the scope of the invention. Its sole purpose is to present some embodiments of the invention in a simplified form as a prelude to the more detailed description that is presented below.
As such, methods for generating a building scan of a building using an electronic computing device are presented, the method including: causing the electronic computing device to receive the building scan; converting the building scan to a floor plan; and refining the floor plan to approximate the building. In some embodiments, the causing the electronic computing device to receive the building scan further includes: extracting information from an input file to obtain a representation of a number of rooms and walls corresponding with the building scan, where the information is selected from the group consisting of: a set of vertices, a set of triangles, and a set of rooms. In some embodiments, the converting the building scan to a floor plan further includes: computing a principal axis for the building scan; straightening the walls represented by the building scan; removing intersections of rooms represented by the building scan; shrinking the rooms by an offset; collecting edges from each of the rooms; generating a Voronoi diagram from the edges; and extracting and joining edges from the Voronoi diagram. In some embodiments, straightening a number of walls represented by the building scan further includes: applying a Ramer-Douglas-Peucker (RDP) algorithm to straighten regions of the number of walls by fitting a simplified curve to an original curve of the building scan. In some embodiments, removing intersections of a number of rooms represented by the building scan further includes: arbitrarily selecting one of two intersecting rooms and subtracting an intersecting region of the two intersecting rooms from the selected one. In some embodiments, extracting and joining edges from the Voronoi diagram further includes: removing all tail edges from the Voronoi diagram, where the tail edges are all edges not parallel with at least one of the walls, and the edge is defined as the tail edge if and only if, a) one of vertices of the edge is a vertex to at most one additional edge vertex, or b) a midpoint of the edge lies within one of the rooms. In some embodiments, refining the floor plan to approximate the building further includes: parallelizing the number of edges such that all resulting edges are either parallel to or perpendicular to the principal axis. In some embodiments, parallelizing the number of edges such that all resulting edges are either parallel to or perpendicular to the principal axis further includes: with respect to the principal axis, selecting a misaligned edge that is misaligned with the principal axis; intersecting the misaligned edge with the perpendicular axis; cutting the misaligned edge into two edges; forcing the two edges to be parallel with the principal axis; and reconnecting the two edges, and with respect to the perpendicular axis, selecting the misaligned edge that is misaligned with the perpendicular axis; intersecting the misaligned edge with the principal axis; cutting the misaligned edge into two edges; forcing the two edges to be parallel with the perpendicular axis; and reconnecting the two edges. In some embodiments, refining the floor plan to approximate the building further includes: approximating at least one additional user-specified angle for the number of edges.
In other embodiments computing device program products for generating a floor plan from a building scan of a building using a computing device are presented, the computing device program products including: a non-transitory computer readable medium; first programmatic instructions for causing the electronic computing device to receive the building scan; second programmatic instructions for converting the building scan to a floor plan; and third programmatic instructions for refining the floor plan to approximate the building.
In other embodiments, methods for generating a floor plan from a building scan of a building using an electronic computing device are presented, the methods including: causing the electronic computing device to receive the building scan; converting the building scan to a floor plan, where the converting includes, computing a principal axis for the building scan, straightening a number of walls represented by the building scan, removing intersections of a number of rooms represented by the building scan; shrinking the number of rooms by an offset, collecting a number of edges from each of the number of rooms, generating a Voronoi diagram from the number of edges, and extracting and joining edges from the Voronoi diagram; and refining the floor plan to approximate the building, where the refining includes, parallelizing the number of edges such that all resulting edges are either parallel to or perpendicular to the principal axis, and approximating at least one additional user-specified angle for the number of edges.
The features and advantages described in the specification are not all inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
As will be appreciated by one skilled in the art, the present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention. The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
A computer readable storage medium, as used herein, is not to be construed as being transitory signals/per se/, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire. Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device. Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions. These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks. The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks. The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks
At a next step 104, the method converts the building scan to a floor plan. An example of such a floor plan may be found at
At a next step 106, the method refines the floor plan. An example of a refined floor plan may be found at
At a next step 206, the method removes intersections of rooms created by the application of the RDP algorithm. An example of a step 206 may be found at
At a next step 210, the method collects edges. In order to collect edges, the method computes an external contour that surrounds the plurality of rooms with a contour offset. An example of a step 210 may be found at
At a next step 304, the method approximates at least one additional user-specified angle for all edges. If a user employing methods disclosed herein selects the allowable angles to be 90 degrees, then this step is moot as the default methods result in 90 degree aligned walls. However, in other embodiments, a user may specify any angle such as, all, 15, 30, 45, etc. without limitation. For example, when a “staircase” of edges should form a straight line and has significant offset from the building scan, the staircase edges may be replaced with a straight-line approximation that satisfies the user-specified degree of approximation.
The terms “certain embodiments”, “an embodiment”, “embodiment”, “embodiments”, “the embodiment”, “the embodiments”, “one or more embodiments”, “some embodiments”, and “one embodiment” mean one or more (but not all) embodiments unless expressly specified otherwise. The terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless expressly specified otherwise. The enumerated listing of items does not imply that any or all of the items are mutually exclusive, unless expressly specified otherwise. The terms “a”, “an” and “the” mean “one or more”, unless expressly specified otherwise.
While this invention has been described in terms of several embodiments, there are alterations, permutations, and equivalents, which fall within the scope of this invention. It should also be noted that there are many alternative ways of implementing the methods, computer program products, and apparatuses of the present invention. Furthermore, unless explicitly stated, any method embodiments described herein are not constrained to a particular order or sequence. Further, the Abstract is provided herein for convenience and should not be employed to construe or limit the overall invention, which is expressed in the claims. It is therefore intended that the following appended claims be interpreted as including all such alterations, permutations, and equivalents as fall within the true spirit and scope of the present invention.
Number | Name | Date | Kind |
---|---|---|---|
20090043504 | Bandyopadhyay | Feb 2009 | A1 |
20130346020 | Pershing | Dec 2013 | A1 |
20160055268 | Bell | Feb 2016 | A1 |
Entry |
---|
Turner, Eric et al., “Floor Plan Generation and Room Labeling of Indoor Environments from Laser Range Data”, Jan. 5-8, 2014 , International Conference on Computer Graphics Theory and Applications (GRAPP), IEEE. (Year: 2014). |
Turner, Eric et al., “Watertight As-Built Architectural Floor Plans Generated from Laser Range Data”, 2012, Second Joint 3DIM/3DPVT Conference: 3D Imaging, Modeling, Processing, Visualization and Transmission, IEEE. (Year: 2012). |
Blaer, Paul S. et al. ,“View Planning and Automated Data Acquisition for Three-Dimensional Modeling of Complex Sites”, Jul. 30, 2009, Journal of Field Robotics 26, Wiley Periodicals, Inc. (Year: 2009). |
CoSTARS Note #6: Doubles, Booleans, and Chars (and Other Primitives, too!), Retrieved on Aug. 30, 2018. (Year: 2018). |
Number | Date | Country | |
---|---|---|---|
20180046733 A1 | Feb 2018 | US |