CN102360424A - Glare prevention method based on shadow image cutting algorithm - Google Patents
Glare prevention method based on shadow image cutting algorithm Download PDFInfo
- Publication number
- CN102360424A CN102360424A CN2011103208243A CN201110320824A CN102360424A CN 102360424 A CN102360424 A CN 102360424A CN 2011103208243 A CN2011103208243 A CN 2011103208243A CN 201110320824 A CN201110320824 A CN 201110320824A CN 102360424 A CN102360424 A CN 102360424A
- Authority
- CN
- China
- Prior art keywords
- image
- projector
- lectuer
- shade
- curtain
- 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.)
- Pending
Links
Images
Landscapes
- Projection Apparatus (AREA)
Abstract
The invention discloses a glare prevention method based on a shadow image cutting algorithm. The method comprises the following steps of: acquiring an image of a lecturer in front of a projector and a shadow, on a screen, of the lecturer by using a charge coupled device (CCD) video acquisition module which is arranged on a projector body; and distinguishing the position of the image of the lecturer in front of the projector from the position of the shadow, which is projected on the screen, of the lecturer, and further estimating the relative position of the lecturer so as to realize the shadow image cutting algorithm. By adoption of the method, the image can be conveniently and quickly processed, and data can be conveniently and quickly communicated; the projector is convenient to install, so that a technical effect that the projector can be immediately used after being started is achieved; and when the position of the lecturer is changed, the position of the shadow, on the screen, of the lecturer can be changed, and the edge position of the image and the shadow is immediately changed, so that new positioning operation is triggered, and the defect of remaining of a plurality of shadows is overcome. The method is simple in algorithm, has the advantages of simplicity in operation, low requirement of a hardware system, low cost, wide application and the like, and has an excellent economical benefit and a wider market prospect.
Description
Technical field
The present invention relates to a kind of scratching and remove the projector anti-dazzle method that algorithm is realized through shadow image; Relate in particular to a kind of through the real-time acquisition process of CCD module, the shadow positions distinguishing projector the place ahead lectuer's image and on curtain, throw; And then estimation lectuer relative position; The control projector is not to the lectuer, and especially the anti-dazzle method that shines of eye belongs to projector control technology field.
Background technology
Projector is widely used in various meetings, teaching occasions; But the high light of projector produces strong impulse to the lectuer; After the lectuer walks out view field, also can't recover normal vision in the short time, this makes troubles to lecture; Here it is projector dazzle the eyes problem, existing at present projector product does not all provide anti-glare ripe commercialization solution.
Dazzle the eyes problem in order to solve projector, technically have several solutions at present.Chinese invention patent " the intelligent video optical projection systems of protection speechmaker eyes " (publication number: CN101872329A) disclose a kind of acquisition monitoring video that passes through, and detected the anti-dazzle method of lecture position of human eye.
Another technical scheme is by Chinese invention patent " device and control method, computer, projector with projection control function " (Granted publication number: CN 101452193B) then disclose a kind of actual environment image through affine processing projector projected area; And compare with the original projected image of treating; Thereby confirm the lectuer position, take anti-glare to handle the back with this and eliminate in the projection process projection ray the influence of lecture eye.
Above dual mode is two kinds of thinkings that can retrieve at present, but all has defective.
For eye detection method; Because before detecting position of human eye; What projector projects went out is the image that has target text, pattern; These images can directly be superimposed upon lectuer face, adopt the technology of the detection of Computer Image Processing algorithm, track human faces very high to the requirement of facial image as everyone knows at present, generally all are could satisfy certain accuracy rate through comparing information such as face complexion, characteristic; And after the high optical superposition target text of projector, pattern-information, make the detection and tracking of people's face difficult more.
And for affine comparison method; The position that at first will guarantee the image capture module installation is very near the projector curtain; Otherwise the shadow image that the lectuer is not only arranged in the image that collects, and also have lectuer's self image, in so complicated actual environment; Compare the original very difficulty of projected image of treating, the result that comparison is obtained also can't directly be used for anti-glare and handle.
This shows, above-mentioned two kinds of technical schemes, not only intractability is big, and computation complexity is high; Unstable properties, the present invention discloses a kind of novel differentiation projector the place ahead lectuer's image and the shadow image position of on curtain, throwing thereof, and then estimation lectuer relative position; The control projector is to the lectuer, the anti-dazzle method that shines of eye especially, and it is good to have realizability; Handle easyly, advantage such as algorithm complex is low can be widely used in projector and manufacture the field.
Summary of the invention
The object of the present invention is to provide a kind of projector anti-dazzle method; When the lectuer carries out instruction content before projector or before the curtain, get into the projector irradiation area, easily by the high-strength irradiate light of projector; The damage eyes; Therefore the present invention is modified as black through the dash area that the lectuer is blocked content, reduces the light intensity of projector irradiation human eye, realizes the anti-glare function with this.The abblendbar technological difficulties are: how through image-recognizing method identification position of human eye, and dynamic tracking position of human eye how.
In order to reach above-mentioned technical goal, the present invention adopts the CCD video acquisition module that is installed on the projector body to obtain projector the place ahead lectuer's image, with and shade on curtain.
Through the shadow positions of distinguishing projector the place ahead lectuer's image and on curtain, throwing, and then estimation lectuer relative position, algorithm removed to realize that shadow image is scratched.
In fact, the picture material that the CCD video acquisition module obtains is very complicated, comprises lectuer's image, shade, whole audience projection content area, and the peripheral non-content area of curtain.Therefore need distinguish above-mentioned picture material.
The flow process of technical scheme that the present invention adopts is following:
Step 1, image recognition flow process
(1) obtains background image
Because whole audience projection content area is general to be changed lessly, the peripheral non-content area of curtain is same to be changed lessly, therefore can be regarded as background image, through adopting the background image after the multi-frame video image that superposes repeatedly can obtain level and smooth the filtration;
(2) cut apart acquisition whole audience projection content area
Because the brightness of whole audience projection content area is high, and the peripheral non-content area of curtain often brightness is less, therefore can be partitioned into the rectangular area of whole audience projection content area through calculating background image brightness step figure;
(3) identification shade
Generally speaking, the shade ratio on the curtain is easier to detect, and through luminance threshold is set, directly can distinguish the zone of shade;
(4) detect lectuer's image-region
Through making difference operation, can roughly distinguish lectuer's image-region with background image;
Step 2, positioning flow
(1) calculates portrait-shade edge spacing
Because lectuer's image and shade thereof probably are superimposed, therefore can only obtain both departing from through calculating the average headway of corresponding edges in the imaging of CCD video acquisition module;
(2) calculate portrait-shade integral width
To cut apart the lectuer's image that obtains and the overall region of shade thereof and detect, obtain both integral width;
(3) calculate portrait-projection edge spacing
Calculate the spacing distance on the lectuer's image and whole audience projection content area adjacent edge edge;
(4) calculating ratio
Suppose that projector is parallel with respect to curtain; Even do not reach such requirement; Under normal situation about using; The inclination of projector also is to ignore; Formed two similar triangles by portrait-shade edge spacing, lectuer to curtain distance and lectuer between projector distance, CCD module and the bulb spacing,, can calculate the position that portrait-shade edge spacing, portrait-shade integral width, portrait-projection edge spacing are distinguished the projection content of correspondence according to the theorem of similar triangles;
(5) shadow image is scratched and is removed
Lectuer's image, shade are filled black in the opposed area of projection content; Though projector is to adopt after the high bright bulb irradiation projection content; On curtain, form image, even therefore projection black content also still has throw light; But throw light intensity greatly descends, and through the throw light after the reduction lecture eye is not caused the high light infringement.
Useful technique effect of the present invention is: be employed in the method that the CCD video acquisition module is installed in the projector machine and make Flame Image Process and data communication more convenient, projector is easy for installation, does not need the installation of connecting up on a large scale; Realize the technique effect of plug and play, in addition, adopt the shadow positions of distinguishing projector the place ahead lectuer's image and on curtain, throwing; And then estimation lectuer relative position, can realize quick location, and after lectuer's position changes; Its shadow positions on curtain also changes, and both positions, edge change at once, thereby triggers new location computing; There is not the shortcoming of being detained the polylith shade; Algorithm is succinct, has advantages such as simple to operate, that requirements for hardware is low, cost is low, applicable surface is extensive, has good economic benefit and market outlook.
Description of drawings
Fig. 1 is a kind of imaging arrangement figure that scratches the anti-dazzle method that removes algorithm based on shadow image of the present invention;
Fig. 2 is a kind of projector architecture figure that scratches the anti-dazzle method that removes algorithm based on shadow image of the present invention;
Fig. 3 is a kind of fundamental diagram of scratching the anti-dazzle method that removes algorithm based on shadow image of the present invention.
Embodiment
With reference to accompanying drawing, describe the present invention below.
As shown in Figure 1, the common imaging arrangement of the present invention comprises: projector (100), bulb (101), CCD video acquisition module (102), lectuer (103), curtain (104), shade (105).Wherein CCD video acquisition module (102) is installed on the projector body.
Parts as shown in Figure 2, that projector (100) is comprised: bulb (101) and CCD video acquisition module (102) are installed on the same workplace, and the CCD module between both centers and bulb spacing d (200) are known.
As shown in Figure 3, lectuer (103) keeps off in curtain the place ahead, got into the scope of whole audience projection content area (301), so the bulb (101) of projector (100) has stayed shade (105) with it on curtain (104);
And see from the visual angle of the CCD video acquisition module (102) of projector (100); Lectuer's image (300) same " projection " is on curtain (104); And and shade (105) formed partial stack, in fact, shade among the figure (105) and lectuer's image (300) should and curtain (104) be in same plane; Clear in order to illustrate, staggering before and after among the figure marks;
Therefore detect and obtain portrait-shade edge distance s (302), portrait-shade integral width t (303), portrait-projection field edge spacing p (304) and just confirmed its relative position on curtain;
Two similar triangles that portrait-shade edge distance s (302), lectuer to curtain forms apart from r2 (306) to projector apart from r1 (305) and CCD module and bulb spacing d (200), lectuer; Can calculate portrait-shade edge distance s (302), portrait-shade integral width t (303), portrait-projection edge spacing p (304) position of corresponding projection content respectively, reach shadow image with this and scratch the purpose of removing;
Can see that after lectuer's (103) position was moved, its shade in curtain (104) (105) changed at once, therefore triggered new location, such method tracing property is good, does not exist curtain (104) to go up the shortcoming of being detained the polylith shade.
Claims (1)
1. anti-dazzle method that scratch to remove algorithm based on shadow image; The CCD video acquisition module that employing is installed on the projector body is obtained projector the place ahead lectuer's image; With and shade on curtain, its technical characterictic is: through the shadow positions of distinguishing projector the place ahead lectuer's image and on curtain, throwing, and then estimation lectuer relative position; Remove algorithm to realize that shadow image is scratched, concrete performing step comprises:
Step 1, image recognition flow process
(1) obtains background image
Because whole audience projection content area is general to be changed lessly, the peripheral non-content area of curtain is same to be changed lessly, therefore can be regarded as background image, through adopting the background image after the multi-frame video image that superposes repeatedly can obtain level and smooth the filtration;
(2) cut apart acquisition whole audience projection content area
Because the brightness of whole audience projection content area is high, and the peripheral non-content area of curtain often brightness is less, therefore can be partitioned into the rectangular area of whole audience projection content area through calculating background image brightness step figure;
(3) identification shade
Generally speaking, the shade ratio on the curtain is easier to detect, and through luminance threshold is set, directly can distinguish the zone of shade;
(4) detect lectuer's image-region
Through making difference operation, can roughly distinguish lectuer's image-region with background image;
Step 2, positioning flow
(1) calculates portrait-shade edge spacing
Because lectuer's image and shade thereof probably are superimposed, therefore can only obtain both departing from through calculating the average headway of corresponding edges in the imaging of CCD video acquisition module;
(2) calculate portrait-shade integral width
To cut apart the lectuer's image that obtains and the overall region of shade thereof and detect, obtain both integral width;
(3) calculate portrait-projection edge spacing
Calculate the spacing distance on the lectuer's image and whole audience projection content area adjacent edge edge;
(4) calculating ratio
Suppose that projector is parallel with respect to curtain; Even do not reach such requirement; Under normal situation about using; The inclination of projector also is to ignore; Formed two similar triangles by portrait-shade edge spacing, lectuer to curtain distance and lectuer between projector distance, CCD module and the bulb spacing,, can calculate the position that portrait-shade edge spacing, portrait-shade integral width, portrait-projection edge spacing are distinguished the projection content of correspondence according to the theorem of similar triangles;
(5) shadow image is scratched and is removed
Lectuer's image, shade are filled black in the opposed area of projection content; Though projector is to adopt after the high bright bulb irradiation projection content; On curtain, form image, even therefore projection black content also still has throw light; But throw light intensity greatly descends, and through the throw light after the reduction lecture eye is not caused the high light infringement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103208243A CN102360424A (en) | 2011-10-20 | 2011-10-20 | Glare prevention method based on shadow image cutting algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103208243A CN102360424A (en) | 2011-10-20 | 2011-10-20 | Glare prevention method based on shadow image cutting algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102360424A true CN102360424A (en) | 2012-02-22 |
Family
ID=45585751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103208243A Pending CN102360424A (en) | 2011-10-20 | 2011-10-20 | Glare prevention method based on shadow image cutting algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102360424A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722254A (en) * | 2012-06-20 | 2012-10-10 | 清华大学深圳研究生院 | Method and system for location interaction |
CN105007439A (en) * | 2015-07-15 | 2015-10-28 | 合肥联宝信息技术有限公司 | Projector and method for avoiding projecting projected image on human body |
CN105320949A (en) * | 2015-11-23 | 2016-02-10 | 西安中科晶像光电科技有限公司 | A screen shielding and eye protection system and method |
CN105426831A (en) * | 2015-11-12 | 2016-03-23 | 西安中科晶像光电科技有限公司 | Intelligent system and method capable of avoiding projector glare |
WO2017201927A1 (en) * | 2016-05-23 | 2017-11-30 | 中兴通讯股份有限公司 | Anti-glare method, device, and projector apparatus |
CN107424547A (en) * | 2017-05-24 | 2017-12-01 | 上海交通大学 | Projection display system based on psycho-visual modulation to the protection of speaker's human eye |
CN112672033A (en) * | 2019-10-15 | 2021-04-16 | 中兴通讯股份有限公司 | Image processing method and device, storage medium and electronic device |
-
2011
- 2011-10-20 CN CN2011103208243A patent/CN102360424A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722254A (en) * | 2012-06-20 | 2012-10-10 | 清华大学深圳研究生院 | Method and system for location interaction |
CN102722254B (en) * | 2012-06-20 | 2015-06-17 | 清华大学深圳研究生院 | Method and system for location interaction |
CN105007439A (en) * | 2015-07-15 | 2015-10-28 | 合肥联宝信息技术有限公司 | Projector and method for avoiding projecting projected image on human body |
CN105426831A (en) * | 2015-11-12 | 2016-03-23 | 西安中科晶像光电科技有限公司 | Intelligent system and method capable of avoiding projector glare |
CN105320949A (en) * | 2015-11-23 | 2016-02-10 | 西安中科晶像光电科技有限公司 | A screen shielding and eye protection system and method |
WO2017201927A1 (en) * | 2016-05-23 | 2017-11-30 | 中兴通讯股份有限公司 | Anti-glare method, device, and projector apparatus |
CN107424547A (en) * | 2017-05-24 | 2017-12-01 | 上海交通大学 | Projection display system based on psycho-visual modulation to the protection of speaker's human eye |
CN112672033A (en) * | 2019-10-15 | 2021-04-16 | 中兴通讯股份有限公司 | Image processing method and device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102360424A (en) | Glare prevention method based on shadow image cutting algorithm | |
US7984995B2 (en) | Method and apparatus for inhibiting a subject's eyes from being exposed to projected light | |
US8773464B2 (en) | Methods and systems for collaborative-writing-surface image formation | |
US9087258B2 (en) | Method for counting objects and apparatus using a plurality of sensors | |
US7639878B2 (en) | Shadow detection in images | |
CN101169827B (en) | Method and device for tracking characteristic point of image | |
CN102750527B (en) | The medium-term and long-term stable persona face detection method of a kind of bank scene and device | |
US8019122B2 (en) | Vehicle side image recognition method and apparatus | |
O'malley et al. | Vision-based detection and tracking of vehicles to the rear with perspective correction in low-light conditions | |
CN102799883A (en) | Method and device for extracting movement target from video image | |
CN107067595B (en) | State identification method and device of indicator light and electronic equipment | |
CN105320953A (en) | License plate recognition method | |
CN103336948A (en) | Video tracking method based on face recognition | |
CN102610104B (en) | Onboard front vehicle detection method | |
CN204305213U (en) | The interactive sighting device of multi-cam human body tracking | |
WO2023159985A1 (en) | Video detection technology-based identification method for abnormal behaviors of sorting center | |
CN103607558A (en) | Video monitoring system, target matching method and apparatus thereof | |
US20140104431A1 (en) | System and Method for Utilizing a Surface for Remote Collaboration | |
JP6138949B2 (en) | Video processing device using difference camera | |
Almomani et al. | Segtrack: A novel tracking system with improved object segmentation | |
Le et al. | Pedestrian lane detection in unstructured environments for assistive navigation | |
US20130285993A1 (en) | System and method for adjusting display brightness by using video capturing device | |
CN114257800A (en) | Intelligent projection method and system and intelligent projection equipment | |
Choi et al. | Robust binarization of gray-coded pattern images for smart projectors | |
Ben Shitrit et al. | Tracking multiple players using a single camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120222 |