Interactive projection system and interactive projecting method

文档序号:1759049 发布日期:2019-11-29 浏览:17次 中文

阅读说明:本技术 互动式投影系统和互动式投影方法 (Interactive projection system and interactive projecting method ) 是由 林秀育 蓝亭香 江翘竹 徐雅芳 于 2019-05-21 设计创作,主要内容包括:本发明提供一种互动式投影系统和互动式投影方法。互动式投影方法包括:使用投影机产生虚拟图面;使用深度摄影机检测虚拟图面上的物件,其中物件对应于虚拟场景;使用深度摄影机检测对应于虚拟图面的绘图操作;以及响应于物件被摆放在虚拟图面上而在虚拟图面上投影出虚拟场景,并且根据绘图操作而在虚拟图面上产生区块。通过使用互动式投影系统,使用者可以简易且快速地在虚拟图面上建立出个人化的虚拟场景。(The present invention provides a kind of interactive projection system and interactive projecting method.Interactive projecting method includes: to generate virtual drawing using projector;Using the object on depth photography machine testing virtual graph face, wherein object corresponds to virtual scene;Correspond to the mapping operation of virtual drawing using depth photography machine testing;And it is placed on virtual drawing in response to object and goes out virtual scene in virtual drawing upslide shadow, and block is generated on virtual drawing according to mapping operation.By using interactive projection system, user can be simple and rapidly establishes out personalized virtual scene on virtual drawing.)

1. a kind of interactive projection system, comprising:

Object corresponds to virtual scene;And

Projector, comprising:

Light source module provides illuminating bundle;

The illuminating bundle is converted to image beam by projection lens module, and projects described image light beam to generate virtual graph Face;

Depth video camera detects the object on the virtual drawing and the mapping operation corresponding to the virtual drawing;

Media are stored, storage is associated with the database of the virtual scene;And

Processing module couples the light source module, the projection lens module, the depth video camera and the storage matchmaker Body, wherein the processing module is placed on the virtual drawing in response to the object and accesses the database and lead to It crosses the projection lens module and goes out the virtual scene in the virtual drawing upslide shadow, and the processing module is according to Mapping operation and generate block on the virtual drawing.

2. interactive projection system according to claim 1, wherein the processing module is in response to the mapping operation institute The existing line segment on line segment and the virtual drawing being painted constitutes closing block and the line segment is judged as path, and institute It states processing module and the block is generated according to the path.

3. interactive projection system according to claim 2, wherein face of the processing module based on the closing block Product is greater than area threshold and the closing block is judged as the block.

4. interactive projection system according to claim 1, wherein the block include first area and second area, The processing module selects the first place from the first area and whether the processing module judges the first virtual facility First place can be placed in.

5. interactive projection system according to claim 4, wherein the processing module is virtually set in response to described first First place cannot be placed in and select the second place different from first place from the first area by applying, And the processing module judges whether first virtual facility can be placed in second place.

6. interactive projection system according to claim 5, wherein the processing module is virtually set in response to described first Second place cannot be placed in and first virtual facility is placed in the second area by applying.

7. interactive projection system according to claim 5, wherein the processing module is virtually set in response to described first Second place cannot be placed in and select third place from the first area by applying, and the processing module judges The third place whether can be placed in different from the second virtual facility of first virtual facility.

8. interactive projection system according to claim 4, wherein the processing module is configured to execute:

The circumscribed circle for corresponding to the object is obtained on the virtual drawing;

The center of circle of the circumscribed circle is connected to multiple vertex of the block, uses the multiple point of contacts for generating the circumscribed circle;

Obtain the multiple tangent lines for corresponding respectively to the circumscribed circle at the multiple point of contact;And

Multiple closed areas including the first area are generated using multiple sides of the multiple tangent line and the block.

9. interactive projection system according to claim 4, wherein the processing module is configured to execute:

The circumscribed circle for corresponding to the object is obtained on the virtual drawing;

The center of circle of the circumscribed circle is connected to multiple vertex of the block, uses the multiple point of contacts for generating the circumscribed circle;

Obtain the multiple tangent lines for corresponding respectively to the circumscribed circle at the multiple point of contact;

Multiple closed areas including the first closed area are generated using multiple sides of the multiple tangent line and the block;With And

Greatest circle in first closed area is obtained using as the first area.

10. interactive projection system according to claim 4, wherein the processing module is configured to execute:

The circumscribed circle for corresponding to the object is obtained on the virtual drawing;And

Circle is obtained using as the first area, wherein the first area respectively with the circumscribed circle, the block first Second side of the adjacent block is tangent while described first.

11. interactive projection system according to claim 4, wherein the processing module is deposited in response to the first area In other virtual facilities, first place in the first area cannot be placed in by judging first virtual facility.

12. interactive projection system according to claim 4, wherein the processing module is virtually set in response to described first It applies when being placed in first place, the projected image of first virtual facility on the virtual drawing is more than described First area and first place cannot be placed in by judging first virtual facility.

13. interactive projection system according to claim 4, wherein the processing module is randomly from the first area In select first place.

14. interactive projection system according to claim 4, wherein the processing module selects the several of the first area What center is as first place.

15. a kind of interactive projecting method, comprising:

Virtual drawing is generated using projector;

Using the object on virtual drawing described in depth photography machine testing, wherein the object corresponds to virtual scene;

Correspond to the mapping operation of the virtual drawing using depth photography machine testing;And

It is placed on the virtual drawing in response to the object and goes out the virtual scene in the virtual drawing upslide shadow, And block is generated on the virtual drawing according to the mapping operation.

16. interactive projecting method according to claim 15, further includes:

In response to the existing line segment on line segment depicted in the mapping operation and the virtual drawing constitute closing block and incite somebody to action The line segment is judged as path;And

The block is generated according to the path.

17. interactive projecting method according to claim 16, further includes:

Area based on the closing block is greater than area threshold and the closing block is judged as the block.

18. interactive projecting method according to claim 15, wherein the block includes first area and the secondth area Domain, and the interactive projecting method further include:

The first place is selected from the first area;And

Judge whether the first virtual facility can be placed in first place.

19. interactive projecting method according to claim 18, further includes:

First place cannot be placed in response to first virtual facility and selects difference from the first area In second place in first place;And

Judge whether first virtual facility can be placed in second place.

20. interactive projecting method according to claim 19, further includes:

Second place cannot be placed in response to first virtual facility and is placed in first virtual facility The second area.

21. interactive projecting method according to claim 19, further includes:

Second place cannot be placed in response to first virtual facility and selects third from the first area Place;And

Whether the second virtual facility that judgement is different from first virtual facility can be placed in the third place.

22. interactive projecting method according to claim 18, further includes:

The circumscribed circle for corresponding to the object is obtained on the virtual drawing;

The center of circle of the circumscribed circle is connected to multiple vertex of the block, uses the multiple point of contacts for generating the circumscribed circle;

Obtain the multiple tangent lines for corresponding respectively to the circumscribed circle at the multiple point of contact;And

Multiple closed areas including the first area are generated using multiple sides of the multiple tangent line and the block.

23. interactive projecting method according to claim 18, further includes:

The circumscribed circle for corresponding to the object is obtained on the virtual drawing;

The center of circle of the circumscribed circle is connected to multiple vertex of the block, uses the multiple point of contacts for generating the circumscribed circle;

Obtain the multiple tangent lines for corresponding respectively to the circumscribed circle at the multiple point of contact;

Multiple closed areas including the first closed area are generated using multiple sides of the multiple tangent line and the block;With And

Greatest circle in first closed area is obtained using as the first area.

24. interactive projecting method according to claim 18, further includes:

The circumscribed circle for corresponding to the object is obtained on the virtual drawing;And

Circle is obtained using as the first area, wherein the first area respectively with the circumscribed circle, the block first Second side of the adjacent block is tangent while described first.

25. interactive projecting method according to claim 18, further includes:

It is described to judge there are other virtual facilities that first virtual facility cannot be placed in response to the first area First place in first area.

26. interactive projecting method according to claim 18, further includes:

When being placed in first place in response to first virtual facility, described first on the virtual drawing is empty Propose that the projected image applied is more than the first area and first ground cannot be placed in by judging first virtual facility Point.

27. interactive projecting method according to claim 18, further includes:

First place is randomly selected from the first area.

28. interactive projecting method according to claim 18, further includes:

Select the geometric center of the first area as first place.

Technical field

The present invention relates to a kind of optical projection system and projecting method more particularly to a kind of interactive projection system and interactive throwings Image method.

Background technique

With the development of science and technology, the interactive projector that can be interacted with user is more more and more universal.Interactive projector can To capture the movement of user, so that the virtual scene that user can be projected with interactive projector interacts. How by interactive projector to provide the more diversified Interactive Experience of user, be the target endeavoured of those skilled in the art it One.

Summary of the invention

The present invention provides a kind of interactive projection system and interactive projecting method.

Interactive projection system of the invention, including object and projector.Object corresponds to virtual scene.Projector's packet Include light source module, projection lens module, depth video camera, storage media and processing module.Light source module provides illuminating bundle. Illuminating bundle is converted to image beam by projection lens module, and projected image light beam is to generate virtual drawing.Depth video camera Detect the object on virtual drawing and the mapping operation corresponding to virtual drawing.Processing, optical light source module, projection lens mould Block, depth video camera and storage media, wherein processing module is placed on virtual drawing in response to object and accesses data Library and virtual scene is gone out in virtual drawing upslide shadow by projection lens module, and processing module according to mapping operation and Block is generated on virtual drawing.

In one embodiment of this invention, above-mentioned processing module is in response to line segment depicted in mapping operation and virtual graph Existing line segment on face constitutes closing block and line segment is judged as path, and processing module generates block according to path.

In one embodiment of this invention, above-mentioned processing module based on closing block area be greater than area threshold and incite somebody to action Closing block is judged as block.

In one embodiment of this invention, above-mentioned block includes first area and second area, processing module from The first place is selected in one region and processing module judges whether the first virtual facility can be placed in the first place.

In one embodiment of this invention, above-mentioned processing module cannot be placed in first in response to the first virtual facility Place and the second place different from the first place is selected from first area, and processing module judges that the first virtual facility is It is no to be placed in the second place.

In one embodiment of this invention, above-mentioned processing module cannot be placed in second in response to the first virtual facility Place and the first virtual facility is placed in second area.

In one embodiment of this invention, above-mentioned processing module cannot be placed in second in response to the first virtual facility Place and third place is selected from first area, and processing module judgement is different from second virtually setting for the first virtual facility Whether apply can be placed in third place.

In one embodiment of this invention, above-mentioned processing module is configured to execute: obtaining correspondence on virtual drawing In the circumscribed circle of object;The center of circle of circumscribed circle is connected to multiple vertex of block, uses the multiple point of contacts for generating circumscribed circle;It takes It must correspond respectively to multiple tangent lines of the circumscribed circle at multiple point of contacts;And packet is generated using multiple sides of multiple tangent lines and block Include multiple closed areas of first area.

In one embodiment of this invention, above-mentioned processing module is configured to execute: obtaining correspondence on virtual drawing In the circumscribed circle of object;The center of circle of circumscribed circle is connected to multiple vertex of block, uses the multiple point of contacts for generating circumscribed circle;It takes It must correspond respectively to multiple tangent lines of the circumscribed circle at multiple point of contacts;Generated using multiple sides of multiple tangent lines and block includes the Multiple closed areas of one closed area;And greatest circle in the first closed area is obtained using as first area.

In one embodiment of this invention, above-mentioned processing module is configured to execute: obtaining correspondence on virtual drawing In the circumscribed circle of object;And obtain circle using as first area, wherein first area the first side with circumscribed circle, block respectively And with first in the second of adjacent block it is tangent.

In one embodiment of this invention, above-mentioned processing module is sentenced in response to first area there are other virtual facilities Disconnected first virtual facility cannot be placed in the first place in first area.

In one embodiment of this invention, above-mentioned processing module is placed in the first place in response to the first virtual facility When, the projected image of the first virtual facility on virtual drawing is more than first area and judging the first virtual facility cannot be put It is placed on the first place.

In one embodiment of this invention, above-mentioned processing module randomly selects the first place from first area.

In one embodiment of this invention, above-mentioned processing module selects the geometric center of first area as the first Point.

Interactive projecting method of the invention, comprising: generate virtual drawing using projector;Use depth photography machine testing Object on virtual drawing, wherein object corresponds to virtual scene;And be placed on virtual drawing in response to object and Virtual drawing upslide shadow goes out virtual scene.

In one embodiment of this invention, above-mentioned interactive projecting method further include: use depth photography machine testing pair It should be in the mapping operation of virtual drawing;The depth photography machine testing corresponds to the mapping operation of virtual drawing;And according to drawing Graphic operation and block is generated on virtual drawing, and block is generated on virtual drawing according to mapping operation.

In one embodiment of this invention, above-mentioned interactive projecting method further include: the area based on closing block is big Closing block is judged as block in area threshold.

In one embodiment of this invention, above-mentioned block includes first area and second area, and interactive throwing Image method further include: the first place is selected from first area;And judge whether the first virtual facility can be placed in first Place.

In one embodiment of this invention, above-mentioned interactive projecting method further include: not in response to the first virtual facility The first place can be placed in and select the second place different from the first place from first area;And judge that first is virtual Whether facility can be placed in the second place.

In one embodiment of this invention, above-mentioned interactive projecting method further include: not in response to the first virtual facility The second place can be placed in and the first virtual facility is placed in second area.

In one embodiment of this invention, above-mentioned interactive projecting method further include: not in response to the first virtual facility The second place can be placed in and select third place from first area;And judgement is different from the second of the first virtual facility Whether virtual facility can be placed in third place.

In one embodiment of this invention, above-mentioned interactive projecting method further include: obtain correspondence on virtual drawing In the circumscribed circle of object;The center of circle of circumscribed circle is connected to multiple vertex of block, uses the multiple point of contacts for generating circumscribed circle;It takes It must correspond respectively to multiple tangent lines of the circumscribed circle at multiple point of contacts;And packet is generated using multiple sides of multiple tangent lines and block Include multiple closed areas of first area.

In one embodiment of this invention, above-mentioned interactive projecting method further include: obtain correspondence on virtual drawing In the circumscribed circle of object;The center of circle of circumscribed circle is connected to multiple vertex of block, uses the multiple point of contacts for generating circumscribed circle;It takes It must correspond respectively to multiple tangent lines of the circumscribed circle at multiple point of contacts;Generated using multiple sides of multiple tangent lines and block includes the Multiple closed areas of one closed area;And greatest circle in the first closed area is obtained using as first area.

In one embodiment of this invention, above-mentioned interactive projecting method further include: obtain correspondence on virtual drawing In the circumscribed circle of object;And obtain circle using as first area, wherein first area the first side with circumscribed circle, block respectively And with first in the second of adjacent block it is tangent.

In one embodiment of this invention, above-mentioned interactive projecting method further include: there are it in response to first area His virtual facility and judge the first place that the first virtual facility cannot be placed in first area.

In one embodiment of this invention, above-mentioned interactive projecting method further include: in response to the first virtual facility quilt When being placed in the first place, the projected image of the first virtual facility on virtual drawing is more than first area and judges the first void It proposes to apply and cannot be placed in the first place.

In one embodiment of this invention, above-mentioned interactive projecting method further include: randomly selected from first area First place out.

In one embodiment of this invention, above-mentioned interactive projecting method further include: select in the geometry of first area The heart is as the first place.

It may help to user based on above-mentioned, of the invention interactive projection system and rapidly build to have a variety of virtually set The virtual scene applied.By using the multiple objects for corresponding respectively to different virtual scenes, user can be on virtual drawing Establish out personalized virtual town.Interactive projection system can be provided for user full of entertaining, life-stylize and immersion User experience.

To make the foregoing features and advantages of the present invention clearer and more comprehensible, special embodiment below, and it is detailed to cooperate attached drawing to make Carefully it is described as follows.

Detailed description of the invention

Figure 1A embodiment according to the present invention shows a kind of functional block diagram of interactive projection system.

Figure 1B embodiment according to the present invention shows the schematic diagram that virtual drawing is generated using projector.

Fig. 2 embodiment according to the present invention shows the path on virtual drawing and the schematic diagram of virtual scene.

Fig. 3 embodiment according to the present invention shows a kind of flow chart of interactive projecting method.

Fig. 4 A embodiment according to the present invention shows the flow chart of step as shown in Figure 3.

Fig. 4 B embodiment according to the present invention shows the flow chart of step as shown in Figure 4 A.

Fig. 4 C embodiment according to the present invention shows the schematic diagram of line segment depicted in detection mapping operation.

Fig. 4 D, Fig. 4 E and Fig. 4 F embodiment according to the present invention show the signal of the type of the line segment on virtual drawing Figure.

Fig. 5 A embodiment according to the present invention further shows the flow chart of step as shown in Figure 3.

Fig. 5 B embodiment according to the present invention shows the schematic diagram for generating the multiple point of contacts for the circumscribed circle for corresponding to object.

Fig. 5 C embodiment according to the present invention shows the schematic diagram for generating the multiple tangent lines for the circumscribed circle for corresponding to object.

Fig. 5 D embodiment according to the present invention shows the schematic diagram of multiple closed areas as caused by multiple tangent lines.

Fig. 6 A further shows the flow chart of step as shown in Figure 3 according to another embodiment of the present invention.

Fig. 6 B embodiment according to the present invention shows the schematic diagram of the greatest circle in closed area.

Fig. 7 A further shows the flow chart of step as shown in Figure 3 according to still another embodiment of the invention.

Fig. 7 B embodiment according to the present invention shows two adjacent sides with the circumscribed circle and block that correspond to object The schematic diagram of tangent circle.

Fig. 8 A embodiment according to the present invention further shows the flow chart of step as shown in Figure 3.

Fig. 8 B embodiment according to the present invention, which is shown, judges whether a specific virtual facility can be placed in a locality The flow chart of step.

Fig. 9 further shows the flow chart of step as shown in Figure 3 according to another embodiment of the present invention.

Figure 10 embodiment according to the present invention shows the flow chart of another interactive projecting method.

[symbol description]

10: interactive projection system

100: projector

110: processing module

120: light source module

130: projection lens module

140: depth video camera

150: storage media

200: object

250: circumscribed circle

300: virtual drawing

310,320,330,340,350,360,370: block

400: the edge of virtual drawing

41: line segment

42: general line segment

43,44,45: path

A, b, c, d, e, f: the point of contact of circumscribed circle

AL, bL, cL, dL, eL, fL: the tangent line of circumscribed circle

AR, bR, cR, dR, eR, fR: closed area

FC: the greatest circle in the fR of closed area

O1, O2, O3, O4, O5, O6: circle

S301、S302、S303、S304、S305、S306、S307、S410、S420、S430、S440、S450、S441、 S442、S443、S501、S502、S503、S504、S601、S602、S603、S604、S605、S701、S702、S801、S802、 S803、S804、S805、S806、S807、S808、S809、S810、S81、S82、S83、S84、S901、S902、S903、S904、 S905, S906, S907, S908, S909, S1001, S1002, S1003, S1004: step

Specific embodiment

In order to be illustrated that the contents of the present invention more easily, spy can actually evidence as the present invention for embodiment below With the example of implementation.In addition, all possible places, use element/component/step of identical label in the drawings and embodiments, Represent same or like component.

Figure 1A embodiment according to the present invention shows a kind of functional block diagram of interactive projection system 10, and Figure 1B is according to this The implementation of invention exemplifies the schematic diagram that virtual drawing 300 is generated using projector 100.A and Figure 1B referring to Fig.1, it is interactive Optical projection system 10 includes projector 100 and object 200.Projector 100 includes processing module 110, light source module 120, projection Lens module 130, depth video camera 140 and storage media 150.

110 optical light source module 120 of processing module, projection lens module 130, depth video camera 140 and storage media 150.Processing module 110 is, for example, central processing unit (central processing unit, CPU) or other can program The general service of change or micro-control unit (micro control unit, MCU), the microprocessor of specific use (microprocessor), digital signal processor (digital signal processor, DSP), programmable controller, Special application integrated circuit (application specific integrated circuit, ASIC), graphics processor (graphics processing unit, GPU), arithmetic logic unit (arithmetic logic unit, ALU) or other The combination of similar component or said elements.

Light source module 120 provides illuminating bundle.Projection lens module 130 is controlled by processing module 110 and will come from light source The illuminating bundle of module 120 is converted to image beam, and projected image light beam generates the void including edge 400 to a perspective plane Quasi- drawing 300.Processing module 110 can configure light source module 120 and projection lens module 130 to project on virtual drawing 300 A variety of virtual scenes or virtual facility out.

Depth video camera 140 is, for example, infrared ray (infrared radiation, IR) video camera, but the present invention and unlimited It is formed on this.Depth video camera 140 can measure the depth information of acquired image.In the present embodiment, depth video camera 140 To detect the object on virtual drawing 300.For example, when object 200 is placed on virtual drawing 300, depth is taken the photograph Shadow machine 140 can detect object 200, and processing module 110 can identify object 200 by the appearance of object 200.Depth photography Machine 140 also can be used to detect the movement interacted with virtual drawing 300.For example, user can by gesture or use paintbrush Mapping operation is executed on virtual drawing 300.The detectable mapping operation corresponding to virtual drawing 300 of depth video camera 140, and And processing module 110 can change the image beam that projection lens module 130 is projected according to mapping operation, enable a user to lead to Mapping operation is crossed to interact with virtual drawing 300.

Store fixed or packaged type the random access memory (random that media 150 are, for example, any kenel Access memory, RAM), read-only memory (read-only memory, ROM), flash memory (flash memory), Hard disk (hard disk drive, HDD), solid state hard disk (solid state drive, SSD) or similar component or said elements Combination.In the present embodiment, storage media 150 store the database for being associated with a variety of virtual scenes.

Object 200 is, for example, that can be projected the building blocks that machine 100 identifies, but the present invention is not restricted to this.Object 200 is right It should be in specific virtual scene.For example, object 200 can correspond to park scene, school's scene, museum's scene or travel Garden scene, but the present invention is not restricted to this.When the object 200 being placed on virtual drawing 300 passes through depth video camera 140 After module 110 processed identifies, the database that processing module 110 can access in storage media 150 corresponds to object to obtain The related data of 200 virtual scene, wherein the related data further includes the virtual facility corresponding to the virtual scene.

Fig. 2 embodiment according to the present invention shows the path on virtual drawing 300 and the schematic diagram of virtual scene.At this In embodiment, detects that user is performed on virtual drawing 300 by depth video camera 140 in processing module 110 and draw After graphic operation, processing module 110 can generate one or more paths according to mapping operation and on virtual drawing 300, and described Virtual drawing 300 can be divided into one or more blocks by one or more paths.In other words, processing module 110 can be according to drawing It operates and generates one or more blocks on virtual drawing 300.Referring to Fig. 2, it is assumed that user is by mapping operation in virtual graph Outbound path 43, path 44 and path 45 are shown, then path 43, path 44 and path 45 can be by virtual drawings 300 on face 300 Divide into block 310, block 320, block 330 and block 340.

Processing module 110 may be in response to object 200 and be placed on virtual drawing 300 and access in storage media 150 Database corresponds to the virtual scene of object 200 to read, and by projection lens module 130 in virtual 300 upslide of drawing Shadow goes out the virtual scene.For example, in processing module 110 according to the mapping operation of user and on virtual drawing 300 After generating block 310, block 320, block 330 and block 340, object 200 can be placed on block 340 by user.It throws The processing module 110 of shadow machine 100 can identify that object 200 is corresponding in multiple virtual scenes by depth video camera 140 The building blocks of park scene.Accordingly, the database that processing module 110 can access in storage media 150 corresponds to park to read The virtual scene and virtual facility of scape, and the virtual scene for corresponding to park scene and virtual facility are projected into block 340, wherein the virtual facility is, for example, the virtual facility relevant to park scene such as slippery ladder, swing, seesaw or wayside pavilion. Appropriate block that therefore, user only needs to be placed in object 200 on virtual drawing 300 (such as: block 340), can be in void Exquisite virtual scene and virtual facility are rapidly established on quasi- drawing 300.

Interactive projection system 10 of the invention may help to user and rapidly build the void with a variety of virtual facilities Quasi- scene.Compared to general block toy, interactive projection system 10 can not only rapidly be established out more and more smart The virtual scene and virtual facility of cause also have more diversified mutual dynamic model between interactive projection system 10 and user Formula.

For example, as shown in Fig. 2, after projector 100 is activated, projector 100 can be projected out void on the table Quasi- drawing 300.User can use gesture shown on virtual drawing 300 multiple and different paths (such as: path 43 to 45) and according to those paths corresponding block (such as: block 310 to 340) is generated.When user by an object (such as: object Part 200) when being placed on a block (such as: block 340), projector 100 virtual scene of the corresponding object can be projected to On the block.User can determine the virtual scene to establish on block by selecting object 200 appropriate Type.For example, the object 200 for corresponding to park scene (for example, object that object 200 can be wayside pavilion moulding) is put in user After being placed on block 340, projector 100 can correspond to the object 200 of wayside pavilion moulding, and be projected out park scene in block 340.It connects , projector 100 can be automatically generated on block 340 according to default rule associated with park scene virtually to be set It applies, including trees, seesaw or slippery ladder etc..

Virtual scene or virtual facility can be randomly generated.Therefore, even if user only holds corresponding to park The object 200 of scene, user can also establish the park scene of different complexions by object 200 on virtual drawing 300.If User holds the object of the different virtual scenes of multiple correspondences, and user can also be established out one's own by those objects Ideal cities and towns.For example, in addition to the object 200 for corresponding to park scene to be placed on block 340, user can also be incited somebody to action Object (for example, object of the object of clock tower moulding, flag-raising platform moulding) corresponding to school's scene is placed on block 320, and And the object (for example, object of apartment moulding) for corresponding to house scene is placed on block 310 and block 330.In this way, User can will establish out the residential quarter centered on school on virtual drawing 300.

Fig. 3 embodiment according to the present invention shows a kind of flow chart of interactive projecting method, wherein the interactive throwing Image method can be implemented by interactive projection system 10 as shown in Figure 1A.A, Figure 1B and Fig. 3 referring to Fig.1, in step S301, Processing module 110 generated on virtual plane 300 according to mapping operation one or more blocks (such as: block as shown in Figure 2 310,320,330 and 340).

In step s 302, depth video camera 140 detects whether object 200 is placed in the block in virtual drawing 300 On.If depth video camera 140 detects that object 200 is placed on a block (it is assumed hereinafter that object 200 is placed in such as figure On block 340 shown in 2), then enter step S303.If depth video camera 140 is not detected object 200 and is placed in virtual graph On any one block in face 300, then terminate the process of interactive projecting method.

In step S303, the access of processing module 110 stores the database in media 150 and judges whether deposit in database The virtual scene corresponding to object 200 is stored up.If storing the virtual scene corresponding to object 200 in database, enter step Rapid S304.If the not stored virtual scene corresponding to object 200 in database, represent projector 100 can not with put at present The object 200 being placed on virtual drawing 300 is interacted, therefore the process of interactive projecting method is moved to end.

In step s 304, processing module 110 obtains the void for corresponding to object 200 from the database of storage media 150 Quasi- scene and virtual facility.For example, if object 200 corresponds to park, the virtual scene is, for example, park scene, and And the virtual facility is, for example, the virtual facility relevant to park scene such as slippery ladder, swing, seesaw or wayside pavilion.

In step S305, and block that object 200 is placed in by processing module 110 (such as: block as shown in Figure 2 340) one or more regions are divided into.The purpose of this step is single block being distinguished into multiple regions, and using will correspond to The different zones of multiple virtual facilities distribution of object 200 within a block.

In step S306, the multiple virtual facilities for corresponding to object 200 are configured to be placed in block by processing module 110 On 340 one or more regions.

In step S307, processing module 110 will correspond to the virtual scene of object 200 by projection lens module 130 It being projected in virtual facility on the block that object 200 is placed in, the block is, for example, the block 340 on virtual drawing 300, As shown in Figure 2.

Fig. 4 A embodiment according to the present invention shows the flow chart of step S301 as shown in Figure 3, and in other words, Fig. 4 A shows The flow chart according to mapping operation the step of generating one or more blocks on virtual plane 300 is gone out.In step S410, place Reason module 110 judges whether depth video camera 140 detects the mapping operation corresponding to virtual drawing 300.If depth video camera 140 detect corresponding to the mapping operation of virtual drawing 300, then enter step S420.If depth video camera 140 is not detected pair S410 should be then re-execute the steps in the mapping operation of virtual drawing 300.

In the step s 420, processing module 110 detects line depicted in the mapping operation by depth video camera 140 Section, as shown in Figure 4 C.Fig. 4 C embodiment according to the present invention shows the schematic diagram of line segment depicted in detection mapping operation.Scheming In 4C, processing module 110 detects that user passes through gesture and executes mapping operation in virtual graph by depth video camera 140 Line segment 41 is painted on face 300.

Fig. 4 A is returned to, in step S430, processing module 110 judges whether mapping operation is completed.For example, it handles The time that module 110 may be in response to mapping operation stopping is more than time threshold (such as: 2 seconds) and judges the mapping operation It completes.If mapping operation is completed, S440 is entered step.If mapping operation is not yet completed, step S420 is returned to continue Detect line segment depicted in mapping operation.

In step S440, processing module 110 judges the type of line segment depicted in mapping operation.For example, it handles Module 110 can determine whether that line segment depicted in mapping operation is that invalid line segment or the line segment can become on virtual drawing 300 Path.Processing module 110 can be constituted based on the existing line segment on the line segment and virtual drawing 300 depicted in mapping operation and be closed Block and the line segment is judged as path, and processing module 110 can be generated according to path and on virtual drawing 300 one or Multiple blocks, wherein the existing line segment is, for example, the side of the path as depicted in previous mapping operation or virtual drawing 300 Edge 400.

Specifically, Fig. 4 B embodiment according to the present invention shows the flow chart of step S440 as shown in Figure 4 A.In step In rapid S441, processing module 110 judges whether line segment depicted in mapping operation is constituted with the existing line segment on virtual drawing 300 Close block.If line segment depicted in mapping operation and the existing line segment on virtual drawing 300 constitute closing block, enter step Rapid S443.If line segment depicted in mapping operation and the existing line segment on virtual drawing 300 do not constitute closing block, enter step Rapid S442.In step S442, line segment depicted in mapping operation is judged as general line segment and non-path by processing module 110. The line segment for being judged as general line segment will be cancelled from virtual drawing 300.In step S443, processing module 110 will be drawn Line segment depicted in graphic operation is judged as path, wherein virtual drawing 300 can be divided into one or more blocks by the path.It changes Sentence is talked about, and user can establish path corresponding with virtual scene in virtual drawing 300 by simply mapping operation.If making Line segment depicted in user and the existing line segment on virtual drawing 300 do not constitute closing block, then the line segment can automatically be cancelled. User will not need the line segment that picture mistake is eliminated using the function of similar erasing rubber.

Fig. 4 D, Fig. 4 E and Fig. 4 F embodiment according to the present invention show showing for the type of the line segment on virtual drawing 300 It is intended to.In fig. 4d, the line segment 42 as depicted in mapping operation is not constituted with the existing line segment on virtual drawing 300 any Block is closed, therefore module 110 processed is judged as general line segment and is cancelled by line segment 42.In Fig. 4 E, due to mapping operation Depicted line segment 43 can constitute two closing blocks (that is: closing block 340 and enclosed area with the edge 400 of virtual drawing 300 Block 350), therefore module 110 processed is judged as path by line segment 43.In Fig. 4 F, the line segment 44 as depicted in mapping operation Two closing blocks (that is: closing block can be constituted with the edge 400 of the line segment 43 for being judged as path and virtual drawing 300 360 and closing block 370), therefore module 110 processed is judged as path by line segment 44.

Fig. 4 A is returned to, in step S450, the path according to depicted in mapping operation of processing module 110 is in virtual drawing One or more blocks are generated on 300.Specifically, processing module 110 can will be by path on virtual drawing 300 and both wired The closing block that section is constituted is judged as one or more blocks on virtual drawing 300.For example, processing module 110 can incite somebody to action It is judged as empty by the closing block 340,360 and 370 that path 43, path 44 and edge 400 as illustrated in figure 4f is constituted One or more blocks on quasi- drawing 300.

In some embodiments, processing module 110 is greater than area threshold based on the area of closing block and will close block It is judged as one of one or more described blocks.As an example it is assumed that the area of closing block 370 as illustrated in figure 4f is small In or be equal to preset area threshold, then the area that processing module 110 will not be judged as closing block 370 on virtual drawing 300 Block.Assuming that the area of closing block 340 and 360 as illustrated in figure 4f is greater than preset area threshold, then processing module 110 will Closing block 340 and 360 is judged as the block on virtual drawing 300.

Fig. 5 A embodiment according to the present invention further shows the flow chart of step S305 as shown in Figure 3.Change sentence It talks about, Fig. 5 A, which is shown, divides into one or more for block that object 200 is placed in (such as: block 340 as shown in Figure 2) The flow chart of the step of region.

In step S501, processing module 110 obtains on virtual drawing 300 (or on block 340) corresponds to object 200 circumscribed circle 250.In step S502, the center of circle of circumscribed circle 250 is connected to what object 200 was put by processing module 110 The multiple point of contacts for generating circumscribed circle 250 are used on multiple vertex of block 340.Fig. 5 B embodiment according to the present invention shows generation The schematic diagram at multiple point of contacts of the circumscribed circle 250 corresponding to object 200.Referring to Fig. 5 A and Fig. 5 B, correspond to object 200 obtaining Circumscribed circle 250 after, it is right respectively to generate that the center of circle of circumscribed circle 250 is connected to each vertex of block 340 by processing module 110 Should in multiple point of contacts on each vertex, wherein the multiple point of contact include point of contact a, point of contact b, point of contact c, point of contact d, point of contact e and Point of contact f.

In step S503, processing module 110 acquirement correspond respectively to multiple point of contacts above-mentioned (that is: point of contact a, point of contact b, Multiple tangent lines of the circumscribed circle 250 of point of contact c, point of contact d, point of contact e and point of contact f), the multiple tangent line include corresponding to point of contact a Tangent line aL, the tangent line bL corresponding to point of contact b, the tangent line cL corresponding to point of contact c, corresponding to the tangent line dL of point of contact d, corresponding to cutting The tangent line eL of point e and tangent line fL corresponding to point of contact f, as shown in Figure 5 C.Fig. 5 C embodiment according to the present invention shows generation The schematic diagram of multiple tangent line aL, bL, cL, dL, eL and fL of circumscribed circle 250 corresponding to object 200.

Fig. 5 A is returned to, in step S504, processing module 110 (that is: tangent line aL, is cut using multiple tangent lines of circumscribed circle 250 Line bL, tangent line cL, tangent line dL, tangent line eL and tangent line fL) and block 340 multiple sides generate multiple closed area aR, bR, CR, dR, eR and fR, as shown in Figure 5 D.Fig. 5 D embodiment according to the present invention is shown by multiple tangent line aL, bL, cL, dL, eL And the schematic diagram of multiple closed area aR, bR, cR, dR, eR and fR caused by fL.For example, processing module 110 can Closed area aL is generated using three adjacent sides of tangent line aL and block 340.For by way of further example, processing module 110 can make Closed area cL is generated with two adjacent sides of tangent line cL and block 340.Multiple closed areas above-mentioned can be used as such as Fig. 3 One of one or more regions that step S305 is previously mentioned.

Fig. 6 A further shows the flow chart of step S305 as shown in Figure 3 according to another embodiment of the present invention. In other words, Fig. 6 A show by block that object 200 is placed in (such as: block 340 as shown in Figure 2) divide into one or The flow chart of the step of multiple regions.Step S601, step S602, step S603 and step S604 be respectively and as shown in Figure 5A Step S501, step S502, step S503 and step S504 it is similar.Accordingly, with respect to step S601, step S602, step The details of S603 and step S604 can according to above-mentioned Fig. 5 A embodiment explanation and obtain it is enough teaching, suggest and implement Illustrate, therefore repeats no more.

After completion step S604 produces multiple closed area aR, bR, cR, dR, eR and fR as shown in Figure 5 D, In step s 605, processing module 110 is obtained the greatest circle in each closed area and is previously mentioned using the step S305 as such as Fig. 3 One of one or more regions.By taking the fR of closed area as an example, Fig. 6 B embodiment according to the present invention shows closed area The schematic diagram of greatest circle fC in fR.Processing module 110 can obtain the greatest circle fC in the fR of closed area using the step as such as Fig. 3 One of one or more regions that rapid S305 is previously mentioned.

Fig. 7 A further shows the flow chart of step S305 as shown in Figure 3 according to still another embodiment of the invention. In other words, Fig. 7 A show by block that object 200 is placed in (such as: block 340 as shown in Figure 2) divide into one or The flow chart of the step of multiple regions.Step S701 is similar to step S501 as shown in Figure 5A.Accordingly, with respect to step S701's Details can according to above-mentioned Fig. 5 A embodiment explanation and obtain enough teachings, suggest and implement explanation, therefore repeat no more.

In step S702, processing module 110 obtain respectively with circumscribed circle 250, block 340 the first side and with it is described One or more regions that first circle tangent in the second of adjacent block 340 is previously mentioned using the step S305 as such as Fig. 3 One of.Fig. 7 B embodiment according to the present invention is shown and the circumscribed circle 250 and block 340 that correspond to object 200 The schematic diagram of the tangent circle in two adjacent sides.As shown in Figure 7 B, processing module 110 can obtain and circumscribed circle 250, block 340 While 71 and block 340 while 72 tangent circle O1 using as one of one or more described regions.Processing module 110 Can obtain with circumscribed circle 250, block 340 while 72 and block 340 while 73 tangent circle O2 using as it is described one or more One of region.Processing module 110 can obtain with circumscribed circle 250, block 340 while 73 and while 74 phases of block 340 The circle O3 cut is using as one of one or more described regions.Processing module 110 can obtain and circumscribed circle 250, block 340 While 74 and block 340 while 75 tangent circle O4 using as one of one or more described regions.Processing module 110 Can obtain with circumscribed circle 250, block 340 while 75 and block 340 while 76 tangent circle O5 using as it is described one or more One of region.Processing module 110 can obtain with circumscribed circle 250, block 340 while 76 and while 71 phases of block 340 The circle O6 cut is using as one of one or more described regions.

Fig. 8 A embodiment according to the present invention further shows the flow chart of step S306 as shown in Figure 3.Change sentence It talks about, Fig. 8 A is shown to be configured to be placed in one or more regions of block 340 by the multiple virtual units for corresponding to object 200 On step flow chart.

In step S801, processing module 110 selects first area from one or more regions of block 340.Processing Module 110 be, for example, according to area size from one or more regions select first area.With multiple areas shown in Fig. 5 D For domain, processing module 110 can be region aR, region bR, region cR, region dR, region eR and region fR based on region fR In the maximum region of area and selection region fR as first area.

In step S802, processing module 110 selects the first place from first area.In one embodiment, it handles Module 110 randomly selects the first place from first area.In another embodiment, processing module 110 selects first area Geometric center as the first place.For example, if the first area is greatest circle fC as shown in Figure 6B, mould is handled The center of circle of greatest circle fC may be selected using as the first place in block 110.

In step S803, processing module 110 selects the first virtual facility and judges whether the first virtual facility can quilt It is placed in the first place.Specifically, the database that processing module 110 can access in storage media 150 is corresponded to reading out Multiple virtual facilities of object 200, and the first virtual facility is selected from the multiple virtual facility.Processing module 110 The first virtual facility is selected from multiple virtual facilities according to priority or volume size in this way.For example, if object 200 Corresponding to park scene, then processing module 110 can be higher than multiple void such as slippery ladder, swing or seesaw based on the priority of wayside pavilion It proposes the priority applied or the volume based on wayside pavilion is greater than the volumes of multiple virtual facilities such as slippery ladder, swing or seesaw and selects Wayside pavilion is selected as the first virtual facility.After selecting the first virtual facility, processing module 110 judges first virtual facility Whether the first place can be placed in.Processing module 110 can judge that described first virtually sets according to method as shown in Figure 8 B Whether apply can be placed in the first place.

Fig. 8 B embodiment according to the present invention, which is shown, judges whether a specific virtual facility can be placed in a locality The flow chart of step.In step S82, when processing module 110 judges that specific virtual facility is placed in locality, virtual Whether the projected image of the specific virtual facility on drawing is more than specific region where locality.If the projected image is super The specific region is crossed, then enters step S83, processing module 110 judges that specific virtual facility cannot be placed in locality. If the projected image is less than the specific region, S84 is entered step, processing module 110 judges specific virtual facility energy It is placed in locality.As an example it is assumed that the specific virtual facility is the first void as shown in the step S803 of Fig. 8 A It proposes and applies, and the locality is the first place as shown in the step S803 of Fig. 8 A, then processing module 110 can be in step When judging that the first virtual facility is placed in the first place in S82, the perspective view of the first virtual facility on virtual drawing 300 It seem no more than first area.If the projected image of the first virtual facility is more than first area, S83 is entered step, handles mould Block 110 judges that the first virtual facility cannot be placed in the first place.If the projected image is less than first area, enter Step S84, processing module 110 judge that the first virtual facility can be placed in the first place.

In one embodiment, the step S81 before method shown in Fig. 8 B further includes step S82.In step S81, place Reason module 110 judge the specific region where locality with the presence or absence of be different from the specific virtual facility other virtually set It applies.If the specific region enters step S83 there are other virtual facilities.If there is no other for the specific region virtually Facility then enters step S82.As an example it is assumed that the specific virtual facility is first as shown in the step S803 of Fig. 8 A Virtual facility, and the locality is the first place as shown in the step S803 of Fig. 8 A, then and processing module 110 can be in step First area where judging the first place in rapid S81 whether there is other virtual facilities different from the first virtual facility.If First area then enters step S83 there are other virtual facilities.If other virtual facilities are not present in first area, enter step Rapid S82.

Fig. 8 A is returned to, in step S803, if processing module 110 judges that the first virtual facility can be placed in the first ground Point, then enter step S804.If processing module 110 judges that the first virtual facility cannot be placed in the first place, enter step Rapid S805.

In step S804, processing module 110 configures the first virtual unit to be placed in the first place.

In step S805, processing module 110 judges whether there is also be different from the second of the first place in first area Place.If returning to step S802 there is also the second place, processing module 110 selects the second place to make from first area For the first new place, and then judge whether the first virtual facility can be placed in the first new place in step S803.If There is no the second places, then enter step S806.

In step S806, processing module 110 is selected from one or more regions of block 340 different from first area Second area.Processing module 110 be, for example, according to area size from one or more regions select second area.With Fig. 5 D Shown in for multiple regions, processing module 110 can be region aR, region bR, region cR, region dR and area based on region eR The maximum region of area in the eR of domain and selection region eR are as second area.

In step S807, processing module 110 selects third place from second area.In one embodiment, processing module 110 randomly select third place from second area.In another embodiment, processing module 110 selects the several of second area What center is as third place.

In step S808, processing module 110 is selected differently from the second virtual facility of the first virtual facility and judges Whether the second virtual facility can be placed in third place.Specifically, processing module 110 can access in storage media 150 Database corresponds to multiple virtual facilities of object 200 to read out, and selects and be different from from the multiple virtual facility Second virtual facility of the first virtual facility.Processing module 110 is, for example, according to priority or volume size come from multiple virtual The second virtual facility is selected in facility.Processing module 110 can judge that described second virtually sets according to method as shown in Figure 8 B Whether apply can be placed in third place.If processing module 110 judges that the second virtual facility can be placed in third place, into Enter step S809.If processing module 110 judges that the second virtual facility cannot be placed in third place, S810 is entered step.

In step S809, processing module 110 configures the second virtual unit to be placed in third place.

In step S810, processing module 110 judges whether there is also the 4th ground for being different from third place in second area Point.If returning to step S807 there is also the 4th place, processing module 110 selected from second area the 4th place using as New third place, and then judge whether the second virtual facility can be placed in new third place in step S808.If no There are the 4th places, then terminate the process of Fig. 8 A.

Based on step as shown in Figure 8 A, processing module 110 will be automatically generated corresponding virtual in virtual scene Facility.User does not need to expend mental and physical efforts design virtual scene, can also be when using interactive projection system 10 every time, can It is enough to obtain the virtual scene with the configuration of different virtual facilities.

Fig. 9 further shows the flow chart of step S306 as shown in Figure 3 according to another embodiment of the present invention.It changes Sentence is talked about, and Fig. 9 is shown to be configured to be placed in one or more areas of block 340 by the multiple virtual units for corresponding to object 200 The flow chart of step on domain.

In step S901, processing module 110 selects first area from one or more regions of block 340.Processing Module 110 be, for example, according to area size from one or more regions select first area.

In step S902, processing module 110 selects the first place from first area.In one embodiment, it handles Module 110 randomly selects the first place from first area.In another embodiment, processing module 110 selects first area Geometric center as the first place.

In step S903, processing module 110 selects the first virtual facility and judges whether the first virtual facility can be put It is placed on the first place.If processing module 110 judges that the first virtual facility can be placed in the first place, S904 is entered step. If processing module 110 judges that the first virtual facility cannot be placed in the first place, S905 is entered step.

In step S904, processing module 110 configures the first virtual unit to be placed in the first place.

In step S905, processing module 110 judges whether there is also be different from the second of the first place in first area Place.If returning to step S902 there is also the second place, processing module 110 selects the second place to make from first area For the first new place, and then judge whether the first virtual facility can be placed in the first new place in step S903.If There is no the second places, then enter step S906.

In step S906, processing module 110 selects third place from first area.In one embodiment, processing module 110 randomly select third place from first area.In another embodiment, processing module 110 selects the several of first area What center is as third place.It third place can be identical as the first place as shown in step S902 (or first new place) Or it is different.

In step s 907, processing module 110 is selected differently from the second virtual facility of the first virtual facility and judges Whether the second virtual facility can be placed in third place.If processing module 110 judges that the second virtual facility can be placed in Three places, then enter step S908.If processing module 110 judges that the second virtual facility cannot be placed in third place, into Enter step S909.

In step S908, processing module 110 configures the second virtual unit to be placed in third place.

In step S909, processing module 110 judges whether there is also the 4th ground for being different from third place in first area Point.If returning to step S906 there is also the 4th place, processing module 110 selected from first area the 4th place using as New third place, and then judge whether the second virtual facility can be placed in new third place in step s 907.If no There are the 4th places, then terminate the process of Fig. 9.

Based on step as shown in Figure 9, processing module 110 will be automatically generated in virtual scene corresponding virtually to be set It applies.User does not need to expend mental and physical efforts design virtual scene, can also be when using interactive projection system 10 every time, can Obtain the virtual scene with the configuration of different virtual facilities.

Figure 10 embodiment according to the present invention show another interactive projecting method flow chart its, described in it is interactive Projecting method can be implemented by interactive projection system 10 as shown in Figure 1A.In step S1001, virtual graph is generated using projector Face.In step S1002, using the object on depth photography machine testing virtual graph face, wherein object corresponds to virtual scene.In step Rapid S1003 corresponds to the mapping operation of virtual drawing using depth photography machine testing.In step S1004, put in response to object It is placed on virtual drawing and goes out virtual scene in virtual drawing upslide shadow, and generated on virtual drawing according to mapping operation Block.

In conclusion interactive projection system of the invention can detect the object being placed on virtual drawing and select accordingly The image projected.Firstly, user can be established path by simple mapping operation and is partitioned on virtual drawing Many blocks.Then, user can correspond to put object by putting object rapidly to build in each block Virtual scene.Interactive projection system more can automatically build a variety of virtual facilities in virtual scene.By using respectively Corresponding to multiple objects of different virtual scenes, user can establish out personalized virtual town on virtual drawing.Mutually Dynamic formula optical projection system can provide the experience of the user full of entertaining, life-stylize and immersion for user.

Although the present invention is disclosed as above with embodiment, however, it is not to limit the invention, any technical field In technical staff, without departing from the spirit and scope of the present invention, when can make a little change and retouching, therefore guarantor of the invention Subject to shield range ought be defined depending on claim.

32页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种用于酒宴策划的互动系统及其工作方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类