Summary of the invention
In order to overcome above-mentioned technical problem, the present invention provide a kind of according to display background carry out the method that projects and
System, can project automatically according to display background, is effectively improved the visibility of project content.
In order to realize above-mentioned technical purpose, the invention provides a kind of method carrying out according to display background and projecting,
The method is used for projection arrangement, and the method includes: step one, captures the background video of viewing area;Step
Two, analyze the color of this background video;Step 3, when color and the color of project content of this background video
During for Similar colour, adjusting this project content according to the color of this background video, wherein, described Similar colour is main
The color that color range is identical, adjusting this project content is, adjusts color range trichroism for RGB in this project content, or/
With, adjust the ratio of figure in this project content;Step 4, the project content after adjusting is projected on this and shows
Show region.
It is also preferred that the left carry out, in the method projected, adjusting RGB in this project content according to display background described
Trichroism color range step is that the color range keeping wherein mass-tone rank is constant, adjusts the color range of residue dichromatism.
It is also preferred that the left carry out in the method projected described according to display background, in this project content, figure is
Word, in step 3, is adjusted to runic by word.
It is also preferred that the left carry out in the method projected described according to display background, this step 3 also includes,
Setting up background color in this project content, this background color is different from the color of this background video.
It is also preferred that the left carry out in the method projected according to display background described, the method also includes, should
Project content after adjustment projects in the way of the moon is carved.
It is also preferred that the left carry out in the method projected described according to display background, this viewing area is transparent screen,
This background video is the image through this transparent screen.
It is also preferred that the left carry out in the method projected described according to display background, this step 4 also includes this
Project content after adjustment is amplified projection.
Present invention also offers a kind of system carrying out according to display background and projecting, this system includes: image is adopted
Collection unit, image process unit and projection arrangement.Image collection unit captures the background video of this viewing area;
Image process unit analyzes the color of this background video;Wherein, when color and the project content of this background video
Color when being Similar colour, this image process unit adjusts this project content according to the color of this background video,
Wherein, described Similar colour is the color that mass-tone rank are identical, and adjusting this project content is to adjust this project content
The color range that middle RGB is trichroism, or/and, adjust the ratio of figure in this project content;Projection arrangement is by this adjustment
After project content be projected on this viewing area.
It is also preferred that the left carry out in the system projected described according to display background, in this project content, figure is
Word, this article word is adjusted to runic by this image process unit.
It is also preferred that the left carry out in the system projected described according to display background, this system is used for car-mounted device,
This viewing area is transparent screen, and this background video is the image through this transparent screen.
Compared with prior art, the present invention, by gathering the background video of viewing area, analyzes this background video
Color, and adjust color range trichroism for RGB in project content according to the color of background video, with background face
Form and aspect are distinguished, or, the ratio of the figure in adjustment project content, to highlight the figure in project content
Shape, reduces the background color interference to project content.Thus effectively raise the visibility of project content.
Detailed description of the invention
For making the purpose of the present invention, structure, feature and function thereof are had further understanding, hereby coordinate reality
Execute example and describe in detail as follows.
As it is shown in figure 1, carry out the method flow diagram projected according to display background for a preferred embodiment of the present invention,
The method is used for projection arrangement, and the most described projection arrangement is the head-up display device in car-mounted device.Work as throwing
The viewing area that image device to be projected has a color, and this color and the be intended to project content of this scialyscope
When color is same or similar, it is easy to make user need not see project content, thus greatly reduce throwing
The suitability of image device.When the viewing area especially to be projected is transparent screen, such as viewing area is vehicle-mounted
Glass, the glass of individual's Wearable helmet or glasses etc. in device, the background color of described viewing area
Can change along with the background through transparent screen.Such as this viewing area is the glass of the transparent part for front sight of car-mounted device,
Just this automobile is through green lawn, and now the background color of viewing area is green, and the display dress that comes back
Put the color of be intended to project content also for green, then user is difficult to the project content that offers a clear explanation.This
Invention the method, by detecting the background color of viewing area, is automatically adjusted be intended to project content.So that
Described project content is prone to user and makes a distinction, the impact on project content of the color of reduction background, and adjusts
User will not be caused serious viewing sense of discomfort by the project content after whole.Refer to shown in Fig. 1, the method
Including:
Step S101, captures the background video of viewing area.The direction pair i.e. to be projected along this projection arrangement
The background video of viewing area is acquired.When described viewing area is transparent screen, the background now captured
Image, for the background video through this transparent screen.In this step S101, the background image of viewing area can
It is acquired by existing general photographic head.Such as new line during this projection arrangement is car-mounted device shows
Showing device, this head-up display device can project on the transparent part for front sight glass of automobile.By arranging photographic head
Identical with the projecting direction of this this projection arrangement, the background shadow through this glass can be obtained by this photographic head
Picture.
Step S102, analyzes the color of this background video.This viewing area is obtained by above-mentioned steps S101
After background video, the color of this background video is analyzed.The color of this background video may not be single
One color, then the color of dominant hue in this background video can be chosen and be analyzed.By by this background video
Color be analyzed with RGB color synopsis, thus trichroism to determine the RGB of this background color
Color range value.Such as, this background color is light green color, then the color range value trichroism for RGB of this background color is
204/255/204 (color range value scope is 0~255).
Step S103, when the color of this background video and the color of project content are Similar colour, according to this back of the body
The color of scape image adjusts this project content, and wherein, described Similar colour is the color that mass-tone rank are identical, adjusts
This project content is, adjusts color range trichroism for RGB in this project content, or/and, adjust in this project content
The ratio of figure.
After above-mentioned steps S102 determines the color range value trichroism for RGB of background color, by project content
Color contrast with this background color.If the mass-tone rank of background color and the mass-tone of project content color
Rank are identical, when i.e. the color of background color and project content is Similar colour, just enter the color of this project content
Row sum-equal matrix.Such as, the color range value trichroism for RGB of this background color is 64/255/64, the face of this project content
The color range trichroism for RGB of color is 200/255/100.So mass-tone of the color of this background color and project content
Rank are all green, i.e. the color of this background color and project content is all the color of green system.
It addition, describe the Similar colour in the present invention also by hue circle.In hue circle as shown in Figure 2,
Form and aspect are divided into the color of 12 sections.One form and aspect of each zone id.Hue circle comprises to be divided into 12
The color that the mode of individual section configures.The quantity of the section constituting hue circle is not limited to 12, such as may be used
Thinking 8,24 etc., dividing method is not fixing.Original hue circle is exactly by continually varying form and aspect
It is configured to ring-type figure, it is not absolutely required to be divided into section.Now, Similar colour is defined.Due to
For Similar colour is with sensation.So be difficult to determine without exception.Certainly, it should be noted that human eye for
The sensitivity of different colours is also not quite similar, and such as human eye is more sensitive to green.Meanwhile, though identical
Color, the sensation of different people is also not quite similar, and therefore the criterion of Similar colour also varies with each individual.But,
Here, for certain color in hue circle, this color will be comprised and using this color as the central angle at center be
The fan-shaped arc part of 30 degree, as the Similar colour being this color.Such as, district in hue circle as shown in Figure 2
Territory 1, this region 1 is 30 degree and with on the central shaft of region 1 by the center angle between dotted line 201 and 202
Color 1 centered by the region that surrounds as the Similar colour of this color 1.If it exceeds this scope, then it is assumed that
It it not Similar colour.As long as the center angle that i.e. two kinds colors are in this hue circle is within 30 degree, i.e. think this
Two kinds of colors are Similar colour.If it addition, the center angle that two kinds of colors are in hue circle be 180 degree right
Vertical, then these two kinds of colors are complementary color.
After the color of color Yu project content through judging this background video is Similar colour, as shown in Figure 3 a,
For the schematic diagram before the adjustment of this project content.As a example by the present embodiment head-up display device in car-mounted device.
This head-up display device carries out Projection Display on the transparent part for front sight glass 301 of this car.Due to viewing area 302
For transparent screen, the scene of transparent screen back will pass through this transparent screen.If the most directly project content 304
Viewing area 302 is projected to, then project content 304 and 305 is just flooded by background color 303 with 305,
And make observer not see Chu, so that this project content 304 and 305 is adjusted.At this
In bright method, can be by adjusting RGB(red-green-blue in project content 304 and 305) trichroism color range,
So that this project content 304 and 305 is different from background color 303.Adjusting project content 304 and 305
Trichroism for RGB color range time, for the ease of regulation, the color range that can keep of the same colour in RGB three primary colours is constant,
Adjust with the color realizing project content 304 and 305 by regulating two other color.Such as, background shadow
The mass-tone rank of the color 303 of picture and the color of project content 304 and 305 are all G (green) colors, in keeping projection
The G color range held is constant, adjusts the color range of R, B dichromatism, so that the color of this project content 304 and 305
It is different from background color 303.As shown in Figure 3 b, the schematic diagram after regulating for this project content.By to throwing
The color of shadow content 304 and 305 is adjusted, so that the project content 304 ' and 305 ' after Tiao Zhenging
Color different with the color that front environment is transmitted through transparent screen, can highlight be intended to project content 304 ' and
305 ', cause human eye easily to differentiate reading institute project content 304 ' and 305 '.And the color of project content
Can change with the change of front environmental colors at any time, thus can automatically adjust what head-up display device to be projected
Show Color.
It should be noted that the adjustment of this project content color, should be in the way of the most significantly changing color-gamut
It is adjusted.Such as: redness changes reddish violet or orange into, and green changes dark green into.And be not by this
The color of project content is adjusted to the complementary color of background color.The adjustment of this project content color be so that
Watch as long as project content is easier to user, and be not intended to make project content be formed with background color
Powerful contrast.
It is true that project content to be adjusted to the complementary color of background color, instead make user have when watching
The strongest sense of discomfort.Even some has the complementary color of certain sense color, it is easy to cause user to drive
When sailing, the project content presented is produced on judging doubt, such as: red complementary color is dark green, and
Green complementary color is reddish violet, and these colors all can cause visual impact too big to beholder, and produces puzzlement.
If during it addition, the simple complementary color with background color is the color showing project content, some color is at some
It is difficult to read, such as: livid purple color or yellow green relative to beholder under situation.
It addition, also can set up background color further in project content, this background color is different from this background color, with
Background color is played certain effect blocking counteracting, thus the color of this project content allows user watch
Get up more comfortable nature.
In an alternative embodiment of the invention, refer to shown in Fig. 4 a and Fig. 4 b, throw for another embodiment of the present invention
Schematic diagram before and after the adjustment of shadow content.As a example by the present embodiment head-up display device in car-mounted device.This is lifted
Head display device carries out Projection Display on the transparent part for front sight glass 401 of this car.Owing to viewing area 402 is
Bright screen, the scene of transparent screen back will pass through this transparent screen.If the most directly project content 404 He
405 project to viewing area 402, then project content 404 and 405 is just flooded by background color 403,
And make observer not see Chu, so that this project content 404 and 405 is adjusted.In this reality
Execute in example, it is also possible to by adjusting the ratio of figure 405 in this project content, so that this project content is convex
Show in background.I.e. when in background color 403 with project content the color of figure 405 be Similar colour, but background
Color 403 with in project content figure 405 color and incomplete same time, in adjustment projection that can be simple
The ratio of figure 405 in appearance.Such as, in this project content, figure is word 405, although this word
The color of 405 and background color 403 very close to, but incomplete same, then only to need to adjust this word 405
For runic, increase this word displaying ratio, it is possible to make this word be easier to viewing identification.As shown in Figure 4 b,
For the project content schematic diagram after adjusting.Word 405 ' after adjustment is that runic shows, so that after Tiao Zhenging
Word 405 ' is easier to user viewing.I.e. except adjusting the trichroism color range of RGB of project content 404 and 405
Outside color with change project content 404 and 405, in the present embodiment can also be by adjusting project content
The ratio of middle figure 405, to increase the visibility of project content.It addition, also content can will be projected further
Middle figure 405 in the way of the moon quarter (i.e. in project content figure without color, and the blank space of project content
Add color) carry out Projection Display.
It should be noted that during adjustment project content, can be separately through the RGB tri-adjusting project content
The color range of color realizes the adjustment to project content, so that the colouring discrimination of project content is in background color;
Also the adjustment to project content can be realized separately through adjusting the ratio of figure in project content, so that throwing
Shadow content more highlights in background video.It addition, as illustrated in fig. 4 c, it is possible in combination with both modes one
Rise and adjust project content 404 and 405, will the color of project content 404 and 405 be adjusted, will simultaneously
In project content, word 405 is adjusted to runic, and project content 404 ' and the word 405 ' after adjusting enters
Row Projection Display, to realize adjusting project content according to different background environment, so that project content is for seeing
For the person of seeing, visibility is higher.
Step S104, the project content after adjusting is projected on this viewing area.By above-mentioned steps S103 root
After being adjusted project content according to background video, the project content after adjusting carries out Projection Display.Separately
Outward, in order to improve the visibility of project content further, project content also can be amplified display.Will
Projected display region is amplified.So that project content becomes apparent from relative to background, to reduce particular color
The problem being difficult to differentiate.Project content is amplified display can to realize by adjusting the focal length of projection arrangement.
Compared with prior art, the present invention, by gathering the background video of viewing area, analyzes the face of this background video
Color, and adjust color range trichroism for RGB in project content according to the color of background video, with background color phase
Difference, or, the ratio of the figure in adjustment project content, to highlight the figure in project content,
Reduce the background color interference to project content.Thus effectively raise the visibility of project content.
As it is shown in figure 5, be that the system 500 that a preferred embodiment of the present invention carries out projecting according to display background is shown
Being intended to, this system 500 includes: image collection unit 501, image process unit 502 and projection arrangement 503.
This system 500 is for car-mounted device, and this viewing area is transparent screen, and this background video is through this transparent screen
Image.Image collection unit 501 captures the background video of this viewing area, such as this image collection unit
501 is photographic head, by this photographic head along the background video of the acquisition viewing area, direction of projection device.
After image collection unit 501 captures background video, background video is transferred to image process unit 502.Shadow
As processing unit 502 analyzes the color of this background video, image process unit 502 receives background video,
And the color of background video is carried out calculation process, calculate the trichroism color range of RGB of this image color, with
Compare in the color with project content.Wherein, when color and the project content of this background video
When color is Similar colour, this image process unit 502 adjusts this project content according to the color of this background video,
Wherein, described Similar colour is the color that mass-tone rank are identical, and adjusting this project content is to adjust this project content
The color range that middle RGB is trichroism, or/and, adjust the ratio of figure in this project content, such as, this project content
Middle figure is word, and this article word is adjusted to runic by this image process unit.Image process unit 502 is to throwing
After shadow content has adjusted, the project content after adjusting is transferred to projection arrangement 503, and projection arrangement 503 should
Project content after adjustment is projected on this viewing area.This projection arrangement 503 is the most further to the throwing after adjusting
Shadow content is amplified mode and carries out Projection Display, with further such that user person is easy to viewing.
The present invention is been described by by above-mentioned related embodiment, but above-described embodiment is only and implements the present invention's
Example.It must be noted that, the embodiment disclosed is not limiting as the scope of the present invention.On the contrary, not
The change made in departing from the spirit and scope of the present invention and retouching, all belong to the scope of patent protection of the present invention.