CN105825796A - Projection control method, projection control device and projection device - Google Patents
Projection control method, projection control device and projection device Download PDFInfo
- Publication number
- CN105825796A CN105825796A CN201510009605.1A CN201510009605A CN105825796A CN 105825796 A CN105825796 A CN 105825796A CN 201510009605 A CN201510009605 A CN 201510009605A CN 105825796 A CN105825796 A CN 105825796A
- Authority
- CN
- China
- Prior art keywords
- color
- test
- projection surface
- standard
- pixel
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000012360 testing method Methods 0.000 claims abstract description 194
- 239000003086 colorant Substances 0.000 claims abstract description 38
- 238000006243 chemical reaction Methods 0.000 claims description 46
- 230000000694 effects Effects 0.000 claims description 25
- 239000004744 fabric Substances 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B21/00—Projectors or projection-type viewers; Accessories therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/74—Projection arrangements for image reproduction, e.g. using eidophor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- Spectrometry And Color Measurement (AREA)
- Video Image Reproduction Devices For Color Tv Systems (AREA)
- Projection Apparatus (AREA)
Abstract
本发明公开了一种投影控制方法、装置及投影设备,在正式投影前,投影全标准色内容到投影面上,然后采集投影面当前显示内容得到投影面测试图片;将投影面测试图片各像素点的颜色与标准色进行比对确定需要进行颜色修正的非标准颜色像素点;对非标准颜色像素点进行颜色修正得到各非标准颜色像素点的修正颜色;在正式投影时,对投影面上的非标准颜色像素点则采用对应的修正颜色进行投影。由于本发明对投影面上的非标准颜色像素点进行了颜色修正,且在投影时针对这些像素点采用修正后的颜色进行投影,因此可以在没有投影布、或投影布、投影墙上有污点或环境光有色彩时,提升投影图像的色彩还原度,提升投影品质,进而提升用户体验的满意度。
The invention discloses a projection control method, device and projection equipment. Before formal projection, all standard color content is projected onto the projection surface, and then the current display content of the projection surface is collected to obtain a projection surface test picture; each pixel of the projection surface test picture is Compare the color of the point with the standard color to determine the non-standard color pixel points that need color correction; perform color correction on the non-standard color pixel points to obtain the corrected color of each non-standard color pixel point; The non-standard color pixels are projected with the corresponding corrected color. Since the present invention corrects the color of non-standard color pixels on the projection surface, and uses the corrected colors for projection of these pixels during projection, it can be used when there is no projection cloth, or there is a stain on the projection wall, or there is a stain on the projection wall. Or when the ambient light is colored, the color reproduction of the projected image is improved, the projection quality is improved, and the satisfaction of the user experience is improved.
Description
技术领域technical field
本发明涉及多媒体领域,具体涉及一种投影控制方法、装置及投影设备。The present invention relates to the field of multimedia, in particular to a projection control method, device and projection equipment.
背景技术Background technique
投影仪,又称投影机,是一种可以将图像或视频投射到幕布上的设备,可以通过不同的接口同计算机、VCD、DVD、BD、游戏机、DV等相连接播放相应的视频信号。投影仪广泛应用于家庭、办公室、学校和娱乐场所,根据工作方式不同,有CRT,LCD,DLP等不同类型。据统计,2010年中国投影机市场出货量规模达到128万台,相比2009年增长43.6%。分析认为,2011年中国投影机市场仍将保持快速增长,全年出货量将达到167万台,年成长率约投影仪为30%。未来5年,中国投影机市场的复合增长率将达到17.1%。近两年随着投影仪的成本及价格快速下降,市场出现了井喷的状态,投影仪快速进入千家万户。家庭影院型、便携商务型投影仪逐步成为市场的主力机型。A projector, also known as a projector, is a device that can project images or videos onto a screen. It can be connected to a computer, VCD, DVD, BD, game console, DV, etc. through different interfaces to play the corresponding video signal. Projectors are widely used in homes, offices, schools, and entertainment venues. According to different working methods, there are different types such as CRT, LCD, and DLP. According to statistics, in 2010 China's projector market shipments reached 1.28 million units, an increase of 43.6% compared to 2009. According to the analysis, China's projector market will continue to grow rapidly in 2011, with annual shipments reaching 1.67 million units and an annual growth rate of about 30%. In the next five years, the compound growth rate of China's projector market will reach 17.1%. In the past two years, with the rapid decline in the cost and price of projectors, the market has experienced a blowout, and projectors have quickly entered thousands of households. Home theater and portable business projectors have gradually become the main models in the market.
现有投影仪的投影原理是根据投影内容的每个像素点的颜色(RGB值),组合成对应的颜色,光线通过该颜色由镜头投射到前方物体表面(幕布、墙面等)形成图像。但由于家庭或者简单商务的投影环境可能不是很标准导致投影面不标准,比如环境灯光有颜色,或者没有投影专用的幕布而直接使用本身有颜色或污点的墙面作为投影面时,投影到上面的图像颜色就会产生颜色的偏差,会在一定程度降低图像色彩还原度,影响投影图像的观看效果。The projection principle of existing projectors is to combine the corresponding color according to the color (RGB value) of each pixel of the projected content, and the light passes through the color and is projected by the lens to the surface of the front object (curtain, wall, etc.) to form an image. However, due to the fact that the projection environment of the home or simple business may not be very standard, the projection surface may not be standard. For example, when the ambient light is colored, or there is no special projection screen and the wall with its own color or stain is directly used as the projection surface, the projection will be on it. The color of the image will produce color deviation, which will reduce the color reproduction of the image to a certain extent, and affect the viewing effect of the projected image.
发明内容Contents of the invention
本发明要解决的主要技术问题是,提供一种投影控制方法、装置及投影设备,解决现有投影过程中因投影面不标准导致投影效果差的问题。The main technical problem to be solved by the present invention is to provide a projection control method, device and projection equipment to solve the problem of poor projection effect caused by non-standard projection surface in the existing projection process.
为解决上述技术问题,本发明提供一种投影控制方法,包括:In order to solve the above technical problems, the present invention provides a projection control method, including:
投影全标准色内容到投影面上,然后采集投影面当前显示内容得到投影面测试图片;Project the full standard color content onto the projection surface, and then collect the current display content of the projection surface to obtain the projection surface test picture;
将所述投影面测试图片各像素点的颜色与所述标准色进行比对确定需要进行颜色修正的非标准颜色像素点;Comparing the color of each pixel of the projection surface test picture with the standard color to determine the non-standard color pixel that needs color correction;
对所述非标准颜色像素点进行颜色修正得到各非标准颜色像素点的修正颜色;Performing color correction on the non-standard color pixel points to obtain the corrected color of each non-standard color pixel point;
在所述投影面上投影时,对所述非标准颜色像素点采用对应的修正颜色进行投影。When projecting on the projection surface, the non-standard color pixel points are projected using the corresponding corrected color.
在本发明的一种实施例中,所述确定需要进行颜色修正的非标准颜色像素点包括:In an embodiment of the present invention, the determination of non-standard color pixel points that need color correction includes:
获取所述投影面测试图片各像素点的颜色;Obtain the color of each pixel of the projection surface test picture;
分别判断所述各像素点的颜色与所述标准色是否相同,如否,则确定该像素点为非标准颜色像素点;否则,确定该像素点为标准颜色像素点。Determine whether the color of each pixel is the same as the standard color, if not, determine that the pixel is a non-standard color pixel; otherwise, determine that the pixel is a standard color pixel.
在本发明的一种实施例中,对所述非标准颜色像素点进行颜色修正包括:In an embodiment of the present invention, performing color correction on the non-standard color pixels includes:
将所述非标准颜色像素点在所述投影面测试图片中的颜色作为该像素点的背景颜色;Using the color of the non-standard color pixel in the projection surface test picture as the background color of the pixel;
获取所述非标准颜色像素点即将投影的内容对应的颜色作为该像素点的前景颜色;Obtaining the color corresponding to the content to be projected by the non-standard color pixel as the foreground color of the pixel;
根据所述非标准颜色像素点的背景颜色和前景颜色到预先设置的色卡转换表中查找到对应的最佳显示颜色作为该像素点的修正颜色;所述色卡转换表包含各背景颜色和前景颜色对应的最佳显示颜色。According to the background color and the foreground color of the pixel of the non-standard color, the corresponding best display color is found in the preset color card conversion table as the corrected color of the pixel; the color card conversion table includes each background color and The best display color corresponding to the foreground color.
在本发明的一种实施例中,所述预先设置色卡转换表包括:In one embodiment of the present invention, the preset color card conversion table includes:
从标准色卡范围表中选择颜色Ci作为背景颜色,所述i大于等于1,小于等于n,所述n为所述标准色卡范围表所包含的颜色总数;Select color C i as the background color from the standard color card range table, the i is greater than or equal to 1, less than or equal to n, and the n is the total number of colors included in the standard color card range table;
将所述背景颜色和所述标准色分别作为第一测试投影面和第二测试投影面的测试背景颜色;Using the background color and the standard color as the test background colors of the first test projection surface and the second test projection surface respectively;
从所述标准色卡范围表中选择颜色Cj作为前景颜色,以所述前景颜色内容分别投影测试图像到所述第一测试投影面上和第二测试投影面上;所述j大于等于1,小于等于n,所述n为所述标准色卡范围表所包含的颜色总数;Select color C j as the foreground color from the range table of the standard color card, and project the test image onto the first test projection surface and the second test projection surface respectively with the foreground color content; the j is greater than or equal to 1 , less than or equal to n, said n is the total number of colors contained in the standard color card range table;
调整所述第一测试投影面上的测试图像颜色使其显示效果与所述第二测试投影面上的测试图像显示效果一致,将最终调整后的颜色作为所述背景颜色和所述前景颜色对应的最佳显示颜色Zij记录到色卡转换表中;Adjust the test image color on the first test projection surface to make its display effect consistent with the test image display effect on the second test projection surface, and use the final adjusted color as the background color corresponding to the foreground color The best display color Z ij is recorded in the color card conversion table;
或,or,
从标准色卡范围表中选择颜色Ci作为背景颜色,所述i大于等于1,小于等于n,所述n为所述标准色卡范围表所包含的颜色总数;Select color C i as the background color from the standard color card range table, the i is greater than or equal to 1, less than or equal to n, and the n is the total number of colors included in the standard color card range table;
将所述背景颜色作为测试投影面的测试背景颜色;Using the background color as the test background color of the test projection surface;
从所述标准色卡范围表中选择颜色Cj作为前景颜色,以所述前景颜色内容投影测试图像到所述测试投影面上;所述j大于等于1,小于等于n,所述n为所述标准色卡范围表所包含的颜色总数;Select color C j as the foreground color from the range table of the standard color card, and project the test image onto the test projection surface with the content of the foreground color; the j is greater than or equal to 1, and is less than or equal to n, and the n is all The total number of colors contained in the standard color card range table;
调整所述测试投影面上的测试图像颜色使其显示效果达到最佳,将最终调整后的颜色作为所述背景颜色和所述前景颜色对应的最佳显示颜色Zij记录到色卡转换表中。Adjust the test image color on the test projection surface to achieve the best display effect, and record the final adjusted color in the color card conversion table as the best display color Z ij corresponding to the background color and the foreground color .
在本发明的一种实施例中,所述标准色为白色。In one embodiment of the present invention, the standard color is white.
为了解决上述问题,本发明还提供了一种投影控制装置,包括测试图片获取模块、判断模块、颜色修正模块和投影模块;In order to solve the above problems, the present invention also provides a projection control device, including a test picture acquisition module, a judgment module, a color correction module and a projection module;
所述测试图片获取模块用于投影全标准色内容到投影面上,然后采集投影面当前显示内容得到投影面测试图片;The test picture acquisition module is used to project full standard color content onto the projection surface, and then collect the current display content of the projection surface to obtain the projection surface test picture;
所述判断模块用于将所述投影面测试图片各像素点的颜色与所述标准色进行比对确定需要进行颜色修正的非标准颜色像素点;The judging module is used to compare the color of each pixel point of the projection surface test picture with the standard color to determine the non-standard color pixel points that need color correction;
所述颜色修正模块用于对所述非标准颜色像素点进行颜色修正得到各非标准颜色像素点的修正颜色;The color correction module is used to perform color correction on the non-standard color pixel points to obtain the corrected color of each non-standard color pixel point;
所述投影模块用于在所述投影面上投影时,对所述非标准颜色像素点采用对应的修正颜色进行投影。The projection module is used for projecting the non-standard color pixels using a corresponding corrected color when projecting on the projection surface.
在本发明的一种实施例中,所述判断模块包括颜色获取子模块和比较子模块;In one embodiment of the present invention, the judgment module includes a color acquisition submodule and a comparison submodule;
所述颜色获取子模块用于获取所述投影面测试图片各像素点的颜色;The color acquisition sub-module is used to acquire the color of each pixel of the projection surface test picture;
所述比较子模块用于判断所述各像素点的颜色与所述标准色是否相同,如否,则确定该像素点为非标准颜色像素点;否则,确定该像素点为标准颜色像素点。The comparison sub-module is used to determine whether the color of each pixel is the same as the standard color, if not, then determine that the pixel is a non-standard color pixel; otherwise, determine that this pixel is a standard color pixel.
在本发明的一种实施例中,所述颜色修正模块包括背景颜色确定子模块、前景颜色确定子模块以及查找子模块;In an embodiment of the present invention, the color correction module includes a background color determination submodule, a foreground color determination submodule, and a search submodule;
所述背景颜色确定子模块用于将所述非标准颜色像素点在所述投影面测试图片中的颜色作为该像素点的背景颜色;The background color determination submodule is used to use the color of the non-standard color pixel in the projection surface test picture as the background color of the pixel;
所述前景颜色确定子模块用于获取所述非标准颜色像素点即将投影的内容对应的颜色作为该像素点的前景颜色;The foreground color determination submodule is used to acquire the color corresponding to the content to be projected by the non-standard color pixel as the foreground color of the pixel;
所述查找子模块用于根据所述非标准颜色像素点的背景颜色和前景颜色到预先设置的色卡转换表中查找到对应的最佳显示颜色作为该像素点的修正颜色;所述色卡转换表包含各背景颜色和前景颜色对应的最佳显示颜色。The search sub-module is used to find the corresponding best display color in the preset color card conversion table according to the background color and foreground color of the non-standard color pixel point as the corrected color of the pixel point; the color card The conversion table contains the best display colors for each background color and foreground color.
在本发明的一种实施例中,还包括色卡转换表设置模块,所述色卡转换表设置模块包括第一背景颜色选择子模块、第一测试背景颜色确定子模块、第一前景颜色选择子模块以及第一调整子模块;In one embodiment of the present invention, it also includes a color card conversion table setting module, the color card conversion table setting module includes a first background color selection sub-module, a first test background color determination sub-module, a first foreground color selection a submodule and a first adjustment submodule;
所述第一背景颜色选择子模块用于从标准色卡范围表中选择颜色Ci作为背景颜色,所述i大于等于1,小于等于n,所述n为所述标准色卡范围表所包含的颜色总数;The first background color selection submodule is used to select the color C i as the background color from the standard color card range table, and the i is greater than or equal to 1 and less than or equal to n, and the n is included in the standard color card range table the total number of colors;
所述第一测试背景颜色确定子模块用于将所述背景颜色和所述标准色分别作为第一测试投影面和第二测试投影面的测试背景颜色;The first test background color determination submodule is used to use the background color and the standard color as the test background colors of the first test projection surface and the second test projection surface respectively;
所述第一前景颜色选择子模块用于从所述标准色卡范围表中选择颜色Cj作为前景颜色,以所述前景颜色内容分别投影测试图像到所述第一测试投影面上和第二测试投影面上;所述j大于等于1,小于等于n,所述n为所述标准色卡范围表所包含的颜色总数;The first foreground color selection submodule is used to select color C j as the foreground color from the standard color card range table, and project the test image onto the first test projection surface and the second test projection surface respectively with the foreground color content. On the test projection surface; said j is greater than or equal to 1, less than or equal to n, and said n is the total number of colors contained in the standard color card range table;
所述第一调整子模块用于调整所述第一测试投影面上的测试图像颜色使其显示效果最好或显示效果与所述第二测试投影面上的测试图像显示效果一致,将最终调整后的颜色作为所述背景颜色和所述前景颜色对应的最佳显示颜色Zij记录到色卡转换表中;The first adjustment sub-module is used to adjust the color of the test image on the first test projection surface so that the display effect is the best or the display effect is consistent with the display effect of the test image on the second test projection surface, and the final adjustment The final color is recorded in the color card conversion table as the best display color Z ij corresponding to the background color and the foreground color;
或所述色卡转换表设置模块包括第二背景颜色选择子模块、第二前景颜色选择子模块、第二测试背景颜色确定子模块以及第二调整子模块;Or the color card conversion table setting module includes a second background color selection submodule, a second foreground color selection submodule, a second test background color determination submodule, and a second adjustment submodule;
所述第二背景颜色选择子模块用于从标准色卡范围表中选择颜色Ci作为背景颜色,所述i大于等于1,小于等于n,所述n为所述标准色卡范围表所包含的颜色总数;The second background color selection submodule is used to select the color C i as the background color from the standard color card range table, and the i is greater than or equal to 1 and less than or equal to n, and the n is included in the standard color card range table the total number of colors;
所述第二测试背景颜色确定子模块用于将所述背景颜色作为测试投影面的测试背景颜色;The second test background color determination submodule is used to use the background color as the test background color of the test projection surface;
所述第二前景颜色选择子模块用于从所述标准色卡范围表中选择颜色Cj作为前景颜色,以所述前景颜色内容投影测试图像到所述测试投影面上;所述j大于等于1,小于等于n,所述n为所述标准色卡范围表所包含的颜色总数;The second foreground color selection submodule is used to select color C j as the foreground color from the standard color card range table, and project the test image onto the test projection surface with the foreground color content; the j is greater than or equal to 1, less than or equal to n, said n is the total number of colors contained in the standard color card range table;
所述第二调整子模块用于调整所述测试投影面上的测试图像颜色使其显示效果达到最佳,将最终调整后的颜色作为所述背景颜色和所述前景颜色对应的最佳显示颜色Zij记录到色卡转换表中。The second adjustment sub-module is used to adjust the color of the test image on the test projection surface to achieve the best display effect, and use the final adjusted color as the best display color corresponding to the background color and the foreground color Z ij is recorded in the color card conversion table.
为了解决上述问题,本发明还提供了一种投影设备,包括投影器、图像采集器和处理器;所述投影器用于投影全标准色内容到投影面上;所述图像采集器用于在所述投影器投影全标准色内容到投影面上后,采集投影面当前显示内容得到投影面测试图片;所述处理器用于将所述投影面测试图片各像素点的颜色与所述标准色进行比对确定需要进行颜色修正的非标准颜色像素点,对所述非标准颜色像素点进行颜色修正得到各非标准颜色像素点的修正颜色,以及在所述投影器在所述投影面上投影时,控制所述投影器对所述非标准颜色像素点采用对应的修正颜色进行投影。In order to solve the above problems, the present invention also provides a projection device, including a projector, an image collector and a processor; the projector is used to project full standard color content onto the projection surface; the image collector is used to After the projector projects the full standard color content onto the projection surface, the current display content of the projection surface is collected to obtain a projection surface test picture; the processor is used to compare the color of each pixel of the projection surface test picture with the standard color determining the non-standard color pixel points that need color correction, performing color correction on the non-standard color pixel points to obtain the corrected color of each non-standard color pixel point, and when the projector is projected on the projection surface, controlling The projector uses a corresponding correction color to project the non-standard color pixel point.
在本发明的一种实施例中,所述图像采集器为拍照模块。In one embodiment of the present invention, the image collector is a camera module.
本发明的有益效果是:The beneficial effects of the present invention are:
本发明提供的投影控制方法、装置及投影设备,在正式投影前,投影全标准色内容到投影面上,然后采集投影面当前显示内容得到投影面测试图片;将投影面测试图片各像素点的颜色与标准色进行比对确定需要进行颜色修正的非标准颜色像素点;对非标准颜色像素点进行颜色修正得到各非标准颜色像素点的修正颜色;在正式投影时,对投影面上的非标准颜色像素点则采用对应的修正颜色进行投影。由于本发明对投影面上的非标准颜色像素点进行了颜色修正,且在投影时针对这些像素点采用修正后的颜色进行投影,可以减少非标准颜色像素点对投影图像的影响,因此可以在没有投影幕布,或投影幕布、投影墙上有污点或环境光有色彩时,提升投影图像的色彩还原度,提升投影品质,进而提升用户体验的满意度。The projection control method, device, and projection equipment provided by the present invention project full standard color content onto the projection surface before formal projection, and then collect the current display content of the projection surface to obtain a projection surface test picture; Compare the color with the standard color to determine the non-standard color pixels that need color correction; perform color correction on the non-standard color pixels to obtain the corrected color of each non-standard color pixel; Standard color pixels are projected using the corresponding corrected color. Since the present invention performs color correction on the non-standard color pixels on the projection surface, and uses the corrected colors for projection of these pixels during projection, it can reduce the influence of non-standard color pixels on the projected image, so it can be used in When there is no projection screen, or there are stains on the projection screen, the projection wall, or the ambient light is colored, the color reproduction of the projected image will be improved, the projection quality will be improved, and the satisfaction of the user experience will be improved.
附图说明Description of drawings
图1为本发明实施例一提供的投影控制方法流程示意图;FIG. 1 is a schematic flowchart of a projection control method provided by Embodiment 1 of the present invention;
图2为本发明实施例一提供的确定非标准颜色像素点的流程示意图;FIG. 2 is a schematic flow chart of determining non-standard color pixel points provided by Embodiment 1 of the present invention;
图3为本发明实施例一提供的进行颜色修正过程的流程示意图;FIG. 3 is a schematic flowchart of the color correction process provided by Embodiment 1 of the present invention;
图4为本发明实施例一提供的设置色卡转换表的流程示意图;Fig. 4 is a schematic flow chart of setting a color card conversion table provided by Embodiment 1 of the present invention;
图5为本发明实施例一提供的另一设置色卡转换表的流程示意图;Fig. 5 is a schematic flow chart of setting another color card conversion table provided by Embodiment 1 of the present invention;
图6为本发明实施例一提供的测试投影面示意图;6 is a schematic diagram of a test projection surface provided by Embodiment 1 of the present invention;
图7为本发明实施例二提供的投影控制装置结构示意图;FIG. 7 is a schematic structural diagram of a projection control device provided in Embodiment 2 of the present invention;
图8为本发明实施例二提供的另一投影控制装置结构示意图;FIG. 8 is a schematic structural diagram of another projection control device provided by Embodiment 2 of the present invention;
图9为本发明实施例三提供的投影设备结构示意图;FIG. 9 is a schematic structural diagram of a projection device provided by Embodiment 3 of the present invention;
图10为本发明实施例三提供的投影墙各像素点的颜色值确定过程示意图;FIG. 10 is a schematic diagram of the color value determination process of each pixel of the projection wall provided by Embodiment 3 of the present invention;
图11为本发明实施例三提供的正式投影过程示意图。FIG. 11 is a schematic diagram of a formal projection process provided by Embodiment 3 of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings.
实施例一:Embodiment one:
请参考图1所示,本实施例中的投影控制方法包括:Please refer to FIG. 1, the projection control method in this embodiment includes:
步骤101:在正式投影前,投影全标准色内容到投影面上,然后采集投影面当前显示内容得到投影面测试图片;Step 101: before the official projection, project all standard color content onto the projection surface, and then collect the current display content on the projection surface to obtain a projection surface test picture;
步骤102:将投影面测试图片各像素点的颜色与标准色进行比对确定需要进行颜色修正的非标准颜色像素点;Step 102: comparing the color of each pixel of the projection surface test picture with the standard color to determine the non-standard color pixel that needs color correction;
步骤103:对非标准颜色像素点进行颜色修正得到各非标准颜色像素点的修正颜色;Step 103: performing color correction on non-standard color pixel points to obtain the corrected color of each non-standard color pixel point;
步骤104:在投影面上正式投影时,对该投影面上非标准颜色像素点采用对应的修正颜色进行投影。Step 104: When formally projecting on the projection surface, the non-standard color pixel points on the projection surface are projected using the corresponding corrected color.
可见本实施例可以在正式投影前识别出投影面的非标准颜色像素点,并可对识别出的非标准颜色像素点进行颜色修正,然后在正式投影时针对这些像素点采用修正后的颜色进行投影,可以减少非标准颜色像素点对投影图像的影响,因此可以在没有投影布,或投影布、投影墙上有污点或环境光有色彩等非标准投影环境下,提升投影图像的色彩还原度,提升投影品质,进而提升用户体验的满意度。It can be seen that this embodiment can identify the non-standard color pixels on the projection surface before the official projection, and can correct the color of the identified non-standard color pixels, and then use the corrected color for these pixels during the official projection. Projection can reduce the impact of non-standard color pixels on the projected image, so it can improve the color reproduction of the projected image in non-standard projection environments such as no projection cloth, projection cloth, stains on the projection wall, or colored ambient light. , improve the projection quality, and then improve the satisfaction of the user experience.
上述步骤101中的标准色主要选择为与标准投影面(例如标准投影幕布)的颜色相同。由于现有标准投影面的颜色一般都设置为白色,因此本实施例中的标准色设置为白色。但应当理解的是,本实施例中的标准色并不仅限于白色,其可以随着标准投影面颜色的变化而变化,甚至可以根据用户的需求对应的变化。The standard color in the above step 101 is mainly selected to be the same color as the standard projection surface (eg standard projection screen). Since the color of the existing standard projection surface is generally set to white, the standard color in this embodiment is set to white. However, it should be understood that the standard color in this embodiment is not limited to white, and it can change with the color of the standard projection surface, or even change according to the needs of users.
上述步骤102中,确定投影面上需要进行颜色修正的非标准颜色像素点请参见图2所示,包括:In the above step 102, please refer to Fig. 2 to determine the non-standard color pixel points that need to be color corrected on the projection surface, including:
步骤1021:获取投影面测试图片各像素点的颜色,具体可以获取各像素点颜色的RGB值;Step 1021: Obtain the color of each pixel of the projection surface test picture, specifically the RGB value of each pixel color;
步骤1022:分别判断各像素点的颜色与标准色是否相同(具体可以判断各像素点的颜色RGB值是否等于标准色的RGB值或在标准色的RGB值范围内),如否,转至步骤1023;否则,转至步骤1024:Step 1022: judge respectively whether the color of each pixel is the same as the standard color (specifically, it can be judged whether the color RGB value of each pixel is equal to the RGB value of the standard color or within the range of the RGB value of the standard color), if not, go to step 1023; otherwise, go to step 1024:
步骤1023:确定该像素点为非标准颜色像素点。Step 1023: Determine that the pixel point is a non-standard color pixel point.
步骤1024:确定该像素点为标准颜色像素点。Step 1024: Determine that the pixel point is a standard color pixel point.
上述步骤1022中,投影面可以是专业的投影布,也可以是各种墙面等。投影面上的像素点的颜色与标准色不同可能是由于投影面自身带有颜色、或存在污点、或环境光带有颜色等情况导致。上述步骤1024中,确定为标准颜色像素点的由于其颜色与标准色一致,因此不需要额外进行颜色修正。In the above step 1022, the projection surface may be a professional projection cloth, or various walls, etc. The color of the pixels on the projection surface is different from the standard color, which may be caused by the color of the projection surface itself, or the presence of stains, or the color of the ambient light. In the above-mentioned step 1024, since the color of the pixel determined as the standard color is consistent with the standard color, no additional color correction is required.
在上述步骤103中,对确认出的非标准颜色像素点进行颜色修正请参见图3所示,包括:In the above step 103, color correction is performed on the confirmed non-standard color pixels, as shown in FIG. 3 , including:
步骤1031:将非标准颜色像素点在投影面测试图片中的颜色作为该像素点的背景颜色;Step 1031: use the color of the non-standard color pixel in the test picture on the projection surface as the background color of the pixel;
步骤1032:获取非标准颜色像素点即将投影的内容对应的颜色作为该像素点的前景颜色;Step 1032: Obtain the color corresponding to the content to be projected by the non-standard color pixel as the foreground color of the pixel;
步骤1033:根据非标准颜色像素点的背景颜色和前景颜色到预先设置的色卡转换表中查找到对应的最佳显示颜色作为该像素点的修正颜色;此处预先设置的色卡转换表包含各背景颜色和前景颜色对应的最佳显示颜色。Step 1033: According to the background color and the foreground color of the non-standard color pixel, look up the corresponding best display color in the preset color card conversion table as the corrected color of the pixel point; the preset color card conversion table here contains The best display color for each background color and foreground color.
本实施例中,预先设置色卡转换表的过程请参见图4所示,包括:In this embodiment, the process of presetting the color card conversion table is shown in Figure 4, including:
步骤401:从标准色卡范围表中选择颜色Ci作为背景颜色,此处的i大于等于1,小于等于n,i=i+1;n为标准色卡范围表所包含的颜色总数;Step 401: Select color C i from the standard color card range table as the background color, where i is greater than or equal to 1 and less than or equal to n, i=i+1; n is the total number of colors contained in the standard color card range table;
步骤402:将选择的背景颜色和标准色分别作为第一测试投影面和第二测试投影面的测试背景颜色,也即将第一测试投影面和第二测试投影面分别设置为该背景颜色和背景色,本实施例中的第一测试投影面和第二测试投影面除了测试背景颜色不同外,其他的都相同;Step 402: Use the selected background color and standard color as the test background colors of the first test projection surface and the second test projection surface respectively, that is, set the first test projection surface and the second test projection surface as the background color and background respectively color, the first test projection surface and the second test projection surface in this embodiment are all the same except that the test background color is different;
步骤403:从标准色卡范围表中选择颜色Cj作为前景颜色,以该前景颜色内容分别投影测试图像到第一测试投影面上和第二测试投影面上;j大于等于1,小于等于n,j=j+1;n为标准色卡范围表所包含的颜色总数;Step 403: Select color C j from the standard color card range table as the foreground color, and project the test image onto the first test projection surface and the second test projection surface respectively with the foreground color content; j is greater than or equal to 1, less than or equal to n , j=j+1; n is the total number of colors contained in the standard color card range table;
步骤404:调整第一测试投影面上的测试图像颜色使其显示效果与第二测试投影面上的测试图像显示效果一致,将最终调整后的颜色作为当前背景颜色和前景颜色对应的最佳显示颜色Zij记录到色卡转换表中。Step 404: Adjust the color of the test image on the first test projection surface so that its display effect is consistent with the display effect of the test image on the second test projection surface, and use the final adjusted color as the best display corresponding to the current background color and foreground color Color Z ij is recorded in the color card conversion table.
图4所示的色卡转换表设置过程借助了标准测试投影面(即第二测试投影面)上图形的比对,以与该标准测试投影面上的图形为标准进行了调整。但应当理解的是,本实施例也可不采用标准测试投影面进行设置,例如,请参见图5所示,包括:The setting process of the color card conversion table shown in FIG. 4 is adjusted with the graphics on the standard test projection surface (ie, the second test projection surface) by means of the comparison of the graphics on the standard test projection surface. But it should be understood that this embodiment can also be set without using the standard test projection surface, for example, please refer to Figure 5, including:
步骤501:从标准色卡范围表中选择颜色Ci作为背景颜色,此处的i大于等于1,小于等于n,i=i+1;n为标准色卡范围表所包含的颜色总数;Step 501: select color C i from the standard color card range table as the background color, where i is greater than or equal to 1, less than or equal to n, i=i+1; n is the total number of colors contained in the standard color card range table;
步骤502:将所选择的背景颜色作为测试投影面的测试背景颜色,也即将测试投影面设置为该背景颜色;Step 502: use the selected background color as the test background color of the test projection surface, that is, set the test projection surface as the background color;
步骤503:从标准色卡范围表中选择颜色Cj作为前景颜色,以前景颜色内容投影测试图像到所述测试投影面上;j大于等于1,小于等于n,j=j+1;n为标准色卡范围表所包含的颜色总数;Step 503: Select color C j from the standard color card range table as the foreground color, and project the test image onto the test projection surface with the content of the foreground color; j is greater than or equal to 1, less than or equal to n, j=j+1; n is The total number of colors contained in the standard color card range table;
步骤504:调整测试投影面上的测试图像颜色使其显示效果达到最佳,将最终调整后的颜色作为所述背景颜色和所述前景颜色对应的最佳显示颜色Zij记录到色卡转换表中。该步骤的显示效果最佳的判断条件具体可以根据不同的应用场景选定设置,例如对于要求清晰度最好的应用场景,则其判断条件可以设置为显示清晰度最好。Step 504: Adjust the color of the test image on the test projection surface to achieve the best display effect, and record the final adjusted color as the best display color Z ij corresponding to the background color and the foreground color in the color card conversion table middle. The judging condition for the best display effect in this step can be selected and set according to different application scenarios. For example, for an application scenario requiring the best definition, the judging condition can be set as the best display definition.
本实施例中投影到测试投影面上的测试图像可以是任意图像,例如线条图像、圆形图像等等。应当理解的是,本实施例中投影到第一测试投影面上的测试图像优选与投影到第二测试投影面上的测试图像相同,以便于比对分析。The test image projected onto the test projection surface in this embodiment may be any image, such as a line image, a circular image, and the like. It should be understood that, in this embodiment, the test image projected on the first test projection surface is preferably the same as the test image projected on the second test projection surface, so as to facilitate comparison and analysis.
为了更好的理解本发明,下面以图4所示的设置过程,结合具体的标准色卡范围表、以标准色为白色为例进行进一步示例性说明:In order to better understand the present invention, the setting process shown in Figure 4 will be further illustrated below in combination with the specific standard color card range table, taking the standard color as white as an example:
1、选择一套合适精度的色卡作为标准色卡范围表,确定色卡中每种颜色对应的RGB的取值范围,标准色卡范围表请参见表一所示:1. Select a set of color cards with appropriate precision as the standard color card range table, and determine the RGB value range corresponding to each color in the color card. For the standard color card range table, please refer to Table 1:
表一Table I
每一种颜色C(R,G,B)都可以根据表一中对应的RGB范围,确定该种颜色对应的色卡颜色S,该颜色S满足如下条件:For each color C (R, G, B), the corresponding color card color S can be determined according to the corresponding RGB range in Table 1, and the color S satisfies the following conditions:
S=(Rs1<=R&&Rs2>R)&&(Gs1<=G&&Gs2>G)&&(Bs1<=B&&Bs2>B)S=(Rs1<=R&&Rs2>R)&&(Gs1<=G&&Gs2>G)&&(Bs1<=B&&Bs2>B)
上式中Rs1、Rs2对应R范围,Gs1、Gs2对应G范围,Bs1、Bs2对应B范围。In the above formula, Rs1 and Rs2 correspond to the R range, Gs1 and Gs2 correspond to the G range, and Bs1 and Bs2 correspond to the B range.
2、设置色卡转换表2. Set the color card conversion table
从表一中选择一种颜色Ci(Ri,Gi,Bi)=(ri,gi,bi)作为背景颜色,此处的i大于等于1,小于等于n,i=i+1;Select a color C i (R i , G i , B i )=( ri ,gi , bi ) from Table 1 as the background color, where i is greater than or equal to 1 and less than or equal to n, i=i +1;
将选择的颜色Ci和标准色即白色分别作为第一测试测试投影面和第二测试投影面的测试背景色;然后再从表一中选择颜色Cj(R2j-1—R2j,G2j-1—G2j,B2j-1—B2j)作为测试用的前景颜色,为了使该颜色具备较好的代表性,在投影仪中设置该颜色Cj的RGB值如下:The selected color C i and the standard color are white as the test background color of the first test projection surface and the second test projection surface respectively; then select the color C j (R2j-1-R2j, G2j-1 —G2j, B2j-1—B2j) is used as the foreground color for testing. In order to make this color more representative, set the RGB value of this color C j in the projector as follows:
(Rj,Gj,Bj)=((R2j-1+R2j)/2,(G2j-1+G2j)/2,(B2j-1+B2j)/2);(Rj, Gj, Bj) = ((R2j-1+R2j)/2, (G2j-1+G2j)/2, (B2j-1+B2j)/2);
以该前景颜色Cj内容分别投影测试图像(请参见图6所示,该图像为两条直线上面区域为第一测试投影面,下面区域为第二测试投影面)到第一测试投影面上和第二测试投影面上,调整第一测试投影面上直线的颜色,使其显示效果与第二测试投影面上的直线一致(也即基本相同),并记录下对应的颜色作为当前背景颜色和前景颜色对应的最佳显示颜色Zij记录到色卡转换表中。Project the test image respectively with the content of the foreground color C j (see also shown in Figure 6, this image is the first test projection plane in the area above the two straight lines, and the second test projection plane in the area below) onto the first test projection plane and the second test projection surface, adjust the color of the straight line on the first test projection surface so that its display effect is consistent with the straight line on the second test projection surface (that is, basically the same), and record the corresponding color as the current background color The optimal display color Z ij corresponding to the foreground color is recorded in the color card conversion table.
循环上述过程,利用表一中每种颜色和标准色白色分别作为第一测试投影面和第二测试投影面的颜色,可以找到每种颜色做前景颜色是对应的最佳显示颜色并记录到色卡转换表中,得到的色卡转换表请参见表二所示:Repeat the above process, use each color in Table 1 and the standard color white as the colors of the first test projection surface and the second test projection surface respectively, you can find the best display color corresponding to each color as the foreground color and record it in the color In the card conversion table, please refer to Table 2 for the obtained color card conversion table:
表二Table II
3、进行正式投影3. Perform formal projection
正式内容投影前,先投影全部是标准色即白色的内容到投影面上,然后对投影面进行拍照得到投影面测试图片;根据投影面测试图片的可以得到该图片每个像素点(x,y)对应的RGB值,根据每个像素点的RGB值在标准色卡范围表中可以找到色卡对应的颜色Cn;如果Cn为白色则改点颜色不用修正,如果不是白色,则确定该像素点为非标准颜色像素点,记录下该像素点背景颜色Cn,得到投影面待修正像素点列表,请参见表三所示:Before the official content is projected, first project all the standard color, that is, white content, onto the projection surface, and then take pictures of the projection surface to obtain the projection surface test picture; according to the projection surface test picture, each pixel point (x, y) of the picture can be obtained ) corresponding to the RGB value, according to the RGB value of each pixel point, the color Cn corresponding to the color card can be found in the standard color card range table; if Cn is white, change the color without correction, if it is not white, then determine the pixel point It is a non-standard color pixel, record the background color Cn of this pixel, and get the list of pixels to be corrected on the projection surface, as shown in Table 3:
表三Table three
*注:空白表示该像素点不需要修正;*Note: Blank means that the pixel does not need to be corrected;
正式内容投影时,根据图像每个像素点X(rgb)的位置(X,Y),计算其在表三中的位置(x,y),查表得到C(x,y);如果C(x,y)=Cx为空,则直接显示该颜色;如果不为空:When the official content is projected, according to the position (X, Y) of each pixel point X (rgb) of the image, calculate its position (x, y) in Table 3, and look up the table to get C (x, y); if C ( x,y)=Cx is empty, then display the color directly; if not empty:
1.根据X(rgb)色卡范围表得到该像素点即将投影内容对应的色卡颜色Ck,作为该像素点的前景颜色;1. According to the X(rgb) color card range table, the color card color Ck corresponding to the projected content of the pixel point is obtained as the foreground color of the pixel point;
2.根据背景颜色Cx及前景颜色Ck,查表二得到该像素点根据背景颜色调整后的最佳颜色Z,也即修正后的颜色Z;2. According to the background color Cx and the foreground color Ck, look up Table 2 to obtain the optimal color Z of the pixel adjusted according to the background color, that is, the corrected color Z;
3.在该像素点(x,y)位置利用修正颜色Z进行投影。3. Use the corrected color Z to project at the pixel point (x, y).
实施例二:Embodiment two:
本实施例提供了一种投影控制装置,请参见图7所示,包括测试图片获取模块71、判断模块72、颜色修正模块73和投影模块74;This embodiment provides a projection control device, as shown in FIG. 7 , including a test picture acquisition module 71, a judgment module 72, a color correction module 73, and a projection module 74;
测试图片获取模块71用于投影全标准色内容到投影面上,然后采集投影面当前显示内容得到投影面测试图片;The test picture acquisition module 71 is used to project full standard color content onto the projection surface, and then collect the current display content of the projection surface to obtain the projection surface test picture;
判断模块72用于将投影面测试图片各像素点的颜色与标准色进行比对确定需要进行颜色修正的非标准颜色像素点;The judging module 72 is used to compare the color of each pixel point of the projection surface test picture with the standard color to determine the non-standard color pixel points that need color correction;
颜色修正模块73用于对非标准颜色像素点进行颜色修正得到各非标准颜色像素点的修正颜色;The color correction module 73 is used to correct the color of the non-standard color pixel points to obtain the corrected color of each non-standard color pixel point;
投影模块74用于在投影面上投影时,对该投影面上的非标准颜色像素点采用对应的修正颜色进行投影。The projection module 74 is used for projecting the non-standard color pixel points on the projection surface using the corresponding corrected color for projection when projecting on the projection surface.
本实施例中的标准色主要选择为与标准投影面(例如标准投影幕布)的颜色相同。由于现有标准投影面的颜色一般都设置为白色,因此本实施例中的标准色设置为白色。但应当理解的是,本实施例中的标准色并不仅限于白色,其可以随着标准投影面颜色的变化而变化,甚至可以根据用户的需求对应的变化。The standard color in this embodiment is mainly selected to be the same color as the standard projection surface (eg, standard projection screen). Since the color of the existing standard projection surface is generally set to white, the standard color in this embodiment is set to white. However, it should be understood that the standard color in this embodiment is not limited to white, and it can change with the color of the standard projection surface, or even change according to the needs of users.
本实施例中的判断模块72包括颜色获取子模块和比较子模块;The judging module 72 in this embodiment includes a color acquisition submodule and a comparison submodule;
颜色获取子模块用于获取投影面测试图片各像素点的颜色;The color acquisition sub-module is used to acquire the color of each pixel of the projection surface test picture;
比较子模块用于判断各像素点的颜色与标准色是否相同,如否,则确定该像素点为非标准颜色像素点;否则,确定该像素点为标准颜色像素点。The comparison sub-module is used to determine whether the color of each pixel is the same as the standard color, if not, then determine that the pixel is a non-standard color pixel; otherwise, determine that this pixel is a standard color pixel.
本实施例中的投影面可以是专业的投影布,也可以是各种墙面等。投影面上的像素点的颜色与标准色不同可能是由于投影面自身带有颜色、或存在污点、或环境光带有颜色等情况导致。确定为标准颜色像素点的由于其颜色与标准色一致,因此不需要额外进行颜色修正。The projection surface in this embodiment may be a professional projection cloth, or various walls and the like. The color of the pixels on the projection surface is different from the standard color, which may be caused by the color of the projection surface itself, or the presence of stains, or the color of the ambient light. Pixels determined to be standard colors do not require additional color correction because their colors are consistent with the standard colors.
颜色修正模块73包括背景颜色确定子模块、前景颜色确定子模块以及查找子模块;The color correction module 73 comprises a background color determination submodule, a foreground color determination submodule and a search submodule;
背景颜色确定子模块用于将非标准颜色像素点在投影面测试图片中的颜色作为该像素点的背景颜色;The background color determination sub-module is used to use the color of the non-standard color pixel in the projection surface test picture as the background color of the pixel;
前景颜色确定子模块用于获取非标准颜色像素点即将投影的内容对应的颜色作为该像素点的前景颜色;The foreground color determination sub-module is used to obtain the color corresponding to the content to be projected by the non-standard color pixel as the foreground color of the pixel;
查找子模块用于根据非标准颜色像素点的背景颜色和前景颜色到预先设置的色卡转换表中查找到对应的最佳显示颜色作为该像素点的修正颜色;该色卡转换表包含各背景颜色和前景颜色对应的最佳显示颜色。The search sub-module is used to find the corresponding best display color in the preset color card conversion table according to the background color and foreground color of the non-standard color pixel point as the corrected color of the pixel point; the color card conversion table contains each background color The best display color for the color and foreground color.
请参见图8所示,投影控制装置还包括色卡转换表设置模块75,色卡转换表设置模块75包括第一背景颜色选择子模块、第一测试背景颜色确定子模块、第一前景颜色选择子模块以及第一调整子模块;Referring to Fig. 8, the projection control device also includes a color card conversion table setting module 75, and the color card conversion table setting module 75 includes a first background color selection submodule, a first test background color determination submodule, a first foreground color selection a submodule and a first adjustment submodule;
第一背景颜色选择子模块用于从标准色卡范围表中选择颜色Ci作为背景颜色,此处的i大于等于1,小于等于n,i=i+1;n为标准色卡范围表所包含的颜色总数;The first background color selection submodule is used to select the color C i as the background color from the standard color card range table, where i is greater than or equal to 1, less than or equal to n, i=i+1; n is set by the standard color card range table the total number of colors included;
第一测试背景颜色确定子模块用于将选择的背景颜色和标准色分别作为第一测试投影面和第二测试投影面的测试背景颜色,也即将第一测试投影面和第二测试投影面分别设置为该背景颜色和背景色,本实施例中的第一测试投影面和第二测试投影面除了测试背景颜色不同外,其他的都相同;The first test background color determination submodule is used to use the selected background color and standard color as the test background colors of the first test projection surface and the second test projection surface respectively, that is, the first test projection surface and the second test projection surface respectively Set to the background color and background color, the first test projection surface and the second test projection surface in this embodiment are all the same except that the test background color is different;
第一前景颜色选择子模块用于从标准色卡范围表中选择颜色Cj作为前景颜色,以该前景颜色内容分别投影测试图像到第一测试投影面上和第二测试投影面上;j大于等于1,小于等于n,j=j+1;n为标准色卡范围表所包含的颜色总数;The first foreground color selection submodule is used to select color C j as the foreground color from the standard color card range table, and project the test image onto the first test projection surface and the second test projection surface respectively with the content of the foreground color; j is greater than Equal to 1, less than or equal to n, j=j+1; n is the total number of colors contained in the standard color card range table;
第一调整子模块用于调整第一测试投影面上的测试图像颜色使其显示效果与第二测试投影面上的测试图像显示效果一致,将最终调整后的颜色作为当前背景颜色和前景颜色对应的最佳显示颜色Zij记录到色卡转换表中。The first adjustment sub-module is used to adjust the color of the test image on the first test projection surface to make its display effect consistent with the display effect of the test image on the second test projection surface, and use the final adjusted color as the current background color corresponding to the foreground color The best display color Z ij is recorded in the color card conversion table.
或色卡转换表设置模块75包括第二背景颜色选择子模块、第二前景颜色选择子模块、第二测试背景颜色确定子模块以及第二调整子模块;Or the color card conversion table setting module 75 includes a second background color selection submodule, a second foreground color selection submodule, a second test background color determination submodule and a second adjustment submodule;
第二背景颜色选择子模块用于从标准色卡范围表中选择颜色Ci作为背景颜色,此处的i大于等于1,小于等于n,i=i+1;n为标准色卡范围表所包含的颜色总数;The second background color selection submodule is used to select the color C i as the background color from the standard color card range table, where i is greater than or equal to 1, less than or equal to n, i=i+1; n is set by the standard color card range table the total number of colors included;
第二测试背景颜色确定子模块用于将所选择的背景颜色作为测试投影面的测试背景颜色,也即将测试投影面设置为该背景颜色;The second test background color determination submodule is used to use the selected background color as the test background color of the test projection surface, that is, to set the test projection surface to the background color;
第二前景颜色选择子模块用于从标准色卡范围表中选择颜色Cj作为前景颜色,以前景颜色内容投影测试图像到所述测试投影面上;j大于等于1,小于等于n,j=j+1;n为标准色卡范围表所包含的颜色总数;The second foreground color selection submodule is used to select color C j as the foreground color from the standard color card range table, and project the test image onto the test projection surface with the foreground color content; j is greater than or equal to 1, less than or equal to n, j= j+1; n is the total number of colors contained in the standard color card range table;
第二调整子模块用于调整测试投影面上的测试图像颜色使其显示效果达到最佳,将最终调整后的颜色作为所述背景颜色和所述前景颜色对应的最佳显示颜色Zij记录到色卡转换表中。该步骤的显示效果最佳的判断条件具体可以根据不同的应用场景选定设置,例如对于要求清晰度最好的应用场景,则其判断条件可以设置为显示清晰度最好。The second adjustment sub-module is used to adjust the test image color on the test projection surface to achieve the best display effect, and record the final adjusted color as the best display color Z ij corresponding to the background color and the foreground color. In the color card conversion table. The judging condition for the best display effect in this step can be selected and set according to different application scenarios. For example, for an application scenario requiring the best definition, the judging condition can be set as the best display definition.
本实施例中投影到测试投影面上的测试图像可以是任意图像,例如线条图像、圆形图像等等。应当理解的是,本实施例中投影到第一测试投影面上的测试图像优选与投影到第二测试投影面上的测试图像相同,以便于比对分析。The test image projected onto the test projection surface in this embodiment may be any image, such as a line image, a circular image, and the like. It should be understood that, in this embodiment, the test image projected on the first test projection surface is preferably the same as the test image projected on the second test projection surface, so as to facilitate comparison and analysis.
实施例三:Embodiment three:
本实施例提供了一种投影设备,该投影设备可以是专业的各种投影仪,也可以是各种具备投影功能的手机、PAD等移动终端,请参见图9所示,包括投影器91、图像采集器92和处理器93;本实施例中的投影器包括投影灯等器件,本实施例中的图像采集器主要用于拍摄图片,其可以是拍照模块。当投影设备为现有投影仪时,则在硬件可以在投影设备上增加图像采集器92,并使其受控于处理器,图像采集器92采集的图像数据可以保存到投影设备的存储器或内存中;当投影设备是具备投影功能的手机、PAD等移动终端时,可知直接利用这类移动终端自带的摄像头作为图像采集器92。具体的,投影器91用于投影全标准色内容到投影面上;图像采集器92用于在投影器投影全标准色内容到投影面上后,采集投影面当前显示内容得到投影面测试图片;处理器93用于将投影面测试图片各像素点的颜色与标准色(例如白色)进行比对确定需要进行颜色修正的非标准颜色像素点,对非标准颜色像素点进行颜色修正得到各非标准颜色像素点的修正颜色,以及在投影器91在投影面上正式投影时,控制投影器对该投影面上的非标准颜色像素点采用对应的修正颜色进行投影。下面结合该投影设备为示例,以投影面为投影墙为例,对投影控制过程进行示例性说明:This embodiment provides a kind of projection equipment, and this projection equipment can be various professional projectors, also can be mobile terminal such as various mobile phones, PAD etc. with projection function, please refer to as shown in Fig. 9, comprise projector 91, An image collector 92 and a processor 93; the projector in this embodiment includes devices such as projection lamps, and the image collector in this embodiment is mainly used for taking pictures, which may be a camera module. When the projection device is an existing projector, the hardware can increase the image collector 92 on the projection device, and make it controlled by the processor, and the image data collected by the image collector 92 can be saved to the memory or memory of the projection device Middle; when the projection device is a mobile terminal such as a mobile phone and a PAD with a projection function, it can be seen that the camera of such a mobile terminal is directly used as the image collector 92 . Specifically, the projector 91 is used to project full standard color content onto the projection surface; the image collector 92 is used to collect the currently displayed content on the projection surface to obtain a projection surface test picture after the projector projects the full standard color content onto the projection surface; The processor 93 is used to compare the color of each pixel point of the projection surface test picture with a standard color (such as white) to determine the non-standard color pixel points that need color correction, and perform color correction on the non-standard color pixel points to obtain each non-standard color pixel point. The corrected color of the color pixel, and when the projector 91 is officially projecting on the projection surface, the projector is controlled to project the non-standard color pixel on the projection surface with the corresponding corrected color. The following uses the projection device as an example, and takes the projection surface as a projection wall as an example to illustrate the projection control process:
1、照相并得到投影墙颜色(色卡)流程,如图10所示,包括:1. Take pictures and get the color (color card) of the projection wall, as shown in Figure 10, including:
步骤1001:初始化预先固化的:色卡范围表:ColorRangeTable;色卡转换表:ColorTransformTable;初始化:投影墙色卡,bgColorTbale[][]=null;Step 1001: Initialize pre-cured: color card range table: ColorRangeTable; color card conversion table: ColorTransformTable; initialization: projection wall color card, bgColorTbale[][]=null;
步骤1002:投影全白色内容到投影墙上;Step 1002: Project all white content onto the projection wall;
步骤1003:对投影墙进行拍照得到投影墙的测试图片内容bgBitmap;Step 1003: taking pictures of the projection wall to obtain the test image content bgBitmap of the projection wall;
步骤1004:循环检测各像素点是否是非标准颜色像素点,具体可按照以下方式进行循环:Step 1004: Circularly detect whether each pixel point is a non-standard color pixel point, specifically, the loop can be performed in the following manner:
For(x=0;x++;x<图像长度)For(x=0; x++; x<image length)
For(y=0;y++;y<图像高度)For(y=0; y++; y<image height)
PointColor=bgBitmap[x][y];PointColor = bgBitmap[x][y];
步骤1005:根据PointColor的RGB可以查找色卡范围表,得到该像素点的色卡颜色Ck;Step 1005: According to the RGB of PointColor, the color card range table can be searched to obtain the color card color Ck of the pixel point;
步骤1006:判断Ck是否为白色,如果是则bgColorTable[x][y]=null;否则,bgColorTable[x][y]=Ck;Step 1006: judge whether Ck is white, if so, then bgColorTable[x][y]=null; otherwise, bgColorTable[x][y]=Ck;
步骤1007:判断循环是否结束如否转至步骤1004;否则,转至步骤1008;Step 1007: Judging whether the cycle is over, if not, go to step 1004; otherwise, go to step 1008;
步骤1008:流程结束,bgColorTable为背景墙颜色(色卡)矩阵(即实施例一中的表三所示)。Step 1008: the process ends, bgColorTable is the background wall color (color card) matrix (that is shown in Table 3 in Embodiment 1).
2、投射内容颜色转换及投影流程请参见图11所示,包括:2. Please refer to Figure 11 for the color conversion and projection process of the projected content, including:
步骤1101:获取要投影内容图像内容cBitmap;Step 1101: Obtain cBitmap of the image content to be projected;
步骤1102:进行循检测得到各像素点即将投影内容对应的颜色PC,循环方式如下:Step 1102: Perform loop detection to obtain the color PC corresponding to the content to be projected by each pixel, and the loop method is as follows:
For(x=0;x++;x<图像长度)For(x=0; x++; x<image length)
For(y=0;y++;y<图像高度)For(y=0; y++; y<image height)
内容颜色:PC=cgBitmap[x][y];Content color: PC=cgBitmap[x][y];
步骤1103:获取该像素点的背景颜色:bgCk=bgColorTable[x][y];Step 1103: Obtain the background color of the pixel: bgCk=bgColorTable[x][y];
步骤1104:判断bgCk是否为空,如果是则该像素点的内容不修改,转至步骤1102;否则转至步骤1105;Step 1104: judge whether bgCk is empty, if yes, the content of the pixel point is not modified, and go to step 1102; otherwise, go to step 1105;
步骤1105:根据bgCK(背景颜色)、PC(前景颜色)从色卡转换表ColorTransformTable得到修正后的颜色Z:ColorTransformTable[bgCk[[Ck],修改内容:Step 1105: According to bgCK (background color) and PC (foreground color), the corrected color Z is obtained from the color card conversion table ColorTransformTable: ColorTransformTable[bgCk[[Ck], modify the content:
cBitmap[x][y]=ColorTransformTable[bgCk[[Ck]cBitmap[x][y]=ColorTransformTable[bgCk[[Ck]
步骤1106:判断循环是否结束,如果没有则转至步骤1102;否则转至步骤1107;Step 1106: judge whether the loop is over, if not, go to step 1102; otherwise, go to step 1107;
步骤1107:针对这些非标准颜色像素点投影转换后的内容:cBitmap。Step 1107: For these non-standard color pixels, project the converted content: cBitmap.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.
Claims (11)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510009605.1A CN105825796A (en) | 2015-01-08 | 2015-01-08 | Projection control method, projection control device and projection device |
PCT/CN2015/075350 WO2016110008A1 (en) | 2015-01-08 | 2015-03-30 | Method and device for projection control, projection device, and storage medium |
PCT/CN2015/086275 WO2016110094A1 (en) | 2015-01-08 | 2015-08-06 | Method and device for projection control and projection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510009605.1A CN105825796A (en) | 2015-01-08 | 2015-01-08 | Projection control method, projection control device and projection device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105825796A true CN105825796A (en) | 2016-08-03 |
Family
ID=56355446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510009605.1A Withdrawn CN105825796A (en) | 2015-01-08 | 2015-01-08 | Projection control method, projection control device and projection device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105825796A (en) |
WO (2) | WO2016110008A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791749A (en) * | 2017-02-09 | 2017-05-31 | 微鲸科技有限公司 | Color correction method for projection picture and projector |
CN107613049A (en) * | 2017-08-31 | 2018-01-19 | 河南首弘电子科技有限公司 | A kind of projection mobile phone and method for controlling projection of adjustable projected background color |
WO2019010917A1 (en) * | 2017-07-12 | 2019-01-17 | 上海斐讯数据通信技术有限公司 | Method and system for color calibration of projection image |
CN111510693A (en) * | 2019-01-30 | 2020-08-07 | 中强光电股份有限公司 | Projection system and image color correction method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110611801B (en) * | 2019-10-08 | 2021-08-20 | 歌尔光学科技有限公司 | Method, device, readable storage medium and projector for detecting contamination of projection module |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1890987A (en) * | 2003-12-10 | 2007-01-03 | 日本电气株式会社 | Projector color correcting method |
CN102316295A (en) * | 2010-07-08 | 2012-01-11 | 鸿富锦精密工业(深圳)有限公司 | Projector, and correction device and correction method thereof |
CN102547306A (en) * | 2012-03-14 | 2012-07-04 | 海信集团有限公司 | Projector and method for correcting colors of projected image of projector |
US20130113975A1 (en) * | 2011-11-04 | 2013-05-09 | Peter Gabris | Projector Image Correction Method and System |
CN103179362A (en) * | 2011-12-23 | 2013-06-26 | 联想(北京)有限公司 | Projection method and device |
CN103702095A (en) * | 2013-12-24 | 2014-04-02 | 北京淳中视讯科技有限公司 | Color gamut correction method, device and system of image fusion process |
US20140111492A1 (en) * | 2012-10-19 | 2014-04-24 | Hon Hai Precision Industry Co., Ltd. | Electronic device with micro-projector and projecting method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3707350B2 (en) * | 2000-05-08 | 2005-10-19 | セイコーエプソン株式会社 | Image display system, projector, image processing method, and information storage medium |
JP2006109380A (en) * | 2004-10-08 | 2006-04-20 | Sharp Corp | Projection image color adjusting method and projector |
JP4539886B2 (en) * | 2007-08-20 | 2010-09-08 | セイコーエプソン株式会社 | Image processing system, projector, program, and information storage medium |
CN101976012B (en) * | 2010-09-16 | 2012-06-06 | 青岛海信电器股份有限公司 | Method and device for regulating brightness of light source as well as laser projection equipment |
CN103777438A (en) * | 2012-10-19 | 2014-05-07 | 国基电子(上海)有限公司 | Mobile terminal with miniature projector and projection method |
CN103108147B (en) * | 2013-02-05 | 2016-01-06 | 深圳市中科睿成智能科技有限公司 | A kind of system and method for writings and image Projection Display |
-
2015
- 2015-01-08 CN CN201510009605.1A patent/CN105825796A/en not_active Withdrawn
- 2015-03-30 WO PCT/CN2015/075350 patent/WO2016110008A1/en active Application Filing
- 2015-08-06 WO PCT/CN2015/086275 patent/WO2016110094A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1890987A (en) * | 2003-12-10 | 2007-01-03 | 日本电气株式会社 | Projector color correcting method |
CN102316295A (en) * | 2010-07-08 | 2012-01-11 | 鸿富锦精密工业(深圳)有限公司 | Projector, and correction device and correction method thereof |
US20130113975A1 (en) * | 2011-11-04 | 2013-05-09 | Peter Gabris | Projector Image Correction Method and System |
CN103179362A (en) * | 2011-12-23 | 2013-06-26 | 联想(北京)有限公司 | Projection method and device |
CN102547306A (en) * | 2012-03-14 | 2012-07-04 | 海信集团有限公司 | Projector and method for correcting colors of projected image of projector |
US20140111492A1 (en) * | 2012-10-19 | 2014-04-24 | Hon Hai Precision Industry Co., Ltd. | Electronic device with micro-projector and projecting method |
CN103702095A (en) * | 2013-12-24 | 2014-04-02 | 北京淳中视讯科技有限公司 | Color gamut correction method, device and system of image fusion process |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791749A (en) * | 2017-02-09 | 2017-05-31 | 微鲸科技有限公司 | Color correction method for projection picture and projector |
WO2019010917A1 (en) * | 2017-07-12 | 2019-01-17 | 上海斐讯数据通信技术有限公司 | Method and system for color calibration of projection image |
CN107613049A (en) * | 2017-08-31 | 2018-01-19 | 河南首弘电子科技有限公司 | A kind of projection mobile phone and method for controlling projection of adjustable projected background color |
CN111510693A (en) * | 2019-01-30 | 2020-08-07 | 中强光电股份有限公司 | Projection system and image color correction method |
Also Published As
Publication number | Publication date |
---|---|
WO2016110008A1 (en) | 2016-07-14 |
WO2016110094A1 (en) | 2016-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8605106B2 (en) | Projector and color improvement method of the projector | |
KR102555953B1 (en) | Electronic apparatus, display apparatus and control method thereof | |
CN105825796A (en) | Projection control method, projection control device and projection device | |
CN106559657B (en) | Method, control device and the system of tiled display are carried out using multiple projection screens | |
CN101674443B (en) | A method for color correction of a projector | |
US20170301275A1 (en) | Display devices capable of adjusting the display color gamut and methods of adjusting the color gamut thereof | |
US9558541B2 (en) | Method of correcting image overlap area, recording medium, and execution apparatus | |
CN106534820B (en) | A kind of multihead display color calibrating method and system | |
KR102259693B1 (en) | Transparent display apparatus and display method thereof | |
US9036086B2 (en) | Display device illumination | |
CN106791737A (en) | The color calibration method and device of projected picture | |
CN105976743B (en) | A kind of display screen of included display calibration function | |
US10354428B2 (en) | Display device and method of controlling display device | |
CN103916597A (en) | Shooting method based on simulated scenario | |
CN108737806A (en) | A kind of projecting apparatus color correcting method and device, computer storage media | |
CN105446692A (en) | Seam compensation method and device of spliced screen | |
JP2013537644A (en) | Character display method and apparatus | |
CN105306852A (en) | Multi-projector stitching fusion method for high-quality visual effect | |
CN104714769B (en) | data processing method and electronic equipment | |
CN104394391A (en) | Method and system for processing image data of dot matrix images acquired by camera | |
US8201950B2 (en) | Camera-based registration for projector display systems | |
US20240040077A1 (en) | Image output apparatus including a plurality of projection parts and control method thereof | |
CN107295322A (en) | Method and system for color correction of video images | |
TW201604811A (en) | Selection method of projector and inquiry system | |
CN111083460A (en) | Illuminance testing method, device, equipment and medium based on ultra-short focus projection module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160803 |
|
WW01 | Invention patent application withdrawn after publication |