CN102901488A - Method and apparatus for automatically generating room plane graph - Google Patents

Method and apparatus for automatically generating room plane graph Download PDF

Info

Publication number
CN102901488A
CN102901488A CN2012103280857A CN201210328085A CN102901488A CN 102901488 A CN102901488 A CN 102901488A CN 2012103280857 A CN2012103280857 A CN 2012103280857A CN 201210328085 A CN201210328085 A CN 201210328085A CN 102901488 A CN102901488 A CN 102901488A
Authority
CN
China
Prior art keywords
intersection point
room
point
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.)
Granted
Application number
CN2012103280857A
Other languages
Chinese (zh)
Other versions
CN102901488B (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

Images

Landscapes

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

Abstract

The invention relates to a method and an apparatus for automatically generating a room plane graph. The method comprises: determining a horizontal plane as a reference plane in a room, and setting a reference point on a side edge of the reference plane, wherein the side edge of the reference plane just faces a door of the room; determining a plurality of benchmark points on intersection lines of the reference plane and walls of the room; measuring angles of included angles formed by connection lines of the reference point and the plurality of the benchmark points; calculating a length and a width of the room according to a door width or a distance between the resistance point and the benchmark point and the angle; and generating a room plane graph according to the length, the width, and the door position. The apparatus comprises a reference point setting module, a benchmark point determination module, an angle measurement module, a length and width calculation module and a room plane graph generating module. According to the present invention, room modeling can be performed only by requiring shooting of the boundary line of the adjacent two walls and the horizontal plane so as to provide characteristics of high flexibility and convenient 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 of clapping automatic generation room floor plan of sweeping.
Background technology
Most people all can face such puzzlement when the finishing new house is buied furniture, the unclear furniture of selecting arranges at home the actual effect of getting up how when going to the furniture store to buy furniture, can't judge whether that the space that stays is too narrow, perhaps space availability ratio is too low.If storing the physical size planimetric map in each room in mobile phone or other the portable memory devices, the user just can set up an areal model to every the size input handset that will buy furniture.Next the user just can pull, put these mock-up funitures at the planimetric map in own room, estimates roughly whether the collocation of these furniture is suitable.If require the user to input by hand the length in room, wide, increased user's burden.Desirable method is to utilize the various advanced sensors such as smart mobile phone, need not bend over to take the tape measure amount, just can generate easily the planimetric map in a room.
The smart mobile phone of a MagicPlan by name by the research and development of Canadian Senopia company is used and has been realized utilizing mobile phone to sweep clapping the function that automatically generates room floor plan.Application number is " US20120026322 ", name is called the disclosed room floor plan of the U.S. Patent application generation method of " METHOD; TOOL; AND DEVICE FOR DETERMINING THE COORDINATES OF POINTS ON A SURFACE BY MEANS OF AN ACCELEROMETER AND A CAMERA ", referring to Fig. 1, Fig. 1 is that the room floor plan of prior art generates Method And Principle figure.It mainly is to utilize gyroscope or three dimension acceleration sensor to catch the attitude of mobile phone, determines several turnings and the doorframe in room after one week in the scanning room, then carries out the 2D modeling by space geometry transfer pair room.But the method requirement program obtains the attitude of mobile phone, and need can realize automatically drawing to the room run-down planimetric map in room, namely require the user to sweep bat with mobile phone or panel computer along the boundary line on four sides wall and floor, but furniture or other article are often being put in ground, room in the real life, can't accomplish to sweep each face wall of bat.Therefore the method has certain limitation, and when using and inconvenient.
Summary of the invention
Technical matters to be solved by this invention provides a kind ofly easy to use can clap the method and apparatus that automatically generates room floor plan by indoor sweeping.
To achieve these goals, the invention provides a kind of method of automatic generation room floor plan, wherein, comprise the steps:
S1, in the room, determine a surface level as reference plane and on this reference plane the side over against the door in this room set a reference point;
S2, determine a plurality of reference points at the intersection of the wall in this reference plane and this room;
The angle of the angle between the line of S3, the described reference point of measurement and a plurality of reference points;
S4, obtain length and the width in described room according to the width of described door or the distance between described reference point and reference point and described angle calculation;
The position of S5, the length according to the described room that obtains, width and described door generates the planimetric map in described room.
The method of above-mentioned automatic generation room floor plan, wherein, described a plurality of reference points comprise:
The dual-side of the door in described room and the first intersection point and second intersection point of described reference plane,
The intersection of the metope at the door place in described room and two metopes adjacent with this metope and the 3rd intersection point and the 4th intersection point of described reference plane,
The intersection of the metope relative with described door and two metopes adjacent with this metope and the 5th intersection point or the 6th intersection point of described reference plane, and
Described reference point is to the intersection point between described the 3rd intersection point and described the 5th intersection point, and perhaps described reference point is to the intersection point between described the 4th intersection point and described the 6th intersection point.
The method of above-mentioned automatic generation room floor plan, wherein, the length in room described in the step S4 and the computing formula of width are as follows:
Length C F=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 the first intersection point and the second intersection point;
DF is the distance between described the first intersection point and the 3rd intersection point;
CD is the distance between described the 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 between described the 5th intersection point or the 6th intersection point and the intersection point;
θ 1 is the angle between described the 3rd intersection point and the second intersection point;
θ 2 is the angle between described the second intersection point and the first intersection point;
θ 3 is the angle between described the first intersection point and the 4th intersection point;
θ 4 is the angle between described the 4th intersection point or the 3rd intersection point and the intersection point;
θ 5 is the angle between described intersection point and described the 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, among the 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 a plurality of reference points.
In order to realize better above-mentioned purpose, the present invention also provides a kind of equipment of automatic generation room floor plan, wherein, comprising:
The reference point setting module, be used in the room, determining a surface level as reference plane and on this reference plane the side over against the door in this room set a reference point;
The reference point determination module is used for the definite a plurality of reference points of intersection at the wall in this reference plane and this room;
Angle Measurement Module is for the angle of the angle between the line of measuring described reference point and a plurality of reference points;
Length and width computing module are used for obtaining according to the width of described door or the distance between described reference point and reference point and described angle calculation length and the width in described room;
The room floor plan generation module, the position that is used for length, width and described door according to the described room that obtains generates the planimetric map in described room.
The equipment of above-mentioned automatic generation room floor plan, wherein, described a plurality of reference points comprise:
The dual-side of the door in described room and the first intersection point and second intersection point of described reference plane,
The intersection of the metope at the door place in described room and two metopes adjacent with this metope and the 3rd intersection point and the 4th intersection point of described reference plane,
The intersection of the metope relative with described door and two metopes adjacent with this metope and the 5th intersection point or the 6th intersection point of described reference plane, and
Described reference point is to the intersection point between described the 3rd intersection point and described the 5th intersection point, and perhaps described reference point is to the intersection point between described the 4th intersection point and described the 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 are as follows:
Length C F=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 the first intersection point and the second intersection point;
DF is the distance between described the first intersection point and the 3rd intersection point;
CD is the distance between described the 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 between described the 5th intersection point or the 6th intersection point and the intersection point;
θ 1 is the angle between described the 3rd intersection point and the second intersection point;
θ 2 is the angle between described the second intersection point and the first intersection point;
θ 3 is the angle between described the first intersection point and the 4th intersection point;
θ 4 is the angle between described the 4th intersection point or the 3rd intersection point and the intersection point;
θ 5 is the angle between described intersection point and described the 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, the angle of the angle between the line that 3D acceleration sensor or the gyroscope by handheld device measures described reference point and a plurality of reference points automatically.
Technique effect of the present invention is: the present invention only need sweep and clap two adjacent face walls, and both can be by having swept the boundary line of clapping floor and wall, also can be by sweeping the boundary line of clapping ceiling and wall, can also carry out modeling to the room by sweeping the boundary line of clapping any surface level and wall, has greater flexibility than prior art, use more conveniently, thereby also have better user and experience.The present invention is easy to use, can generate neatly the planimetric map in required room and is stored in the electronic equipment of carrying, and for room finish, buy house ornamentation etc. believable reference is provided, has greatly saved time and efforts, Effective Raise quality of life.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
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 the first intersection point
E the second intersection point F the 3rd intersection point
H the 6th intersection point O reference point
3 Angle Measurement Module
4 length and width computing module
5 room floor plan generation modules
6
7 reference planes
Angle theta 2E between θ 1F and the E and the angle between the D
Angle theta 4C between θ 3D and the C and the angle between the B
Angle d D between θ 5B and the A and the distance between the E
S1~S5 step
Embodiment
Below in conjunction with accompanying drawing structural principle of the present invention and principle of work are done concrete description:
Referring to Fig. 2 and Fig. 3, Fig. 2 is the method flow diagram of one embodiment of the invention, and 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 the room, determine a surface level as reference plane 7 and on this reference plane 7 side over against the door 6 in this room set a reference point O; Described reference plane 7 can be any surface level, is preferably floor or ceiling.
Step S2, determine a plurality of reference point A~F at this reference plane 7 and the intersection of the wall in this room;
Step S3, measure the angle of the angle theta 1~θ 5 between the line of described reference point O and a plurality of reference point A~F, preferably utilize the automatically angle of the angle theta 1~θ 5 between the line of the described reference point O of measurement and a plurality of reference point A~F of the 3D acceleration sensor of handheld device or gyroscope.
Step S4, according to the length and the width that obtain described room among the width d (being the distance between reference point D and the E) of described door 6 or the distance between described reference point O and reference point A~F any point and the described angle θ 1~θ 5 with an angle calculation of this Range-based;
The position of step S5, the length according to the described room that obtains, width and described door 6 generates the planimetric map in described room.
Wherein, described a plurality of reference point A~F is respectively:
The dual-side of the door 6 in described room and the first intersection point D and the second intersection point E of described reference plane 7,
The intersection of the metope at door 6 places in described room and two metopes adjacent with this metope and the 3rd intersection point F and the 4th intersection point C of described reference plane 7,
The intersection of the metope relative with described door 6 and two metopes adjacent with this metope and the 5th intersection point A or the 6th intersection point H of described reference plane 7, and
Described reference point O is to the intersection point B between described the 3rd intersection point F and described the 5th intersection point A, and perhaps described reference point O is to the intersection point (not shown) between described the 4th intersection point C and described the 6th intersection point H.
Wherein, the computing formula of the length in room and width is as follows described in the step S4:
Length C F=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 the first intersection point D and the second intersection point E;
DF is the distance between described the first intersection point D and the 3rd intersection point F;
CD is the distance between described the 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 the 5th intersection point A or the 6th intersection point H and the intersection point B;
θ 1 is the angle between described the 3rd intersection point F and the second intersection point E;
θ 2 is the angle between described the second intersection point E and the first intersection point D;
θ 3 is the angle between described the first intersection point D and the 4th intersection point C;
θ 4 is the angle between described the 4th intersection point C or the 3rd intersection point F and the intersection point B;
θ 5 is the angle between described intersection point B and described the 5th intersection point A or the 6th intersection point H.
Referring to Fig. 4, Fig. 4 is the device structure block diagram of one embodiment of the invention.The equipment of automatic generation room floor plan of the present invention comprises:
Reference point setting module 1, be used in the room, determining a surface level as reference plane 7 and on this reference plane 7 side over against the door 6 in this room set a reference point O, described reference plane 7 is preferably floor or ceiling.
Reference point determination module 2 is used for determining a plurality of reference point A~F at this reference plane 7 and the intersection of the wall in this room;
Wherein, described a plurality of reference point A~F comprises:
The dual-side of the door 6 in described room and the first intersection point D and the second intersection point E of described reference plane 7,
The intersection of the metope at door 6 places in described room and two metopes adjacent with this metope and the 3rd intersection point F and the 4th intersection point C of described reference plane 7,
The intersection of the metope relative with described door 6 and two metopes adjacent with this metope and the 5th intersection point A or the 6th intersection point H of described reference plane 7, and
Described reference point O is to the intersection point B between described the 3rd intersection point F and described the 5th intersection point A, and perhaps described reference point O is to the intersection point (not shown) between described the 4th intersection point C and described the 6th intersection point H.
Angle Measurement Module 3, for the angle of the angle theta 1~θ 5 between the line of measuring described reference point O and a plurality of reference point A~F, the angle of the angle theta 1~θ 5 between the line that can automatically measure described reference point O and a plurality of reference point A~F by 3D acceleration sensor or the gyroscope of handheld device.
Length and width computing module 4 are used for obtaining according to the width d (being the distance between reference point D and the E) of described door 6 or the distance between described reference point O and reference point A~F any point and described angle θ 1~θ 5 and an angle calculation of this Range-based length and the width in described room;
The length in described room and the computing formula of width are as follows:
Length C F=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 the first intersection point D and the second intersection point E;
DF is the distance between described the first intersection point D and the 3rd intersection point F;
CD is the distance between described the 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 the 5th intersection point A or the 6th intersection point H and the intersection point B;
θ 1 is the angle between described the 3rd intersection point F and the second intersection point E;
θ 2 is the angle between described the second intersection point E and the first intersection point D;
θ 3 is the angle between described the first intersection point D and the 4th intersection point C;
θ 4 is the angle between described the 4th intersection point C or the 3rd intersection point F and the intersection point B;
θ 5 is the angle between described intersection point B and described the 5th intersection point A or the 6th intersection point H.
Room floor plan generation module 5, the position that is used for length, width and described door 6 according to the described room that obtains generates the planimetric map in described room.
The below is further described in detail technical scheme of the present invention with specific embodiment.
Embodiment one:
At first reference point setting module 1 needs to determine the plane parallel with the floor in the room, can be floor or ceiling in the reality, because these two planes are preferably determined.Sweep and clap the room half cycle, three turnings of reference point determination module 2 locking ceilings, the both sides of door 6 and two vertical points of ceiling.Behind the given reference plane 7 such as Fig. 4, determine the left side D point over against door 6, then can be by camera locking A, B, C, D, E, the F point of hand-held intelligent equipment.Given room type, according to the length of the width d calculated room of the relative position of these reference points and 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 devices such as gyroscope or three-dimensional acceleration sensor to support angle measuring function.
Referring to Fig. 3, Fig. 3 is the computer program process flow diagram of one embodiment of the invention.
After reference point setting module 1 sets reference point O, reference point determination module 2 locking reference points, record current device towards (spending such as east inclined to one side 30 with electronic compass, inclined to one side 45 degree in south etc.), at first utilize the camera of handheld device to lock first corner (A point), press acknowledgement key after the locking, locking process can fully manually also can be used the image recognition technology secondary locking;
When calculating the last reference point of locking equipment towards with current towards angular deviation, judged whether next reference point, if have, then equipment turns to next reference point, and locks successively B with the camera of handheld device, C, D, E, F point, utilize 3D acceleration sensor or the gyroscope of handheld device, the Angle Measurement Module 3 θ 1~θ 5 that automatically takes measurement of an angle;
If there is not next reference point, then determine invariant (door 6 is wide), length and width computing module 4 are according to the length of triangle formula calculated room, and be wide:
DF can be calculated successively, CD, BC, the distance between the AB.Because not chummery the door 6 wide be standard, if the user selection room type, such as parlor, bedroom, dining room etc., system will confirm the distance between the DE.If this distance is d.Specific formula for calculation is as follows:
Length C F=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.
Length has been arranged, wide, and determined the position of door 6, and room floor plan generation module 5 generates the room floor plan of vector formats, and stores on the memory device with the form (AI, the forms such as EPS) of vector file, and the planimetric map in room just can generate automatically.
Embodiment two:
With one be equipped with gyroscope etc. can measuring equipment towards the hardware that changes angle and the handheld device of camera, this handheld device can the automatic software for drawing of built-in room floor plan, utilize the automatic software for drawing of this room floor plan at first to determine a reference plane parallel with surface level 7 and face one side of 6, artificial or sweep at augmented reality and image recognition technology auxiliary lower and to clap two crossing limits of this plane and wall at the interior camera that utilizes of this reference plane 7, and lock some reference points, equipment is automatically measured the angle between these reference points and is calculated distance between this reference point, and calculates accordingly and sweep length and the width of clapping the room.With the automatic software for drawing of said reference point input room floor plan, software is swept length and the width of clapping the room according to what the distance between its reference point and angle thereof calculated, automatically generates the room floor plan of electronic format according to the position of room type and door 6.Wherein, augmented reality (Augment Reality) refers generally in display device virtual digit image and real scene combination.CitySense such as Nokia uses, and when the adept machine of user is taken pictures to certain buildings, is somebody's turn to do the image side of building in the mobile phone screen and an electronic tag can occur, introduces the brief introduction of this buildings.In the present invention, augmented reality can help the Subscriber Locked reference point, such as the turning of ceiling.Catch the turning of ceiling when camera after, the ceiling turning in the mobile phone screen may be marked with special color and lock with this point of prompting user, can press acknowledgement key.Image recognition technology is generally used for realizing augmented reality.In the locking process that A is ordered, at first software is identified " turning " image by image recognition algorithm in the image that photographs, and marking and be presented on the screen after identifying successfully is exactly augmented reality.The user just can have been locked by acknowledgement key after required image was presented on the screen.
Be reference plane 7 among the embodiment one take the floor, in the present embodiment with ceiling as reference plane 7.The A point is an angle of ceiling in this case.Next determine that reference point method and embodiment one on other ceiling are similar, only one is to sweep bat along the boundary line on wall and floor, and one is to sweep bat along the boundary line of ceiling and wall.Formula after each reference point is determined among computing method and the embodiment one is just the same, and the generation of room floor plan is also identical with embodiment one.
Can take from the A point among above-mentioned two embodiment, lock successively B, C, D, E, the F point, also can take random order lock these points and between angle, perhaps at first determine D point and two reference points of B point, the line of reference point O and these two reference point D, B is respectively perpendicular to corresponding metope, OD, OB can be respectively as two vertical calibration lines, and the change that locks 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 preferred width d that adopts door, but also can directly measure the distance between reference point O and the arbitrary reference point A~F, then according to this distance and corresponding angle thereof, obtain length and the width in room according to the triangle computing formula, similar in its computing method and above-described embodiment, therefore not to repeat here.
During use, need not the length in hand dipping and input room, wide, can generate the physical size planimetric map that it needs the room by the present invention easily, and store in mobile phone or other the portable memory devices, for example when buying furniture, just can set up an areal model to every the size input handset that will buy furniture, then just can pull, put these mock-up funitures at the planimetric map in this room, estimate roughly whether the collocation of these furniture is suitable.The present invention is easy to use, can generate neatly the planimetric map in required room and is stored in the electronic equipment of carrying, and for room finish, buy house ornamentation etc. believable reference is provided, has greatly saved time and efforts, has effectively improved quality of life.
Certainly; the present invention also can have other various embodiments; in the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (10)

1. a method that automatically generates room floor plan is characterized in that, comprises the steps:
S1, in the room, determine a surface level as reference plane and on this reference plane the side over against the door in this room set a reference point;
S2, determine a plurality of reference points at the intersection of the wall in this reference plane and this room;
The angle of the angle between the line of S3, the described reference point of measurement and a plurality of reference points;
S4, obtain length and the width in described room according to the width of described door or the distance between described reference point and reference point and described angle calculation;
The position of S5, the length according to the described room that obtains, width and described door generates the planimetric map in described room.
2. the method for automatic generation room floor plan as claimed in claim 1 is characterized in that, described a plurality of reference points comprise:
The dual-side of the door in described room and the first intersection point and second intersection point of described reference plane,
The intersection of the metope at the door place in described room and two metopes adjacent with this metope and the 3rd intersection point and the 4th intersection point of described reference plane,
The intersection of the metope relative with described door and two metopes adjacent with this metope and the 5th intersection point or the 6th intersection point of described reference plane, and
Described reference point is to the intersection point between described the 3rd intersection point and described the 5th intersection point, and perhaps described reference point is to the intersection point between described the 4th intersection point and described the 6th intersection point.
3. the method for automatic generation room floor plan as claimed in claim 2 is characterized in that, the length in room described in the step S4 and the computing formula of width are as follows:
Length C F=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 the first intersection point and the second intersection point;
DF is the distance between described the first intersection point and the 3rd intersection point;
CD is the distance between described the 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 between described the 5th intersection point or the 6th intersection point and the intersection point;
θ 1 is the angle between described the 3rd intersection point and the second intersection point;
θ 2 is the angle between described the second intersection point and the first intersection point;
θ 3 is the angle between described the first intersection point and the 4th intersection point;
θ 4 is the angle between described the 4th intersection point or the 3rd intersection point and the intersection point;
θ 5 is the angle between described intersection point and described the 5th intersection point or the 6th intersection point.
4. such as the method for claim 1,2 or 3 described automatic generation room floor plans, it is characterized in that described reference plane is floor or ceiling.
5. the method for automatic generation room floor plan as claimed in claim 4 is characterized in that, among the 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 a plurality of reference points.
6. an equipment that automatically generates room floor plan is characterized in that, comprising:
The reference point setting module, be used in the room, determining a surface level as reference plane and on this reference plane the side over against the door in this room set a reference point;
The reference point determination module is used for the definite a plurality of reference points of intersection at the wall in this reference plane and this room;
Angle Measurement Module is for the angle of the angle between the line of measuring described reference point and a plurality of reference points;
Length and width computing module are used for obtaining according to the width of described door or the distance between described reference point and reference point and described angle calculation length and the width in described room;
The room floor plan generation module, the position that is used for length, width and described door according to the described room that obtains generates the planimetric map in described room.
7. the equipment of automatic generation room floor plan as claimed in claim 6 is characterized in that, described a plurality of reference points comprise:
The dual-side of the door in described room and the first intersection point and second intersection point of described reference plane,
The intersection of the metope at the door place in described room and two metopes adjacent with this metope and the 3rd intersection point and the 4th intersection point of described reference plane,
The intersection of the metope relative with described door and two metopes adjacent with this metope and the 5th intersection point or the 6th intersection point of described reference plane, and
Described reference point is to the intersection point between described the 3rd intersection point and described the 5th intersection point, and perhaps described reference point is to the intersection point between described the 4th intersection point and described the 6th intersection point.
8. the equipment of automatic generation room floor plan as claimed in claim 7 is characterized in that, the length in described room and the computing formula of width are as follows:
Length C F=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 the first intersection point and the second intersection point;
DF is the distance between described the first intersection point and the 3rd intersection point;
CD is the distance between described the 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 between described the 5th intersection point or the 6th intersection point and the intersection point;
θ 1 is the angle between described the 3rd intersection point and the second intersection point;
θ 2 is the angle between described the second intersection point and the first intersection point;
θ 3 is the angle between described the first intersection point and the 4th intersection point;
θ 4 is the angle between described the 4th intersection point or the 3rd intersection point and the intersection point;
θ 5 is the angle between described intersection point and described the 5th intersection point or the 6th intersection point.
9. such as the equipment of claim 6,7 or 8 described automatic generation room floor plans, it is characterized in that described reference plane is floor or ceiling.
10. the equipment of automatic generation room floor plan as claimed in claim 9 is characterized in that, the angle of the angle between the line that 3D acceleration sensor or the gyroscope by handheld device measures described reference point and a plurality of reference points automatically.
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 true CN102901488A (en) 2013-01-30
CN102901488B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590330A (en) * 2014-10-30 2016-05-18 清华大学 Indoor plane generation method, server and system based on crowd sensing
CN105825499A (en) * 2016-03-09 2016-08-03 京东方科技集团股份有限公司 Reference plane determination method and determination system
CN107218935A (en) * 2017-05-23 2017-09-29 河南华泰规划勘测设计咨询有限公司 A kind of interior space surveying and mapping data management system
CN107667366A (en) * 2015-03-24 2018-02-06 开利公司 System and method for capturing and analyzing multidimensional building information
CN108664860A (en) * 2017-04-01 2018-10-16 中山市琪朗灯饰厂有限公司 The recognition methods of room floor plan and device
CN110161490A (en) * 2018-02-15 2019-08-23 莱卡地球系统公开股份有限公司 Range Measurement System with layout systematic function
CN113643344A (en) * 2021-07-30 2021-11-12 珠海一微半导体股份有限公司 Method for acquiring ceiling outline by robot

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

Cited By (13)

* 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
CN105590330A (en) * 2014-10-30 2016-05-18 清华大学 Indoor plane generation method, server and system based on crowd sensing
CN107667366B (en) * 2015-03-24 2021-12-28 开利公司 System and method for capturing and analyzing multi-dimensional building information
CN107667366A (en) * 2015-03-24 2018-02-06 开利公司 System and method for capturing and analyzing multidimensional building information
US10319104B2 (en) 2016-03-09 2019-06-11 Boe Technology Group Co., Ltd. Method and system for determining datum plane
CN105825499A (en) * 2016-03-09 2016-08-03 京东方科技集团股份有限公司 Reference plane determination method and determination system
CN108664860A (en) * 2017-04-01 2018-10-16 中山市琪朗灯饰厂有限公司 The recognition methods of room floor plan and device
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
CN110161490A (en) * 2018-02-15 2019-08-23 莱卡地球系统公开股份有限公司 Range Measurement System with layout systematic function
CN110161490B (en) * 2018-02-15 2023-06-20 莱卡地球系统公开股份有限公司 Distance measuring system with layout generating function
CN113643344A (en) * 2021-07-30 2021-11-12 珠海一微半导体股份有限公司 Method for acquiring ceiling outline by robot
CN113643344B (en) * 2021-07-30 2024-10-15 珠海一微半导体股份有限公司 Method for acquiring ceiling outline by robot

Also Published As

Publication number Publication date
CN102901488B (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN102901488B (en) A kind of method and apparatus of automatic generation room floor plan
CN111247561B (en) Method for reconstructing three-dimensional space scene based on photographing
US9888215B2 (en) Indoor scene capture system
Sankar et al. Capturing indoor scenes with smartphones
US9747392B2 (en) System and method for generation of a room model
EP3489627B1 (en) True to size 3d-model conglomeration
CN111161336B (en) Three-dimensional reconstruction method, three-dimensional reconstruction apparatus, and computer-readable storage medium
US11783540B2 (en) Method for generating roof outlines from lateral images
CN114202613A (en) House type determining method, device and system, electronic equipment and storage medium
CN108225328A (en) A kind of interior three dimensional data collection method
CN104848861A (en) Image vanishing point recognition technology based mobile equipment attitude measurement method
JP6095369B2 (en) CAD information generation system, CAD information generation program, and CAD information generation method
Dai et al. Three-dimensional modeling of site elements by analytically processing image data contained in site photos
CN106126964A (en) The measuring method of a kind of floor area of building and device
CN107504959B (en) Method for measuring house wall base outline by utilizing inclined aerial image
CN111207672B (en) AR (augmented reality) measuring method
CN111161350B (en) Position information and position relation determining method, position information acquiring device
CN105698733B (en) House interior shape measurement method
CN110470232A (en) A kind of method, apparatus, measuring system and electronic equipment measuring difference in height
CN109489658A (en) A kind of moving target localization method, device and terminal device
JP6448413B2 (en) Roof slope estimation system and roof slope estimation method
JP2020139742A (en) Image measurement system and image measurement method
CN109945831A (en) A kind of easy building height measurement method and device
Andaroodi et al. Architectural photogrammetry by non-metric cameras: CAD-based 2D drawing of facades from rectified photos
CN111521147A (en) Method for quickly and accurately measuring angle of building wall

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