CN102901488B - A kind of method and apparatus of automatic generation room floor plan - Google Patents

A kind of method and apparatus of automatic generation room floor plan Download PDF

Info

Publication number
CN102901488B
CN102901488B CN201210328085.7A CN201210328085A CN102901488B CN 102901488 B CN102901488 B CN 102901488B CN 201210328085 A CN201210328085 A CN 201210328085A CN 102901488 B CN102901488 B CN 102901488B
Authority
CN
China
Prior art keywords
intersection point
point
room
angle
intersection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210328085.7A
Other languages
Chinese (zh)
Other versions
CN102901488A (en
Inventor
曹欢欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201210328085.7A priority Critical patent/CN102901488B/en
Publication of CN102901488A publication Critical patent/CN102901488A/en
Application granted granted Critical
Publication of CN102901488B publication Critical patent/CN102901488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Navigation (AREA)

Abstract

The method and apparatus of automatic generation room floor plan, the method comprises: in room, determine that a surface level just sets a reference point to the side of the door in this room as reference plane on this reference plane; The intersection of the wall in this reference plane and this room determines multiple reference point; The angle of the angle between the line measuring described reference point and multiple reference point; The length in room and width according to the width of described door or the Distance geometry angle calculation between described reference point and reference point; The planimetric map in described room is generated according to the position of described length, width and described door.This equipment comprises reference point setting module, reference point determination module, Angle Measurement Module, length and width calculation module and room floor plan generation module.The present invention only need sweep the boundary line clapping two adjacent face walls and surface level can carry out modeling to room, has higher dirigibility, easy to use.

Description

A kind of method and apparatus of automatic generation room floor plan
Technical field
The present invention relates to a kind of automatic drafting method and equipment of room floor plan, particularly a kind of by the indoor method and apparatus sweeping bat automatic generation room floor plan.
Background technology
Most people all can face such puzzlement when fitting up new house and buying furniture, do not know when going to furniture store to buy furniture that the furniture selected arranges the actual effect of getting up how at home, cannot judge whether that the space stayed is too narrow, or space availability ratio is too low.If store the physical size planimetric map in each room in mobile phone or other portable memory devices, user just can set up an areal model the size input handset that every part will buy furniture.Following user just can pull, put these mock-up funitures on the planimetric map in oneself room, roughly estimates that whether the collocation of these furniture is suitable.If require that user inputs the length in room by hand, wide, add the burden of user.A desirable method utilizes the various advanced sensors such as smart mobile phone, need not bend over to take tape measure amount, just can generate the planimetric map in a room easily.
The smart mobile phone of a MagicPlan by name researched and developed by Canadian Senopia company is applied to have achieved and is utilized mobile phone to sweep the function of clapping and automatically generating room floor plan.Application number is " US20120026322 ", name is called the room floor plan generation method disclosed in U.S. Patent application of " METHOD; TOOL; ANDDEVICEFORDETERMININGTHECOORDINATESOFPOINTSONASURFACEB YMEANSOFANACCELEROMETERANDACAMERA ", the room floor plan being prior art see Fig. 1, Fig. 1 generates Method And Principle figure.It mainly utilizes gyroscope or three dimension acceleration sensor to catch the attitude of mobile phone, determines several turning and the doorframe in room, then carry out 2D modeling by space geometry transfer pair room in scanning room after one week.But the method requires that program obtains the attitude of mobile phone, and need can realize to room run-down the planimetric map automatically drawing room, namely require that user's mobile phone or panel computer sweep bat along the boundary line on four sides wall and floor, but room floors often puts furniture or other article in real life, cannot accomplish to sweep and clap each face wall.Therefore the method has certain limitation, and also inconvenient when using.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of easy to use sweeping by indoor and claps the automatic method and apparatus generating room floor plan.
To achieve these goals, the invention provides a kind of method of automatic generation room floor plan, wherein, comprise the steps:
S1, in room, determine that a surface level just sets a reference point to the side of the door in this room as reference plane on this reference plane;
S2, on the intersection of the wall in this reference plane and this room, determine multiple reference point;
S3, measure described reference point and multiple reference point line between the angle of angle;
S4, according to the width of described door or the Distance geometry between described reference point and reference point, angle calculation obtains length and the width in described room;
The position of S5, length, width and described door according to the described room that obtains generates the planimetric map in described room.
The method of above-mentioned automatic generation room floor plan, wherein, described multiple reference point comprises:
The dual-side of the door in described room and the first intersection point of described reference plane and the second intersection point,
The metope at the door place in described room and the intersection of two metopes adjacent with this metope and the 3rd intersection point of described reference plane and the 4th intersection point,
The intersection of the metope relative with described door and two metopes adjacent with this metope and the 5th intersection point of described reference plane or the 6th intersection point, and
Described reference point is to the intersection point between described 3rd intersection point and described 5th intersection point, or described reference point is to the intersection point between described 4th intersection point and described 6th intersection point.
The method of above-mentioned automatic generation room floor plan, wherein, the length in room described in step S4 and the computing formula of width as follows:
Length CF=CD+DE+EF, width AC=AB+BC, wherein,
DF=((d/sinθ1)×cosθ1)/cos(θ1+θ2)×sin(θ1+θ2),
CD=((d/sinθ1)×cosθ1)/cosθ3×sinθ3,
BC=((d/sinθ1)×cosθ1)/cosθ3×sinθ4,
AB=(((d/sinθ1)×cosθ1)/cosθ3×cosθ4)/cosθ5×sinθ5,
Wherein, d is the distance between described first intersection point and the second intersection point;
DF is the distance between described first intersection point and the 3rd intersection point;
CD is the distance between described first intersection point and the 4th intersection point;
BC is the distance between described intersection point and the 4th intersection point or the 3rd intersection point;
AB is the distance of described 5th intersection point or the 6th between intersection point and intersection point;
θ 1 is the angle between described 3rd intersection point and the second intersection point;
θ 2 is the angle between described second intersection point and the first intersection point;
θ 3 is the angle between described first intersection point and the 4th intersection point;
θ 4 is the angle of described 4th intersection point or the 3rd between intersection point and intersection point;
θ 5 is the angle between described intersection point and described 5th intersection point or the 6th intersection point.
The method of above-mentioned automatic generation room floor plan, wherein, described reference plane is floor or ceiling.
The method of above-mentioned automatic generation room floor plan, wherein, in described step S3, utilizes the 3D acceleration sensor of handheld device or gyroscope automatically to measure the angle of the angle between the line of described reference point and multiple reference point.
In order to realize above-mentioned purpose better, present invention also offers a kind of equipment of automatic generation room floor plan, wherein, comprising:
Reference point setting module, for determining that in room a surface level just sets a reference point to the side of the door in this room as reference plane on this reference plane;
Reference point determination module, determines multiple reference point on the intersection of the wall at this reference plane and this room;
Angle Measurement Module, for measure described reference point and multiple reference point line between the angle of angle;
Length and width calculation module, obtain length and the width in described room for angle calculation described in the width according to described door or the Distance geometry between described reference point and reference point;
Room floor plan generation module, the position for the length according to the described room obtained, width and described door generates the planimetric map in described room.
The equipment of above-mentioned automatic generation room floor plan, wherein, described multiple reference point comprises:
The dual-side of the door in described room and the first intersection point of described reference plane and the second intersection point,
The metope at the door place in described room and the intersection of two metopes adjacent with this metope and the 3rd intersection point of described reference plane and the 4th intersection point,
The intersection of the metope relative with described door and two metopes adjacent with this metope and the 5th intersection point of described reference plane or the 6th intersection point, and
Described reference point is to the intersection point between described 3rd intersection point and described 5th intersection point, or described reference point is to the intersection point between described 4th intersection point and described 6th intersection point.
The equipment of above-mentioned automatic generation room floor plan, wherein, the length in described room and the computing formula of width as follows:
Length CF=CD+DE+EF, width AC=AB+BC, wherein,
DF=((d/sinθ1)×cosθ1)/cos(θ1+θ2)×sin(θ1+θ2),
CD=((d/sinθ1)×cosθ1)/cosθ3×sinθ3,
BC=((d/sinθ1)×cosθ1)/cosθ3×sinθ4,
AB=(((d/sinθ1)×cosθ1)/cosθ3×cosθ4)/cosθ5×sinθ5,
Wherein, d is the distance between described first intersection point and the second intersection point;
DF is the distance between described first intersection point and the 3rd intersection point;
CD is the distance between described first intersection point and the 4th intersection point;
BC is the distance between described intersection point and the 4th intersection point or the 3rd intersection point;
AB is the distance of described 5th intersection point or the 6th between intersection point and intersection point;
θ 1 is the angle between described 3rd intersection point and the second intersection point;
θ 2 is the angle between described second intersection point and the first intersection point;
θ 3 is the angle between described first intersection point and the 4th intersection point;
θ 4 is the angle of described 4th intersection point or the 3rd between intersection point and intersection point;
θ 5 is the angle between described intersection point and described 5th intersection point or the 6th intersection point.
The equipment of above-mentioned automatic generation room floor plan, wherein, described reference plane is floor or ceiling.
The equipment of above-mentioned automatic generation room floor plan, wherein, measures the angle of the angle between the line obtaining described reference point and multiple reference point automatically by the 3D acceleration sensor of handheld device or gyroscope.
Technique effect of the present invention is: the present invention only need sweep and clap two adjacent face walls, and both can by having swept the boundary line clapping floor and wall, also can by sweeping the boundary line clapping ceiling and wall, modeling can also be carried out to room by sweeping the boundary line clapping any surface level and wall, than prior art, there is greater flexibility, use more convenient, thus also there is better Consumer's Experience.The present invention is easy to use, can generate the planimetric map in required room neatly and be stored in the electronic equipment carried with, and for room finish, purchase house ornamentation etc. provide believable reference, greatly saves time and efforts, effectively improves quality of life.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Accompanying drawing explanation
Fig. 1 is that the room floor plan of prior art generates Method And Principle figure;
Fig. 2 is the method flow diagram of one embodiment of the invention;
Fig. 3 is the computer program process flow diagram of one embodiment of the invention;
Fig. 4 is the measuring method principle schematic of one embodiment of the invention;
Fig. 5 is the device structure block diagram of one embodiment of the invention.
Wherein, Reference numeral
1 reference point setting module
2 reference point determination modules
A the 5th intersection points B intersection point
C the 4th intersection point D first intersection point
E second intersection point F the 3rd intersection point
H the 6th intersection point O reference point
3 Angle Measurement Module
4 length and width calculation module
5 room floor plan generation modules
6
7 reference planes
Angle between angle theta 2E and D between θ 1F and E
Angle between angle theta 4C and B between θ 3D and C
Distance between angle dD and E between θ 5B and A
S1 ~ S5 step
Embodiment
Below in conjunction with accompanying drawing, structural principle of the present invention and principle of work are described in detail:
Be the method flow diagram of one embodiment of the invention see Fig. 2 and Fig. 3, Fig. 2, Fig. 3 is the measuring method principle schematic of one embodiment of the invention.The method of automatic generation room floor plan of the present invention, comprises the steps:
Step S1, in room, determine that a surface level just sets a reference point O to the side of the door 6 in this room as reference plane 7 on this reference plane 7; Described reference plane 7 can be any surface level, is preferably floor or ceiling.
Step S2, on this reference plane 7 with the intersection of the wall in this room, determine multiple reference point A ~ F;
Step S3, measure described reference point O and multiple reference point A ~ F line between the angle of angle theta 1 ~ θ 5, preferably utilize the 3D acceleration sensor of handheld device or gyroscope automatically to measure the angle of the angle theta 1 ~ θ 5 between the line of described reference point O and multiple reference point A ~ F.
In step S4, angle θ 1 ~ θ 5 according to the width d (distance namely between reference point D and E) of described door 6 or the Distance geometry between described reference point O to reference point A ~ F any point, an angle calculation relevant with this distance obtains length and the width in described room;
The position of step S5, length, width and described door 6 according to the described room that obtains generates the planimetric map in described room.
Wherein, described multiple reference point A ~ F is respectively:
The dual-side of the door 6 in described room and the first intersection point D of described reference plane 7 and the second intersection point E,
The metope at door 6 place in described room and the intersection of two metopes adjacent with this metope and the 3rd intersection point F of described reference plane 7 and the 4th intersection point C,
The intersection of the metope relative with described door 6 and two metopes adjacent with this metope and the 5th intersection point A of described reference plane 7 or the 6th intersection point H, and
Described reference point O is to the intersection point B between described 3rd intersection point F and described 5th intersection point A, or described reference point O is to the intersection point (not shown) between described 4th intersection point C and described 6th intersection point H.
Wherein, the length in room described in step S4 and the computing formula of width as follows:
Length CF=CD+DE+EF, width AC=AB+BC, wherein,
DF=((d/sinθ1)×cosθ1)/cos(θ1+θ2)×sin(θ1+θ2),
CD=((d/sinθ1)×cosθ1)/cosθ3×sinθ3,
BC=((d/sinθ1)×cosθ1)/cosθ3×sinθ4,
AB=(((d/sinθ1)×cosθ1)/cosθ3×cosθ4)/cosθ5×sinθ5,
Wherein, d is the distance between described first intersection point D and the second intersection point E;
DF is the distance between described first intersection point D and the 3rd intersection point F;
CD is the distance between described first intersection point D and the 4th intersection point C;
BC is the distance between described intersection point B and the 4th intersection point C or the 3rd intersection point F;
AB is the distance between described 5th intersection point A or the 6th intersection point H and intersection point B;
θ 1 is the angle between described 3rd intersection point F and the second intersection point E;
θ 2 is the angle between described second intersection point E and the first intersection point D;
θ 3 is the angle between described first intersection point D and the 4th intersection point C;
θ 4 is the angle between described 4th intersection point C or the 3rd intersection point F and intersection point B;
θ 5 is the angle between described intersection point B and described 5th intersection point A or the 6th intersection point H.
See the device structure block diagram that Fig. 4, Fig. 4 are one embodiment of the invention.The equipment of automatic generation room floor plan of the present invention, comprising:
Reference point setting module 1, for determining that in room a surface level just sets a reference point O to the side of the door 6 in this room as reference plane 7 on this reference plane 7, described reference plane 7 is preferably floor or ceiling.
Reference point determination module 2, for determining multiple reference point A ~ F on this reference plane 7 with the intersection of the wall in this room;
Wherein, described multiple reference point A ~ F comprises:
The dual-side of the door 6 in described room and the first intersection point D of described reference plane 7 and the second intersection point E,
The metope at door 6 place in described room and the intersection of two metopes adjacent with this metope and the 3rd intersection point F of described reference plane 7 and the 4th intersection point C,
The intersection of the metope relative with described door 6 and two metopes adjacent with this metope and the 5th intersection point A of described reference plane 7 or the 6th intersection point H, and
Described reference point O is to the intersection point B between described 3rd intersection point F and described 5th intersection point A, or described reference point O is to the intersection point (not shown) between described 4th intersection point C and described 6th intersection point H.
Angle Measurement Module 3, for measure described reference point O and multiple reference point A ~ F line between the angle of angle theta 1 ~ θ 5, automatically measure the angle of the angle theta 1 ~ θ 5 between the line obtaining described reference point O and multiple reference point A ~ F by the 3D acceleration sensor of handheld device or gyroscope.
Length and width calculation module 4, obtain length and the width in described room for an angle calculation relevant with this distance in angle θ 1 ~ θ 5 described in the width d (distance namely between reference point D and E) according to described door 6 or the Distance geometry between described reference point O to reference point A ~ F any point;
The length in described room and the computing formula of width as follows:
Length CF=CD+DE+EF, width AC=AB+BC, wherein,
DF=((d/sinθ1)×cosθ1)/cos(θ1+θ2)×sin(θ1+θ2),
CD=((d/sinθ1)×cosθ1)/cosθ3×sinθ3,
BC=((d/sinθ1)×cosθ1)/cosθ3×sinθ4,
AB=(((d/sinθ1)×cosθ1)/cosθ3×cosθ4)/cosθ5×sinθ5,
Wherein, d is the distance between described first intersection point D and the second intersection point E;
DF is the distance between described first intersection point D and the 3rd intersection point F;
CD is the distance between described first intersection point D and the 4th intersection point C;
BC is the distance between described intersection point B and the 4th intersection point C or the 3rd intersection point F;
AB is the distance between described 5th intersection point A or the 6th intersection point H and intersection point B;
θ 1 is the angle between described 3rd intersection point F and the second intersection point E;
θ 2 is the angle between described second intersection point E and the first intersection point D;
θ 3 is the angle between described first intersection point D and the 4th intersection point C;
θ 4 is the angle between described 4th intersection point C or the 3rd intersection point F and intersection point B;
θ 5 is the angle between described intersection point B and described 5th intersection point A or the 6th intersection point H.
Room floor plan generation module 5, the position for the length according to the described room obtained, width and described door 6 generates the planimetric map in described room.
Further technical scheme of the present invention is described in detail with specific embodiment below.
Embodiment one:
First reference point setting module 1 needs to determine plane parallel with floor in a room, can be floor or ceiling in reality, because these two planes are preferably determined.Sweep and clap room half cycle, reference point determination module 2 locks ceiling three turnings, the both sides of door 6 and two of ceiling vertical points.Givenly determine the left side D point of positive opposite house 6 as after a reference plane 7 of Fig. 4, then by camera locking A, B, C, D, E, F point of hand-held intelligent equipment.Given room type, according to the length of the relative position of these reference points and the width d calculated room of door 6 and wide, the equipment of automatic generation room floor plan of the present invention can generate the room floor plan of the full-size(d) of vector format.Hand-held intelligent equipment preferably possesses the hardware device such as gyroscope or three-dimensional acceleration sensor to support angle measuring function.
See the computer program process flow diagram that Fig. 3, Fig. 3 are one embodiment of the invention.
After reference point setting module 1 sets reference point O, reference point determination module 2 locks reference point, with electronic compass record current device towards (such as eastern inclined 30 degree, inclined 45 degree of south etc.), first the camera of handheld device is utilized to lock first corner (A point), press acknowledgement key after locking, locking process completely manually also can use image recognition technology secondary locking;
Calculate locking last reference point time equipment towards with current towards angular deviation, judge whether next reference point, if have, then equipment turns to next reference point, and locks B successively with the camera of handheld device, C, D, E, F point, utilize 3D acceleration sensor or the gyroscope of handheld device, Angle Measurement Module 3 takes measurement of an angle θ 1 ~ θ 5 automatically;
If do not have next reference point, then determine invariant (door 6 is wide), length and width calculation module 4 are according to the length of triangle formula calculated room, wide:
DF can be calculated successively, the distance between CD, BC, AB.Because the door 6 of chummery is not wide is standard, if user selects room type, such as parlor, bedroom, dining room etc., system will confirm the distance between DE.If this distance is d.Specific formula for calculation is as follows:
Length CF=CD+DE+EF, width AC=AB+BC, wherein,
DF=((d/sinθ1)×cosθ1)/cos(θ1+θ2)×sin(θ1+θ2),
CD=((d/sinθ1)×cosθ1)/cosθ3×sinθ3,
BC=((d/sinθ1)×cosθ1)/cosθ3×sinθ4,
AB=(((d/sinθ1)×cosθ1)/cosθ3×cosθ4)/cosθ5×sinθ5,
The length computation of each bar line segment out after, the distance of AC=AB+BC and CF=CD+DE+EF just can be easy to draw.
There is length, wide, and determine the position of door 6, room floor plan generation module 5 generates the room floor plan of vector format, and is stored on memory device with the form of vector file (form such as AI, EPS), and the planimetric map in room just can generate automatically.
Embodiment two:
With one be equipped with gyroscope etc. can measuring equipment towards the change hardware of angle and the handheld device of camera, this handheld device can the automatic software for drawing of built-in room floor plan, the automatic software for drawing of this room floor plan is utilized first to determine the reference plane 7 of and plane-parallel and face one side of door 6, utilize in this reference plane 7 camera artificial or augmented reality and image recognition technology auxiliary under sweep and clap this plane two limits crossing with wall, and lock some reference points, equipment is automatically measured the angle between these reference points and is calculated the distance between this reference point, and calculate the length and width of sweeping and clapping room accordingly.By said reference point input room floor plan automatic software for drawing, what software obtained according to the distance between its reference point and angle calcu-lation thereof sweeps the length and width of clapping room, automatically generates the room floor plan of electronic format according to the position of room type and door 6.Wherein, augmented reality (AugmentReality) refers generally to virtual digit image and real scene be combined in the display device.The CitySense application of such as Nokia, when the adept machine of user is taken pictures to certain buildings, in mobile phone screen, the image of this building is other there will be an electronic tag, introduces the brief introduction of this buildings.In the present invention, augmented reality can help Subscriber Locked reference point, the turning of such as ceiling.After camera catches the turning of ceiling, the ceiling turning in mobile phone screen may be marked with special color and lock to point out this point of user, can press acknowledgement key.Image recognition technology is generally used for realizing augmented reality.In the locking process of A point, first software identifies " turning " image by image recognition algorithm in the image photographed, and identifies that marking and be presented on screen is successfully exactly augmented reality.Required image is presented at user after on screen and just can have been locked by acknowledgement key.
Be reference plane 7 with floor in embodiment one, using ceiling as reference plane 7 in the present embodiment.In this case A point is an angle of ceiling.Next determine datum method on other ceiling and embodiment one similar, only one is sweep bat along the boundary line on wall and floor, and one is sweep bat along the boundary line of ceiling and wall.Each reference point determines that the formula in rear computing method and embodiment one is just the same, and the generation of room floor plan is also identical with embodiment one.
Can take in above-mentioned two embodiments from A point, lock B successively, C, D, E, F point, also can take random order lock these points and between angle, or first determine D point and B point two reference points, the line of reference point O and these two reference points D, B is respectively perpendicular to corresponding metope, OD, OB can respectively as two vertical calibration lines, and the change locking each reference point order does not affect the effect that the present invention generates room floor plan automatically.In addition, when calculated room length and width, the width d of preferred employing door, but the distance also can directly measured between reference point O and arbitrary reference point A ~ F, then according to the angle of this distance and correspondence thereof, obtain length and the width in room according to triangle computing formula, similar in its computing method and above-described embodiment, therefore not to repeat here.
During use, without the need to hand dipping and the length inputting room, wide, its physical size planimetric map needing room can be generated easily by the present invention, and be stored in mobile phone or other portable memory devices, such as, when buying furniture, just the size input handset that every part will buy furniture can be set up an areal model, then just can pull on the planimetric map in this room, put these mock-up funitures, roughly estimate that whether the collocation of these furniture is suitable.The present invention is easy to use, can generate the planimetric map in required room neatly and be stored in the electronic equipment carried with, and for room finish, purchase house ornamentation etc. provide believable reference, greatly saves time and efforts, effectively improves quality of life.
Certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection domain that all should belong to the claim appended by the present invention.

Claims (6)

1. automatically generate a method for room floor plan, it is characterized in that, comprise the steps:
S1, in room, determine that a surface level just sets a reference point to the side of the door in this room as reference plane on this reference plane;
S2, on the intersection of the wall in this reference plane and this room, determine multiple reference point;
S3, measure described reference point and multiple reference point line between the angle of angle;
S4, according to the width of described door or the Distance geometry between described reference point and reference point, angle calculation obtains length and the width in described room;
The position of S5, length, width and described door according to the described room that obtains generates the planimetric map in described room;
Wherein, described multiple reference point comprises:
The dual-side of the door in described room and the first intersection point of described reference plane and the second intersection point,
The metope at the door place in described room and the intersection of two metopes adjacent with this metope and the 3rd intersection point of described reference plane and the 4th intersection point,
The intersection of the metope relative with described door and two metopes adjacent with this metope and the 5th intersection point of described reference plane or the 6th intersection point, and
Described reference point is to the intersection point between described 3rd intersection point and described 5th intersection point, or described reference point is to the intersection point between described 4th intersection point and described 6th intersection point;
The length in room described in step S4 and the computing formula of width as follows:
Length CF=CD+DE+EF, width AC=AB+BC, wherein,
DF=((d/sinθ1)×cosθ1)/cos(θ1+θ2)×sin(θ1+θ2),
CD=((d/sinθ1)×cosθ1)/cosθ3×sinθ3,
BC=((d/sinθ1)×cosθ1)/cosθ3×sinθ4,
AB=(((d/sinθ1)×cosθ1)/cosθ3×cosθ4)/cosθ5×sinθ5,
Wherein, d is the distance between described first intersection point and the second intersection point;
DF is the distance between described first intersection point and the 3rd intersection point;
CD is the distance between described first intersection point and the 4th intersection point;
BC is the distance between described intersection point and the 4th intersection point or the 3rd intersection point;
AB is the distance of described 5th intersection point or the 6th between intersection point and intersection point;
θ 1 is the angle between described 3rd intersection point and the second intersection point;
θ 2 is the angle between described second intersection point and the first intersection point;
θ 3 is the angle between described first intersection point and the 4th intersection point;
θ 4 is the angle of described 4th intersection point or the 3rd between intersection point and intersection point;
θ 5 is the angle between described intersection point and described 5th intersection point or the 6th intersection point.
2. the method automatically generating room floor plan as claimed in claim 1, it is characterized in that, described reference plane is floor or ceiling.
3. the method automatically generating room floor plan as claimed in claim 2, is characterized in that, in described step S3, utilize the 3D acceleration sensor of handheld device or gyroscope automatically to measure the angle of the angle between the line of described reference point and multiple reference point.
4. automatically generate an equipment for room floor plan, it is characterized in that, comprising:
Reference point setting module, for determining that in room a surface level just sets a reference point to the side of the door in this room as reference plane on this reference plane;
Reference point determination module, determines multiple reference point on the intersection of the wall at this reference plane and this room;
Angle Measurement Module, for measure described reference point and multiple reference point line between the angle of angle;
Length and width calculation module, obtain length and the width in described room for angle calculation described in the width according to described door or the Distance geometry between described reference point and reference point;
Room floor plan generation module, the position for the length according to the described room obtained, width and described door generates the planimetric map in described room;
Wherein, described multiple reference point comprises:
The dual-side of the door in described room and the first intersection point of described reference plane and the second intersection point,
The metope at the door place in described room and the intersection of two metopes adjacent with this metope and the 3rd intersection point of described reference plane and the 4th intersection point,
The intersection of the metope relative with described door and two metopes adjacent with this metope and the 5th intersection point of described reference plane or the 6th intersection point, and
Described reference point is to the intersection point between described 3rd intersection point and described 5th intersection point, or described reference point is to the intersection point between described 4th intersection point and described 6th intersection point;
The length in described room and the computing formula of width as follows:
Length CF=CD+DE+EF, width AC=AB+BC, wherein,
DF=((d/sinθ1)×cosθ1)/cos(θ1+θ2)×sin(θ1+θ2),
CD=((d/sinθ1)×cosθ1)/cosθ3×sinθ3,
BC=((d/sinθ1)×cosθ1)/cosθ3×sinθ4,
AB=(((d/sinθ1)×cosθ1)/cosθ3×cosθ4)/cosθ5×sinθ5,
Wherein, d is the distance between described first intersection point and the second intersection point;
DF is the distance between described first intersection point and the 3rd intersection point;
CD is the distance between described first intersection point and the 4th intersection point;
BC is the distance between described intersection point and the 4th intersection point or the 3rd intersection point;
AB is the distance of described 5th intersection point or the 6th between intersection point and intersection point;
θ 1 is the angle between described 3rd intersection point and the second intersection point;
θ 2 is the angle between described second intersection point and the first intersection point;
θ 3 is the angle between described first intersection point and the 4th intersection point;
θ 4 is the angle of described 4th intersection point or the 3rd between intersection point and intersection point;
θ 5 is the angle between described intersection point and described 5th intersection point or the 6th intersection point.
5. the equipment automatically generating room floor plan as claimed in claim 4, it is characterized in that, described reference plane is floor or ceiling.
6. the as claimed in claim 5 equipment automatically generating room floor plan, is characterized in that, is automatically measured the angle of the angle between the line obtaining described reference point and multiple reference point by the 3D acceleration sensor of handheld device or gyroscope.
CN201210328085.7A 2012-09-07 2012-09-07 A kind of method and apparatus of automatic generation room floor plan Active CN102901488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210328085.7A CN102901488B (en) 2012-09-07 2012-09-07 A kind of method and apparatus of automatic generation room floor plan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210328085.7A CN102901488B (en) 2012-09-07 2012-09-07 A kind of method and apparatus of automatic generation room floor plan

Publications (2)

Publication Number Publication Date
CN102901488A CN102901488A (en) 2013-01-30
CN102901488B true CN102901488B (en) 2015-12-16

Family

ID=47573854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210328085.7A Active CN102901488B (en) 2012-09-07 2012-09-07 A kind of method and apparatus of automatic generation room floor plan

Country Status (1)

Country Link
CN (1) CN102901488B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590330B (en) * 2014-10-30 2018-10-16 清华大学 Indoor plane drawing generating method, server and system based on intelligent perception
CN107667366B (en) * 2015-03-24 2021-12-28 开利公司 System and method for capturing and analyzing multi-dimensional building information
CN105825499A (en) * 2016-03-09 2016-08-03 京东方科技集团股份有限公司 Reference plane determination method and determination system
CN108664860B (en) * 2017-04-01 2022-02-01 中山市琪朗灯饰厂有限公司 Method and device for identifying room plan
CN107218935A (en) * 2017-05-23 2017-09-29 河南华泰规划勘测设计咨询有限公司 A kind of interior space surveying and mapping data management system
EP3527938A1 (en) * 2018-02-15 2019-08-21 Leica Geosystems AG Distance measuring system with layout generation functionality

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1508759A (en) * 2002-12-19 2004-06-30 索尼公司 Apparatus, method and programe for precessing information
DE102008002241A1 (en) * 2008-06-05 2009-12-10 Robert Bosch Gmbh Method for image-based measurement of room or partial area of room for e.g. craftsman to install windows, involves modeling virtual three-dimensional models of room by using image processing process with respect to distances
CN101680758A (en) * 2007-05-10 2010-03-24 莱卡地球系统公开股份有限公司 Position determination method for a geodetic measuring device
CN101809407A (en) * 2007-09-24 2010-08-18 莱卡地球系统公开股份有限公司 Location determining method
CN102521862A (en) * 2011-11-30 2012-06-27 青岛展易网科技有限公司 On-line display method for converting timber door 2D (2 dimensional) plane picture into 3D (3 dimensional) model
CN102620737A (en) * 2010-12-30 2012-08-01 霍尼韦尔国际公司 Portable housings for generation of building maps

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1508759A (en) * 2002-12-19 2004-06-30 索尼公司 Apparatus, method and programe for precessing information
CN101680758A (en) * 2007-05-10 2010-03-24 莱卡地球系统公开股份有限公司 Position determination method for a geodetic measuring device
CN101809407A (en) * 2007-09-24 2010-08-18 莱卡地球系统公开股份有限公司 Location determining method
DE102008002241A1 (en) * 2008-06-05 2009-12-10 Robert Bosch Gmbh Method for image-based measurement of room or partial area of room for e.g. craftsman to install windows, involves modeling virtual three-dimensional models of room by using image processing process with respect to distances
CN102620737A (en) * 2010-12-30 2012-08-01 霍尼韦尔国际公司 Portable housings for generation of building maps
CN102521862A (en) * 2011-11-30 2012-06-27 青岛展易网科技有限公司 On-line display method for converting timber door 2D (2 dimensional) plane picture into 3D (3 dimensional) model

Also Published As

Publication number Publication date
CN102901488A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN102901488B (en) A kind of method and apparatus of automatic generation room floor plan
US11408738B2 (en) Automated mapping information generation from inter-connected images
CN111127655B (en) House layout drawing construction method and device, and storage medium
Criminisi et al. Single view metrology
Sankar et al. Capturing indoor scenes with smartphones
CN105389854B (en) Cube room finish effect methods of exhibiting and system
US9888215B2 (en) Indoor scene capture system
CN111161336B (en) Three-dimensional reconstruction method, three-dimensional reconstruction apparatus, and computer-readable storage medium
Wang et al. Camera calibration and 3D reconstruction from a single view based on scene constraints
CN105043269A (en) Method for measuring size of object and electronic apparatus
WO2016065063A1 (en) Photogrammetric methods and devices related thereto
JP2004506215A (en) Strapdown system for 3D reconstruction
CN108668108A (en) A kind of method, apparatus and electronic equipment of video monitoring
US11783540B2 (en) Method for generating roof outlines from lateral images
CN110634100A (en) Household type graph generation method and device, electronic equipment and storage medium
CN104457758A (en) Video-acquisition-based Visual Map database establishing method and indoor visual positioning method using database
TW202238449A (en) Indoor positioning system and indoor positioning method
CN110119526A (en) A method of floor plan drafting is carried out using mobile phone
Vı̂lceanu et al. Creating 3D models of heritage objects using photogrammetric image processing
TWI822423B (en) Computing apparatus and model generation method
Zhou et al. Method for fundamental matrix estimation combined with feature lines
CN111207672A (en) AR (augmented reality) measuring method
CN105698733A (en) Method for measuring internal shape of house
CN104268379B (en) Digital panorama based three-dimensional indoor ranging system and device
Angladon Room layout estimation on mobile devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180926

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address before: 100080 Beijing Fengtai District seven 44 44 building 3 Building 7 unit 502

Patentee before: Cao Huanhuan

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder