CN107205143A - Method and device for adjusting stereo image - Google Patents
Method and device for adjusting stereo image Download PDFInfo
- Publication number
- CN107205143A CN107205143A CN201610153931.4A CN201610153931A CN107205143A CN 107205143 A CN107205143 A CN 107205143A CN 201610153931 A CN201610153931 A CN 201610153931A CN 107205143 A CN107205143 A CN 107205143A
- Authority
- CN
- China
- Prior art keywords
- stereo
- picture
- color
- color range
- adjusted
- 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
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000000694 effects Effects 0.000 claims abstract description 92
- 238000012545 processing Methods 0.000 claims description 24
- 230000008859 change Effects 0.000 claims description 16
- 230000002452 interceptive effect Effects 0.000 claims description 9
- 239000007787 solid Substances 0.000 claims description 8
- 210000001508 eye Anatomy 0.000 description 53
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 6
- 230000006872 improvement Effects 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 230000001186 cumulative effect Effects 0.000 description 4
- 238000009826 distribution Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 210000004556 brain Anatomy 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 241001269238 Data Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 210000005252 bulbus oculi Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention discloses a method and a device for adjusting a three-dimensional image, relates to the technical field of image display, and aims to provide a novel method for adjusting the three-dimensional display effect of the three-dimensional image. In the method for adjusting a stereoscopic image provided by the embodiment of the invention, the stereoscopic image to be adjusted is acquired, whether the stereoscopic image is matched with the stereoscopic display effect requirement is determined, if the stereoscopic image is not matched with the stereoscopic display effect requirement, the color attribute parameters of the stereoscopic image are adjusted, and stereoscopic display is performed according to the stereoscopic image after the color attribute parameters are adjusted. The embodiment of the invention can be used for adjusting the three-dimensional display effect of the 3D image presented to the user.
Description
Technical field
The present invention relates to image display arts, more particularly to a kind of method and device for adjusting stereo-picture.
Background technology
People generally watch object simultaneously by eyes, due to the spacing (about 65mm) of two eyes optical axis,
Left eye and right eye are when seeing the object of certain distance, the gaze angle difference of eyes, received vision figure
Seem different.Because the visual pattern received by right and left eyes is different, brain by the motion of eyeball, adjust
Whole, the information for combining right and left eyes two images is overlapped to image and lived again so that beholder produce it is vertical
Body-sensing.And stereoscopic display device is generally exactly that, using above-mentioned principle, structure is connect by the left eye and right eye of people respectively
The different images with nuance received, when showing 3D rendering using stereoscopic display device, spectators are left
Eye can only receive left-eye image, and right eye can only receive eye image, then subtense angle by people's eyes and
Convergence function, human brain will produce stereoscopic vision to the scene seen.
The stereo display effect of 3D rendering directly affects the viewing impression of user, 3D rendering is presented more preferable
Stereoeffect be always field of stereoscopic display research emphasis.For utilizing the left-eye image being already prepared to
The application scenarios of stereoscopic display are carried out with eye image, for example, 3D films, the film source of 3D films includes
The left-eye image and eye image of each two field picture, in the prior art, in order to adjust the vertical of this application scenarios
Body display effect, can adjust the parallax between left-eye image and eye image, so as to change stereoscopic display effect
Really.
The content of the invention
The embodiment of the present invention provides a kind of method and device for adjusting stereo-picture, provides a kind of new to realize
Adjustment stereo-picture stereo display effect mode purpose.
A kind of method for adjusting stereo-picture provided in an embodiment of the present invention, including:
Obtain stereo-picture to be adjusted;
Determine whether the stereo-picture matches with stereo display effect requirement;
If the stereo-picture requires to mismatch with the stereo display effect, to the color of the stereo-picture
Color property parameters are adjusted;
According to the stereo-picture after adjustment color attribute parameter, stereoscopic display is carried out.
Alternatively, the stereo-picture includes at least one image in left-eye image and eye image.
Alternatively, the color attribute parameter is any of color range, contrast and saturation degree or any group
Close.
Alternatively, in one embodiment of the invention, the color attribute parameter includes color range or contrast;
It is described determine the stereo-picture whether with stereo display effect requirement match including:
Determine the color range higher limit and color range lower limit of each Color Channel of the stereo-picture;
Determine whether the color range higher limit of each Color Channel and the difference of color range lower limit are less than the first setting;
If the color range higher limit of each Color Channel and the difference of color range lower limit are respectively less than first setting,
Then determine that the stereo-picture matches with stereo display effect requirement, conversely, determining the stereogram
As requiring to mismatch with the stereo display effect.
Further, the color attribute parameter includes color range;
The color attribute parameter to the stereo-picture be adjusted including:
The difference of the color range higher limit and the color range lower limit is not less than to the color of first setting
Passage is as Color Channel to be adjusted, according to the color range higher limit and color range lower limit of the Color Channel to be adjusted
Value, the color range to the Color Channel to be adjusted of each pixel of the stereo-picture is adjusted, by color range
Color range less than the Color Channel to be adjusted of the color range lower limit is adjusted to 0, and color range is more than into the color range
The color range of the Color Channel to be adjusted of higher limit is adjusted to 255, according to linearly increasing mode by color range between
The color range of Color Channel to be adjusted between the color range lower limit and color range higher limit be adjusted to 0 to 255 it
Between, so as to change the color range of the stereo-picture.
Further, the color attribute parameter includes contrast;
The color attribute parameter to the stereo-picture be adjusted including:
Determine the stereo-picture each Color Channel color range higher limit in maximum upper limit, it is and described
Smallest limit value in the color range lower limit of each Color Channel of stereo-picture;
According to the maximum upper limit and the smallest limit value, to each face of each pixel of the stereo-picture
The color range of chrominance channel is adjusted, and the color range that color range is less than to the Color Channel of the smallest limit value is adjusted to
0, the color range that color range is more than to the Color Channel to be adjusted of the maximum upper limit is adjusted to 255, according to linear
To be adjusted Color Channel of the increased mode by color range between the smallest limit value and maximum upper limit
Color range be adjusted between 0 to 255, so as to change the contrast of the stereo-picture.
Further, the color range higher limit and color range lower limit of each Color Channel for determining the stereo-picture
Value includes:
Stereo-picture adjusting parameter is obtained, the stereo-picture adjusting parameter includes higher limit adjusting parameter with
Limit value adjusting parameter;
According to the higher limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is 0
Pixel count start the pixel count that adds up upwards, when accumulated value is more than the higher limit adjusting parameter and the solid
During the product of all pixels number of image, color range value now is defined as to the color range upper limit of the Color Channel
Value;And
According to the lower limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is
255 pixel count starts the pixel count that adds up downwards, when accumulated value be more than the lower limit adjusting parameter with it is described
During the product of all pixels number of stereo-picture, color range value now is defined as under the color range of the Color Channel
Limit value.
Alternatively, stereo-picture adjusting parameter is obtained in the embodiment of the present invention includes:
Stereo-picture adjusting parameter is obtained according to pre-setting, or
Receive the stereo-picture adjusting parameter that user is inputted by interactive interface.
Alternatively, in one embodiment of the invention, the color attribute parameter is saturation degree;
It is described determine the stereo-picture whether with stereo display effect requirement match including:
Count the saturation degree component of each pixel of the stereo-picture;
Determine that saturation degree component accounts for total pixel of the stereo-picture less than the pixel count of the first saturation degree threshold value
The first several ratios and saturation degree component account for the stereo-picture higher than the pixel count of the second saturation degree threshold value
Second ratio of total pixel number, the first saturation degree threshold value is less than or equal to the second saturation degree threshold value;
When first ratio is more than the first preset value or is preset when second ratio is more than described second
During value, determine that the stereo-picture requires to mismatch with stereo display effect;Conversely, determining the stereogram
As being matched with stereo display effect requirement;
The color attribute parameter to the stereo-picture be adjusted including:
When first ratio is more than the first preset value, the saturation degree of each pixel of the stereo-picture is improved
Component;
When second ratio is more than second preset value, reduce the stereo-picture each pixel it is full
With degree component.
Alternatively, in one embodiment of the invention, the color attribute parameter is saturation degree;
The color attribute parameter to the stereo-picture be adjusted including:
The saturation degree adjusting parameter for obtaining saturation degree adjusting parameter according to pre-setting or receiving user's input;
The saturation degree component of each pixel of the stereo-picture is set to the saturation degree adjusting parameter and institute
State the product of the original value of saturation degree component.
In the embodiment of the present invention, stereo-picture to be adjusted is obtained, determines whether the stereo-picture is aobvious with solid
Show that effect matches, if stereo-picture requires to mismatch with stereo display effect, to the color of stereo-picture
Property parameters are adjusted, and according to the stereo-picture after adjustment color attribute parameter, carry out stereoscopic display.
The angle of color attribute parameter of the embodiment of the present invention based on stereo-picture, to improve the three-dimensional effect that image is shown
Fruit provides a kind of new method and thinking, and compared to the method for adjusting parallax in the prior art, it is invention
A kind of novel and more easy-to-use method, and can be with adjustment stereoscopic parallax that people has found under study for action
Method be used in combination so that further improving stereo-picture is presented to the stereo display effect of user, because
This, improves the method tool of stereo display effect by adjusting image color property parameters in the embodiment of the present invention
There is very strong practical value.
The method of adjustment stereo-picture provided in an embodiment of the present invention is applicable to 3D films and 3D videos etc. should
With scene, under the application scenarios, the image for corresponding respectively to beholder's left eye and right eye claims left-eye image and the right side
Eye pattern picture has been prepared for completing in advance, for example, have been taken completing, the embodiment of the present invention is by adjusting left eye figure
The color attribute parameter of picture and eye image, to improve the stereo display effect of this application scenarios, and the party
Method is simple and easy to do, with very strong practical value.In addition, color attribute parameter can voluntarily be set by user,
Meet the demand of different user viewing, the more flexible viewing custom for more accurately adapting to different user.
Based on identical inventive concept, the embodiment of the present invention provides a kind of device for adjusting stereo-picture, the dress
Put including:
Acquisition module, the stereo-picture to be adjusted for obtaining;
Processing module, for determining whether the stereo-picture matches with stereo display effect requirement, if
The stereo-picture is required to mismatch with the stereo display effect, and the color attribute of the stereo-picture is joined
Number is adjusted;
Display module, for according to the stereo-picture after adjustment color attribute parameter, carrying out stereoscopic display.
In the above embodiment of the present invention, obtain stereo-picture to be adjusted, determine the stereo-picture whether with
Stereo display effect matches, if stereo-picture requires to mismatch with stereo display effect, to stereo-picture
Color attribute parameter be adjusted, and according to the stereo-picture after adjustment color attribute parameter, carry out three-dimensional
Display.The angle of color attribute parameter of the embodiment of the present invention based on stereo-picture, shows for improvement image
Stereoeffect provide a kind of new method and thinking, compared in the prior art adjust parallax method, its
A kind of novel and more easy-to-use method, and can be vertical with adjustment found under study for action for inventor
Stereoscopic poor method is used in combination, so as to further improve the stereoscopic display effect that stereo-picture is presented to user
Really, therefore, stereo display effect is improved by adjusting image color property parameters in the embodiment of the present invention
Method has very strong practical value.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to embodiment
The accompanying drawing needed to use is briefly introduced, it should be apparent that, drawings in the following description are only the present invention's
Some embodiments, for one of ordinary skill in the art, are not paying the premise of creative labor
Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow signal corresponding to a kind of method for adjusting stereo-picture provided in an embodiment of the present invention
Figure;
Fig. 2 is the schematic flow sheet provided in an embodiment of the present invention for adjusting color range;
Fig. 2 a are original three-dimensional image schematic diagram;
Fig. 2 b are using the stereo-picture schematic diagram after first group of stereo-picture adjusting parameter adjustment;
Fig. 2 c are using the stereo-picture schematic diagram after second group of stereo-picture adjusting parameter adjustment;
Fig. 3 is the schematic flow sheet provided in an embodiment of the present invention for adjusting contrast;
Fig. 4 is the schematic flow sheet provided in an embodiment of the present invention for adjusting saturation degree;
Fig. 5 is a kind of structural representation for the device for adjusting stereo-picture provided in an embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing to this hair
It is bright to be described in further detail, it is clear that described embodiment is only a part of embodiment of the invention,
Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out all other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
For the application scenarios such as 3D films and 3D videos, under the application scenarios, beholder is corresponded respectively to
The image of left eye and right eye claims left-eye image and eye image to have been prepared for completion in advance, for example, had been taken
Into in order to adjust and improve the stereo display effect of this application scenarios, in the prior art, being conventionally
Parallax when carrying out stereoscopic display by changing between left-eye image and eye image, so as to adjust or improve
Stereo display effect.And the present inventor has found in research and test of many times, adjustment left-eye image and
The color attribute parameter of eye image, equally can produce influence to the effect of stereoscopic display.
In view of this, stereo-picture is adjusted the embodiments of the invention provide a kind of novel more easy-to-use
Method, more can significantly change the stereo display effect of stereo-picture.
Fig. 1 is the flow signal corresponding to a kind of method for adjusting stereo-picture provided in an embodiment of the present invention
Figure, as shown in figure 1, this method includes:
Step 101, stereo-picture to be adjusted is obtained.
It should be noted that in the embodiment of the present invention, viewing will be corresponded respectively to for carry out that 3D shows
The image of person's left eye and right eye is referred to as left-eye image and eye image, and in actual applications, such as in 3D
In film source, left-eye image and eye image can be located in a film source, i.e., be integrated with one image
Two images of left-eye image and eye image.The stereo-picture sayed in this step, for carrying out stereoscopic display,
It can be left-eye image or eye image, can also include respectively left-eye image and right eye figure
Two images of picture, naturally it is also possible to be an image for being integrated with left-eye image and eye image.
Step 102, determine whether the stereo-picture matches with stereo display effect requirement;
Step 103, if the stereo-picture requires to mismatch with the stereo display effect, to described vertical
The color attribute parameter of body image is adjusted.
The color attribute parameter that the embodiment of the present invention is sayed, can be times in color range, contrast and saturation degree
A kind of or any combination.
Step 104, according to the stereo-picture after adjustment color attribute parameter, stereoscopic display is carried out.
The embodiment of the present invention improves the three-dimensional effect that image is shown from the angle of stereo-picture color attribute parameter
Really, with the prior art adjusting parallax come entirely different by way of improving stereoeffect.Although color belongs to
Property parameter be widely used in the adjustment of 2D images, but not yet proposed in the prior art by adjustment
Color attribute parameter improves stereo display effect, therefore, color of the embodiment of the present invention based on stereo-picture
The angle of property parameters, the stereo display effect shown to improve image provides a kind of new method and think of
Road.Moreover, by adjusting image color property parameters and combining the method for adjusting parallax in the prior art, energy
It is enough further to improve the stereo display effect that stereo-picture is presented to user.It is provided in an embodiment of the present invention to adjust
The method of whole stereo-picture, improves the method letter of stereo display effect by adjusting image color property parameters
Easy row, with very strong practical value.In addition, further, color attribute parameter can be by user certainly
Row is set, and meets the demand of different user viewing, and the more flexible viewing for more accurately adapting to different user is practised
It is used.
In a step 101, specifically, stereo-picture to be adjusted can be one read from video flowing
Two field picture, the stereo-picture includes at least one image in left-eye image and eye image, the i.e. stereogram
, can also as left-eye image or eye image or one image of left-eye image and eye image can be integrated with
It is two images of left-eye image and eye image respectively.
In the embodiment of the present invention, in concrete application, if stereo-picture to be adjusted includes left-eye image and right eye
During two images of image difference, in a step 102, left-eye image can be determined respectively in the same way
Whether match with stereo display effect requirement with eye image, and when mismatching, can be identical by adjusting
Color attribute parameter left-eye image and eye image are adjusted respectively.And for left-eye image and right eye
Image is integrated in for the stereo-picture on an image, then can be carried out for image matching judgment and
The modification of color attribute parameter, without distinguishing left-eye image and eye image, so as to ensure left-eye image
The uniformity adjusted with eye image, to realize preferable stereoeffect.
In the embodiment of the present invention, what stereo display effect requirement can pre-set for those skilled in the art,
It can also be determined by user's subjectivity.Correspondingly, in a step 102, determine whether stereo-picture is aobvious with solid
Show that effect requirements match, can be the automatic progress matching detection during display, or Yong Hutong
The image for crossing observation display carries out the judgement of subjectivity.For example, stereo-picture is got in step 101
Afterwards, it is possible to use the stereo-picture carries out stereoscopic display, user checks the stereoscopic display of the stereo-picture of display
Effect, according to the level of comfort of eyes, whether the sensory experience such as distortion factor of picture material judges stereo-picture
Effect requirements are met, if be unsatisfactory for, following step are performed, the color attribute of stereo-picture is joined
Number is adjusted.In addition, in another specific implementation, stereo display effect requirement can be preset,
Then according to stereo-picture and default requirement, judged, judge whether stereo-picture meets requirement, if
It is unsatisfactory for, then adjusts the color attribute parameter of stereo-picture.
Wherein, the color attribute parameter of stereo-picture can be any of color range, contrast and saturation degree
Or any combination, you can it is adjusted with one of parameter to stereo-picture, can also be to stereo-picture
Plurality of parameter be adjusted.
So that color attribute parameter is color range or contrast as an example, in step 102, determine that the stereo-picture is
It is no to match and include with stereo display effect requirement:
Determine the color range higher limit and color range lower limit of each Color Channel of the stereo-picture;
Determine whether the color range higher limit of each Color Channel and the difference of color range lower limit are less than the first setting;
If the color range higher limit of each Color Channel and the difference of color range lower limit are respectively less than first setting,
Then determine that the stereo-picture matches with stereo display effect requirement, conversely, determining the stereogram
As requiring to mismatch with the stereo display effect.
Wherein, the first setting can be set in advance, for example, can be the value between 0 or 0 to 50,
Those skilled in the art can rationally be set.
Specifically, color range higher limit and color range lower limit can be pre-set, for example, by a large amount of
Obtained empirical value is tested, can also be determined in the following manner:
Stereo-picture adjusting parameter is obtained, the stereo-picture adjusting parameter includes higher limit adjusting parameter with
Limit value adjusting parameter;
According to the higher limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is 0
The pixel count (i.e. the quantity for the pixel that color range is zero) of (i.e. pixel value is 0) starts cumulative pixel count upwards,
When accumulated value is more than the higher limit adjusting parameter and the product of all pixels number of the stereo-picture, by this
When color range value be defined as the color range higher limit of the Color Channel;According to the lower limit adjusting parameter, from
The color range of the Color Channel of the pixel of the stereo-picture starts the pixel count that adds up downwards for 255 pixel count,
When accumulated value is more than the lower limit adjusting parameter and the product of all pixels number of the stereo-picture, by this
When color range value be defined as the color range lower limit of the Color Channel.
Wherein, stereo-picture adjusting parameter can pre-set for those skilled in the art, such as by multiple
Empirical value obtained from experiment, or the numerical value that user is inputted by interactive interface, you can think user
There is provided and input field is set on interactive interface, interface, user can input the numerical value of stereo-picture adjusting parameter.
Specifically, when it is determined that stereo-picture is mismatched with stereo display effect, the color of stereo-picture will be adjusted
Rank or contrast.If adjusting in color range, step 102, to the color attribute parameter of the stereo-picture
Be adjusted including:
The difference of the color range higher limit and the color range lower limit is not less than to the color of first setting
Passage is as Color Channel to be adjusted, according to the color range higher limit and color range lower limit of the Color Channel to be adjusted
Value, the color range to the Color Channel to be adjusted of each pixel of the stereo-picture is adjusted, by color range
Color range less than the Color Channel to be adjusted of the color range lower limit is adjusted to 0, and color range is more than into the color range
The color range of the Color Channel to be adjusted of higher limit is adjusted to 255, according to linearly increasing mode by color range between
The color range of Color Channel to be adjusted between the color range lower limit and color range higher limit be adjusted to 0 to 255 it
Between, so as to change the color range of the stereo-picture.
By taking green channel as an example, it is assumed that the smallest limit value of the green channel of the pixel of stereo-picture is 80, most
Big higher limit is 200, then the color range adjustment to the image is as follows:
Assuming that current color range value is expressed as v before not adjusting;
Color range value after adjustment is expressed as v_new;
For the color range value of the green channel of each pixel;
If v<80;Then v_new=0;
If v>200;Then v_new=255;
If 80<=v<=200;
Then v_new=(v-80) * (255-0)/(200-80).
If adjusting in contrast, step 102, the color attribute parameter to the stereo-picture is adjusted
Including:
Determine the stereo-picture each Color Channel color range higher limit in maximum upper limit, it is and described
Smallest limit value in the color range lower limit of each Color Channel of stereo-picture;
According to the maximum upper limit and the smallest limit value, to each face of each pixel of the stereo-picture
The color range of chrominance channel is adjusted, and the color range that color range is less than to the Color Channel of the smallest limit value is adjusted to
0, the color range that color range is more than to the Color Channel to be adjusted of the maximum upper limit is adjusted to 255, according to linear
To be adjusted Color Channel of the increased mode by color range between the smallest limit value and maximum upper limit
Color range be adjusted between 0 to 255, so as to change the contrast of the stereo-picture.
Wherein, linearly increasing mode is not being repeated here referring to the adjustment mode of foregoing color range.
So that color attribute parameter is saturation degree as an example, in step 102, determine the stereo-picture whether with standing
The requirement of body display effect matches and can included:
Count the saturation degree component of each pixel of the stereo-picture;
Determine that saturation degree component accounts for total pixel of the stereo-picture less than the pixel count of the first saturation degree threshold value
The first several ratios and saturation degree component account for the stereo-picture higher than the pixel count of the second saturation degree threshold value
Second ratio of total pixel number, the first saturation degree threshold value is less than or equal to the second saturation degree threshold value;
When first ratio is more than the first preset value or is preset when second ratio is more than described second
During value, determine that the stereo-picture requires to mismatch with stereo display effect;Conversely, determining the stereogram
As being matched with stereo display effect requirement.
Wherein, the first saturation degree threshold value and the second saturation degree threshold value can be set in advance or use
What family was manually entered.
Now, the color attribute parameter of the stereo-picture is adjusted and can included in step 102:
When first ratio is more than the first preset value, the saturation degree of each pixel of the stereo-picture is improved
Component;
When second ratio is more than second preset value, reduce the stereo-picture each pixel it is full
With degree component.
Further, in step 102, the color attribute parameter to the stereo-picture is adjusted bag
Include:
Saturation degree adjusting parameter is obtained, specifically saturation degree adjusting parameter or reception can be obtained according to pre-setting
The saturation degree adjusting parameter of user's input;
The saturation degree component of each pixel of the stereo-picture is set to the saturation degree adjusting parameter and institute
The product of the original value of saturation degree component is stated, so as to change the saturation degree of stereo-picture.
After being adjusted to the color attribute parameter of stereo-picture, in step 103, after adjustment
Stereo-picture carries out stereoscopic display, and this step is existing known technology, and left-eye image is sent into user's left eye,
Eye image is sent into user's right eye, repeated no more here.
It is separately below color range, contrast and saturation degree for color attribute parameter, the embodiment of the present invention is carried
It is specifically described for the method for adjusting stereo-picture.
(1) in the present embodiment, color attribute parameter is color range, and stereo-picture to be adjusted is to be integrated with a left side
One image of two images of eye pattern picture and eye image, reference can be made to Fig. 2 a to 2c.
As shown in Fig. 2 the method flow of the adjustment stereo-picture of the present embodiment includes:
Step 201, acquisition stereo-picture to be adjusted and stereo-picture adjusting parameter, stereo-picture adjustment
Parameter includes higher limit adjusting parameter and lower limit adjusting parameter;
The stereo-picture adjusting parameter can pre-set for those skilled in the art, such as by test of many times
Obtained from empirical value, or the numerical value that user is inputted by interactive interface, you can to provide the user
Input field is set on interactive interface, interface, and user can input the numerical value of stereo-picture adjusting parameter.Empirical value
It can be got by great amount of samples test, most of normal image can be applied to, if user has enough
Color adjustment experience, and when having specific demand, adjusting parameter also can be voluntarily set.
Assuming that higher limit adjusting parameter and lower limit adjusting parameter are respectively sLowCut, sHightCut.
Step 202, the color range distribution of stereo-picture is calculated, each Color Channel of the pixel of stereo-picture is determined
Color range higher limit and color range lower limit.
By taking blue channel as an example, the color range upper limit value M axBlue and color range lower limit of blue channel are calculated
MinBlue, specifically, from pixel count that the color range of blue channel is 0 (i.e. pixel value is 0), (color range is
The quantity of 0 pixel) start the pixel that cumulative pixel count, i.e. color range are 0 upwards pixel count+color range is 1
Number+color range for 2 pixel count ... by that analogy, when accumulated value is more than all of sLowCut* stereo-pictures
During number of pixels, color range value now is calculated as blue channel upper limit value M inBlue, for example, stereo-picture
Pixel count is 1024*768, when accumulated value is more than sLowCut*1024*768, the color range being currently added to
For 100, that is just calculated as MinBlue by 100;Since the pixel count of the color range of blue channel for 255 to
Cumulative pixel count, i.e. color range are the pixel that pixel count+color range that 255 pixel counts+color range is 254 is 253 down
By that analogy, if accumulated value is more than sHightCut* all pixels, color range value now is calculated as number ...
Blue channel lower limit MaxBlue.Similarly, obtain under red channel upper limit value M axRed and red channel
Limit value MinRed;Similarly, green channel upper limit value M axGreen and green channel lower limit are obtained
MinGreen。
Step 203, judge whether the color range higher limit of each Color Channel and the difference of color range lower limit are less than the
One setting;If so, step 205 is then performed, if it is not, then performing step 204.
For example, the first setting can be 0-10.This step, that is, determine color range higher limit and color range lower limit
Whether relatively, it is close to represent color range distribution than more uniform, then step 204 is performed, and both differ
It is larger, that is, color range skewness is represented, then performs step 205.Inventor has found under study for action, in color
Rank distribution is than in the case of more uniform, stereo display effect is preferable.
If the color range higher limit of each Color Channel and the difference of color range lower limit are respectively less than first setting,
Without being adjusted to stereo-picture to be adjusted, directly export, if in the presence of at least one Color Channel
The difference of color range higher limit and color range lower limit is not less than the first setting, then needs the color range to stereo-picture
It is adjusted, stereo-picture is exported after adjustment.
Step 204, if the difference for the color range higher limit and color range lower limit that there is any Color Channel is not less than
The difference of color range higher limit and color range lower limit, then be not less than the Color Channel of the first setting by the first setting
It is used as Color Channel to be adjusted.According to the color range higher limit and color range lower limit of Color Channel to be adjusted, opposition
The color range of the Color Channel to be adjusted of each pixel of body image is adjusted, and color range is less than into color range lower limit
The color range of Color Channel to be adjusted is adjusted to 0, and color range is more than to the Color Channel to be adjusted of color range higher limit
Color range is adjusted to 255, according to linearly increasing mode by color range between color range lower limit and color range higher limit it
Between the color range of Color Channel to be adjusted be adjusted between 0 to 255, so as to change the color range of stereo-picture.
Step 205, stereo-picture is exported, stereoscopic display is carried out.
With reference to Fig. 2 a-2c to being sent out using stereo-picture before and after method of adjustment adjustment color range in the embodiment of the present invention
Raw change is illustrated.Wherein, Fig. 2 a are original image schematic diagram, and Fig. 2 b are three-dimensional using first group
Image schematic diagram after image adjustment parameter adjustment, Fig. 2 c are to be adjusted using second group of stereo-picture adjusting parameter
Image schematic diagram after whole.
As shown in Figure 2 a, the stereo display effect of original image is not more obvious.Using first group of stereogram
As adjusting parameter:After sLowCut=0.0015, sHighCut=0.0011 are adjusted, obtain shown in Fig. 2 b
Stereo-picture, carry out stereoscopic display using the image, the stereo display effect of the image slightly has improvement.With
Afterwards, using second group of stereo-picture adjusting parameter:SLowCut=0.1015, sHighCut=0.0011 are carried out
Adjustment, obtains the image shown in Fig. 2 c, and stereoscopic display, the stereoscopic display of the image are carried out using the image
Effect improves significantly.
Thus illustrate, by setting suitable stereo-picture adjusting parameter to adjust stereo-picture to be adjusted, i.e.,
The color range of stereo-picture is adjusted, the improvement of the stereo display effect of image can be realized.
(2) in the present embodiment, color attribute parameter is contrast, and stereo-picture to be adjusted is to be integrated with
One image of two images of left-eye image and eye image, reference can be made to Fig. 2 a to 2c.
In the embodiment of the present invention, when color attribute parameter is contrast, during with color attribute parameter for color range
Whether the determination stereo-picture used is identical with the method that stereo display effect requirement matches.
Specifically, as shown in figure 3, color attribute parameter be contrast in the case of, the tune of the present embodiment
The method flow of whole stereo-picture includes:
Step 301, acquisition stereo-picture to be adjusted and stereo-picture adjusting parameter, stereo-picture adjustment
Parameter includes higher limit adjusting parameter and lower limit adjusting parameter;For example, higher limit adjusting parameter and lower limit
Adjusting parameter is respectively dLowCut, dHightCut.
Step 302, the color range distribution of stereo-picture is calculated, the color range of each Color Channel of stereo-picture is determined
Higher limit and color range lower limit.
By taking blue channel as an example, the color range upper limit value M axBlue and color range lower limit of blue channel are calculated
MinBlue, specifically, from pixel count that the color range of blue channel is 0 (i.e. pixel value is 0), (color range is
The quantity of 0 pixel) start the pixel that cumulative pixel count, i.e. color range are 0 upwards pixel count+color range is 1
Number+color range for 2 pixel count ... by that analogy, when accumulated value be more than dLowCut* all pixels numbers when,
Color range value now is calculated as blue channel upper limit value M inBlue;The picture for being 255 from the color range of blue channel
Prime number start to add up downwards pixel count, i.e. color range is that pixel count+color range that 255 pixel counts+color range is 254 is
253 pixel count ... by that analogy, if accumulated value is more than dHightCut* all pixels, by now
Color range value is calculated as blue channel lower limit MaxBlue.Similarly, obtain red channel upper limit value M axRed with
Red channel lower limit MinRed;Similarly, obtain under green channel upper limit value M axGreen and green channel
Limit value MinGreen.
Step 303, judge whether the color range higher limit of each Color Channel and the difference of color range lower limit are less than the
One setting;If so, step 305 is then performed, if it is not, then performing step 304.
If the color range higher limit of each Color Channel and the difference of color range lower limit are respectively less than first setting,
Then without being adjusted to stereo-picture to be adjusted, directly export.
Step 304, if the difference for the color range higher limit and color range lower limit that there is any Color Channel is not less than
First setting, it is determined that the maximum upper limit in the color range higher limit of each Color Channel of stereo-picture, with
And the smallest limit value in the color range lower limit of each Color Channel of stereo-picture;According to maximum upper limit and most
Small lower limit, the color range to each Color Channel of each pixel of stereo-picture is adjusted, and color range is less than most
The color range of the Color Channel of small lower limit is adjusted to 0, and the color to be adjusted that color range is more than maximum upper limit is led to
The color range in road is adjusted to 255, according to linearly increasing mode by color range between smallest limit value and maximum upper limit
The color range of Color Channel to be adjusted between value is adjusted between 0 to 255, so as to change the contrast of stereo-picture
Degree.
That is, the minimum M inColor in MinBlue, MinRed and MinGreen is determined, is determined
Maximum MaxColor in MaxBlue, MaxRed and MaxGreen, each face is adjusted according to the two values
The color range of chrominance channel, so as to change the contrast of stereo-picture.By taking blue channel as an example, for less than
MaxColor value, then be adjusted to 0 by the color range of the Color Channel, for the value more than MinColor, then
The color range of the Color Channel is then adjusted to 255;For the value between MinColor and MaxColor,
Serial regulation is then carried out, the color range of the Color Channel is adjusted between 0 to 255.
Step 305, stereo-picture is exported, stereoscopic display is carried out.
By said process, suitable stereo-picture adjusting parameter is set to adjust stereo-picture to be adjusted,
The contrast of stereo-picture is adjusted, the improvement of the stereo display effect of image can be realized.
(3) in the present embodiment, color attribute parameter is saturation degree.
As shown in figure 4, in the case where color attribute parameter is saturation degree, the adjustment stereogram of the present embodiment
The method flow of picture includes:
Step 401, stereo-picture to be adjusted is obtained, and counts the saturation degree point of each pixel of stereo-picture
Amount.
Step 402, determine that saturation degree component is less than the pixel count (quantity of pixel) of the first saturation degree threshold value
The first ratio and saturation degree component for accounting for the total pixel number of stereo-picture are higher than the pixel of the second saturation degree threshold value
Number accounts for the second ratio of the total pixel number of stereo-picture, when the first ratio is more than the first preset value or when second
When ratio is more than the second preset value, determine that stereo-picture requires to mismatch with stereo display effect, and perform step
Rapid 403.
Wherein, the first saturation degree threshold value is less than or equal to the second saturation degree threshold value, the first preset value and second pre-
If the magnitude relationship of value is not limited, it be able to can not also be waited with equal.First saturation degree threshold value and the second saturation degree threshold
What value can be set for set in advance or user input, the first preset value and the second preset value can also be former
What first setting or user's input were set.
Generally, if the first ratio is more than the first preset value, illustrate that stereo-picture is more gloomy, it is necessary to carry
High saturation, and if the second ratio illustrates stereo-picture than sharper, it is necessary to reduce more than the second preset value
Saturation degree.
Step 403, when the first ratio is more than the first preset value, the saturation of each pixel of stereo-picture is improved
Spend component;When the second ratio is more than the second preset value, the saturation degree component of each pixel of stereo-picture is reduced.
Saturation degree component can be improved or reduced according to preset ratio, if effect is dissatisfied, user can select
Continue to adjust, can be according to predetermined manner, such as according to 2 times of preset ratios, 3 according to the selection of user
Times preset ratio continues to improve or reduction saturation degree component.
Step 404, stereo-picture is exported, stereoscopic display is carried out.
By said process, suitable stereo-picture adjusting parameter is set to adjust stereo-picture to be adjusted, i.e.,
The saturation degree of stereo-picture is adjusted, the adjustment and improvement of the stereo display effect of image can be realized.
Alternatively, saturation degree adjusting parameter or it can also be connect according to acquisition is pre-set in the embodiment of the present invention
The saturation degree adjusting parameter of user's input is received, the saturation degree component of each pixel of stereo-picture is set to saturation
Spend adjusting parameter and the product of the original value of saturation degree component.
Certainly, in another embodiment of the present invention, whether user can meet vertical with subjective judgement saturation degree
The requirement of body display effect, then inputs saturation degree adjusting parameter by interactive interface.Receive user's input
After saturation degree adjusting parameter, according to saturation degree adjusting parameter, to the saturation degree component of each pixel of stereo-picture
Be adjusted, will each pixel saturation degree component be revised as former component and saturation degree adjusting parameter product or
With or difference etc..
Certainly, in the embodiment of the present invention, color range, contrast and saturation degree can all carry out above-mentioned adjustment, tool
Body adjustment order is not limited, for example, color range can be adjusted first, then adjusts contrast, final saturation degree,
Saturation degree can also be first adjusted, then adjustment color range and contrast.Or, can also only adjustment color range, right
Than any one in degree and saturation degree or two.
It is further explained below for application of the embodiment of the present invention in three-dimensional video-frequency playout software
It is bright.
The embodiment of the present invention uses the acquiescence stereo-picture adjusting parameter for pre-setting image color attribute, and
Self-defined stereo-picture adjusting parameter interface is supported, three-dimensional video-frequency playout software can provide user interface, by
User voluntarily changes stereo-picture adjusting parameter.
When opening three-dimensional video-frequency playout software, the software can load the stereo-picture set automatically and adjust
Whole parameter:If user's configured stereo-picture adjusting parameter, the stereo-picture set by loading user
Adjusting parameter, if user is not provided with stereo-picture adjusting parameter, is loaded provided in an embodiment of the present invention silent
Recognize stereo-picture adjusting parameter.
When playing stereoscopic video content using the software, the software can provide easy in user interface
Image optimization button:When user clicks on, then image adjust automatically is enabled;When user again taps on
During the button, then image adjust automatically is closed.When image color automatic regulating function is closed, the software is straight
The picture frame of display stereoscopic video content is connect on display screen, the stereo-picture that user is seen is that video is former
Figure.When image color automatic regulating function is opened, the software is read after picture frame from stereoscopic video content,
Do not directly display on screen, but current image frame is carried as the input picture application embodiment of the present invention
The image processing method of confession, and then output image frame is obtained, then output image frame is shown on screen,
The stereo-picture that now user is seen is the video crossed using the method optimization processing in the embodiment of the present invention
Image.When image color automatic regulating function is opened, the software can also provide figure in user interface
As stereo-picture adjusting parameter setting function, user can be during video be played, real time modifying adjustment ginseng
Number, the amended video effect of one side preview, while modification parameter, stands until user obtains satisfied image
Body effect.Before the software is exited, current image stereo-picture adjusting parameter is preserved, so as to opening next time
When use.
In the above embodiment of the present invention, obtain stereo-picture to be adjusted, determine the stereo-picture whether with
Stereo display effect matches, if stereo-picture requires to mismatch with stereo display effect, to stereo-picture
Color attribute parameter be adjusted, and according to the stereo-picture after adjustment color attribute parameter, carry out three-dimensional
Display.The angle of color attribute parameter of the embodiment of the present invention based on stereo-picture, shows for improvement image
Stereoeffect provide a kind of new method and thinking, compared in the prior art adjust parallax method, its
A kind of novel and more easy-to-use method, and can be vertical with adjustment found under study for action for inventor
Stereoscopic poor method is used in combination, so as to further improve the stereoscopic display effect that stereo-picture is presented to user
Really, therefore, stereo display effect is improved by adjusting image color property parameters in the embodiment of the present invention
Method has very strong practical value.
Corresponding with above method embodiment, the embodiment of the present invention also provides a kind of dress for adjusting stereo-picture
Put, the particular content of the device is referred to above method implementation, will not be repeated here.
Fig. 5 is a kind of structural representation for the device for adjusting stereo-picture provided in an embodiment of the present invention, the dress
Put including:
Acquisition module 501, the stereo-picture to be adjusted for obtaining;
Processing module 502, for determining whether the stereo-picture matches with stereo display effect requirement,
If the stereo-picture requires to mismatch with the stereo display effect, the color of the stereo-picture is belonged to
Property parameter is adjusted;
Display module 503, for according to the stereo-picture after adjustment color attribute parameter, carrying out stereoscopic display.
It is preferred that the stereo-picture includes at least one image in left-eye image and eye image.
It is preferred that the color attribute parameter is any of color range, contrast and saturation degree or any group
Close.
It is preferred that the color attribute parameter includes color range or contrast;
The processing module 502 specifically for:
Determine the color range higher limit and color range lower limit of each Color Channel of the stereo-picture;
Determine whether the color range higher limit of each Color Channel and the difference of color range lower limit are less than the first setting;
If the color range higher limit of each Color Channel and the difference of color range lower limit are respectively less than first setting,
Then determine that the stereo-picture matches with stereo display effect requirement, conversely, determining the stereogram
As requiring to mismatch with the stereo display effect.
It is preferred that the color attribute parameter includes color range;
The processing module 502 specifically for:
The difference of the color range higher limit and the color range lower limit is not less than to the color of first setting
Passage is as Color Channel to be adjusted, according to the color range higher limit and color range lower limit of the Color Channel to be adjusted
Value, the color range to the Color Channel to be adjusted of each pixel of the stereo-picture is adjusted, by color range
Color range less than the Color Channel to be adjusted of the color range lower limit is adjusted to 0, and color range is more than into the color range
The color range of the Color Channel to be adjusted of higher limit is adjusted to 255, according to linearly increasing mode by color range between
The color range of Color Channel to be adjusted between the color range lower limit and color range higher limit be adjusted to 0 to 255 it
Between.
It is preferred that the color attribute parameter includes contrast;
The processing module 502 specifically for:
Determine the stereo-picture each Color Channel color range higher limit in maximum upper limit, it is and described
Smallest limit value in the color range lower limit of each Color Channel of stereo-picture;
According to the maximum upper limit and the smallest limit value, to each face of each pixel of the stereo-picture
The color range of chrominance channel is adjusted, and the color range that color range is less than to the Color Channel of the smallest limit value is adjusted to
0, the color range that color range is more than to the Color Channel to be adjusted of the maximum upper limit is adjusted to 255, according to linear
To be adjusted Color Channel of the increased mode by color range between the smallest limit value and maximum upper limit
Color range be adjusted between 0 to 255.
It is preferred that the processing module 502 specifically for:Obtain stereo-picture adjusting parameter, the solid
Image adjustment parameter includes higher limit adjusting parameter and lower limit adjusting parameter;
According to the higher limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is 0
Pixel count start the pixel count that adds up upwards, when accumulated value is more than the higher limit adjusting parameter and the solid
During the product of all pixels number of image, color range value now is defined as to the color range upper limit of the Color Channel
Value;And
According to the lower limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is
255 pixel count starts the pixel count that adds up upwards, when accumulated value be more than the lower limit adjusting parameter with it is described
During the product of all pixels number of stereo-picture, color range value now is defined as under the color range of the Color Channel
Limit value.
It is preferred that the processing module 502 specifically for:
Stereo-picture adjusting parameter is obtained according to pre-setting, or
Receive the stereo-picture adjusting parameter that user is inputted by interactive interface.
It is preferred that the color attribute parameter is saturation degree;
The processing module 502 specifically for:
Count the saturation degree component of each pixel of the stereo-picture;
Determine that saturation degree component accounts for total pixel of the stereo-picture less than the pixel count of the first saturation degree threshold value
The first several ratios and saturation degree component account for the stereo-picture higher than the pixel count of the second saturation degree threshold value
Second ratio of total pixel number, the first saturation degree threshold value is less than or equal to the second saturation degree threshold value;
When first ratio is more than the first preset value or is preset when second ratio is more than described second
During value, determine that the stereo-picture requires to mismatch with stereo display effect;
The processing module 502 specifically for:
When first ratio is more than the first preset value, the saturation degree of each pixel of the stereo-picture is improved
Component;
When second ratio is more than second preset value, reduce the stereo-picture each pixel it is full
With degree component.
It is preferred that the color attribute parameter is saturation degree;
The processing module 502 is specifically in the following manner to the color attribute parameter of the stereo-picture
It is adjusted:
The saturation degree adjusting parameter for obtaining saturation degree adjusting parameter according to pre-setting or receiving user's input;
The saturation degree component of each pixel of the stereo-picture is set to the saturation degree adjusting parameter and institute
State the product of the original value of saturation degree component.
It can be seen from the above:
In the embodiment of the present invention, stereo-picture to be adjusted is obtained, determines whether the stereo-picture is aobvious with solid
Show that effect matches, if stereo-picture requires to mismatch with stereo display effect, to the color of stereo-picture
Property parameters are adjusted, and according to the stereo-picture after adjustment color attribute parameter, carry out stereoscopic display.
The angle of color attribute parameter of the embodiment of the present invention based on stereo-picture, to improve the three-dimensional effect that image is shown
Fruit provides a kind of new method and thinking, and compared to the method for adjusting parallax in the prior art, it is invention
A kind of novel and more easy-to-use method, and can be with adjustment stereoscopic parallax that people has found under study for action
Method be used in combination so that further improving stereo-picture is presented to the stereo display effect of user, because
This, improves the method tool of stereo display effect by adjusting image color property parameters in the embodiment of the present invention
There is very strong practical value.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method or computer journey
Sequence product.Therefore, the present invention can use complete hardware embodiment, complete software embodiment or combine software
With the form of the embodiment of hardware aspect.Moreover, the present invention can be used wherein includes meter one or more
Calculation machine usable program code computer-usable storage medium (include but is not limited to magnetic disk storage,
CD-ROM, optical memory etc.) on the form of computer program product implemented.
The present invention is with reference to the production of method according to embodiments of the present invention, equipment (system) and computer program
The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions implementation process figure and
/ or each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion
Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through and calculate
The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one
The device for the function of being specified in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or the processing of other programmable datas to set
In the standby computer-readable memory worked in a specific way so that be stored in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow or multiple of flow chart
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place
Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described
This creative concept, then can make other change and modification to these embodiments.So, appended right will
Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the present invention
Bright spirit and scope.So, if the present invention these modifications and variations belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprising including these changes and modification.
Claims (20)
1. a kind of method for adjusting stereo-picture, it is characterised in that this method includes:
Obtain stereo-picture to be adjusted;
Determine whether the stereo-picture matches with stereo display effect requirement;
If the stereo-picture requires to mismatch with the stereo display effect, to the color of the stereo-picture
Color property parameters are adjusted;
According to the stereo-picture after adjustment color attribute parameter, stereoscopic display is carried out.
2. the method as described in claim 1, it is characterised in that the stereo-picture includes left-eye image
With at least one image in eye image.
3. the method as described in claim 1, it is characterised in that the color attribute parameter is color range, right
Than any of degree and saturation degree or any combination.
4. the method as described in claim 1, it is characterised in that
The color attribute parameter includes color range or contrast;
It is described determine the stereo-picture whether with stereo display effect requirement match including:
Determine the color range higher limit and color range lower limit of each Color Channel of the stereo-picture;
Determine whether the color range higher limit of each Color Channel and the difference of color range lower limit are less than the first setting;
If the color range higher limit of each Color Channel and the difference of color range lower limit are respectively less than first setting,
Then determine that the stereo-picture matches with stereo display effect requirement, conversely, determining the stereogram
As requiring to mismatch with the stereo display effect.
5. method as claimed in claim 4, it is characterised in that
The color attribute parameter includes color range;
The color attribute parameter to the stereo-picture be adjusted including:
The difference of the color range higher limit and the color range lower limit is not less than to the color of first setting
Passage is as Color Channel to be adjusted, according to the color range higher limit and color range lower limit of the Color Channel to be adjusted
Value, the color range to the Color Channel to be adjusted of each pixel of the stereo-picture is adjusted, by color range
Color range less than the Color Channel to be adjusted of the color range lower limit is adjusted to 0, and color range is more than into the color range
The color range of the Color Channel to be adjusted of higher limit is adjusted to 255, according to linearly increasing mode by color range between
The color range of Color Channel to be adjusted between the color range lower limit and color range higher limit be adjusted to 0 to 255 it
Between, so as to change the color range of the stereo-picture.
6. method as claimed in claim 4, it is characterised in that
The color attribute parameter includes contrast;
The color attribute parameter to the stereo-picture be adjusted including:
Determine the stereo-picture each Color Channel color range higher limit in maximum upper limit, it is and described
Smallest limit value in the color range lower limit of each Color Channel of stereo-picture;
According to the maximum upper limit and the smallest limit value, to each face of each pixel of the stereo-picture
The color range of chrominance channel is adjusted, and the color range that color range is less than to the Color Channel of the smallest limit value is adjusted to
0, the color range that color range is more than to the Color Channel to be adjusted of the maximum upper limit is adjusted to 255, according to linear
To be adjusted Color Channel of the increased mode by color range between the smallest limit value and maximum upper limit
Color range be adjusted between 0 to 255, so as to change the contrast of the stereo-picture.
7. method as claimed in claim 4, it is characterised in that
The color range higher limit and color range lower limit of each Color Channel for determining the stereo-picture include:
Stereo-picture adjusting parameter is obtained, the stereo-picture adjusting parameter includes higher limit adjusting parameter with
Limit value adjusting parameter;
According to the higher limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is 0
Pixel count start the pixel count that adds up upwards, when accumulated value is more than the higher limit adjusting parameter and the solid
During the product of all pixels number of image, color range value now is defined as to the color range higher limit of the Color Channel;
And
According to the lower limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is
255 pixel count starts the pixel count that adds up downwards, when accumulated value be more than the lower limit adjusting parameter with it is described
During the product of all pixels number of stereo-picture, color range value now is defined as under the color range of the Color Channel
Limit value.
8. method as claimed in claim 7, it is characterised in that the acquisition stereo-picture adjusting parameter bag
Include:
Stereo-picture adjusting parameter is obtained according to pre-setting, or
Receive the stereo-picture adjusting parameter that user is inputted by interactive interface.
9. the method as described in claim 1, it is characterised in that
The color attribute parameter is saturation degree;
It is described determine the stereo-picture whether with stereo display effect requirement match including:
Count the saturation degree component of each pixel of the stereo-picture;
Determine that saturation degree component accounts for total pixel of the stereo-picture less than the pixel count of the first saturation degree threshold value
The first several ratios and saturation degree component account for the stereo-picture higher than the pixel count of the second saturation degree threshold value
Second ratio of total pixel number, the first saturation degree threshold value is less than or equal to the second saturation degree threshold value;
When first ratio is more than the first preset value or is preset when second ratio is more than described second
During value, determine that the stereo-picture requires to mismatch with stereo display effect;Conversely, determining the stereogram
As being matched with stereo display effect requirement;
The color attribute parameter to the stereo-picture be adjusted including:
When first ratio is more than the first preset value, the saturation degree of each pixel of the stereo-picture is improved
Component;
When second ratio is more than second preset value, reduce the stereo-picture each pixel it is full
With degree component.
10. the method as described in claim 1, it is characterised in that
The color attribute parameter is saturation degree;
The color attribute parameter to the stereo-picture be adjusted including:
The saturation degree adjusting parameter for obtaining saturation degree adjusting parameter according to pre-setting or receiving user's input;
The saturation degree component of each pixel of the stereo-picture is set to the saturation degree adjusting parameter and institute
State the product of the original value of saturation degree component.
11. a kind of device for adjusting stereo-picture, it is characterised in that the device includes:
Acquisition module, the stereo-picture to be adjusted for obtaining;
Processing module, for determining whether the stereo-picture matches with stereo display effect requirement, if
The stereo-picture is required to mismatch with the stereo display effect, and the color attribute of the stereo-picture is joined
Number is adjusted;
Display module, for according to the stereo-picture after adjustment color attribute parameter, carrying out stereoscopic display.
12. device as claimed in claim 11, it is characterised in that the stereo-picture includes left eye figure
At least one image in picture and eye image.
13. device as claimed in claim 11, it is characterised in that the color attribute parameter be color range,
Any of contrast and saturation degree or any combination.
14. device as claimed in claim 11, it is characterised in that
The color attribute parameter includes color range or contrast;
The processing module specifically for:
Determine the color range higher limit and color range lower limit of each Color Channel of the stereo-picture;
Determine whether the color range higher limit of each Color Channel and the difference of color range lower limit are less than the first setting;
If the color range higher limit of each Color Channel and the difference of color range lower limit are respectively less than first setting,
Then determine that the stereo-picture matches with stereo display effect requirement, conversely, determining the stereogram
As requiring to mismatch with the stereo display effect.
15. device as claimed in claim 14, it is characterised in that
The color attribute parameter includes color range;
The processing module specifically for:
The difference of the color range higher limit and the color range lower limit is not less than to the color of first setting
Passage is as Color Channel to be adjusted, according to the color range higher limit and color range lower limit of the Color Channel to be adjusted
Value, the color range to the Color Channel to be adjusted of each pixel of the stereo-picture is adjusted, by color range
Color range less than the Color Channel to be adjusted of the color range lower limit is adjusted to 0, and color range is more than into the color range
The color range of the Color Channel to be adjusted of higher limit is adjusted to 255, according to linearly increasing mode by color range between
The color range of Color Channel to be adjusted between the color range lower limit and color range higher limit be adjusted to 0 to 255 it
Between, so as to change the color range of the stereo-picture.
16. device as claimed in claim 14, it is characterised in that
The color attribute parameter includes contrast;
The processing module specifically for:
Determine the stereo-picture each Color Channel color range higher limit in maximum upper limit, it is and described
Smallest limit value in the color range lower limit of each Color Channel of stereo-picture;
According to the maximum upper limit and the smallest limit value, to each face of each pixel of the stereo-picture
The color range of chrominance channel is adjusted, and the color range that color range is less than to the Color Channel of the smallest limit value is adjusted to
0, the color range that color range is more than to the Color Channel to be adjusted of the maximum upper limit is adjusted to 255, according to linear
To be adjusted Color Channel of the increased mode by color range between the smallest limit value and maximum upper limit
Color range be adjusted between 0 to 255, so as to change the contrast of the stereo-picture.
17. device as claimed in claim 14, it is characterised in that
The processing module specifically for:
Stereo-picture adjusting parameter is obtained, the stereo-picture adjusting parameter includes higher limit adjusting parameter with
Limit value adjusting parameter;
According to the higher limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is 0
Pixel count start the pixel count that adds up upwards, when accumulated value is more than the higher limit adjusting parameter and the solid
During the product of all pixels number of image, color range value now is defined as to the color range higher limit of the Color Channel;
And
According to the lower limit adjusting parameter, the color range from the Color Channel of the pixel of the stereo-picture is
255 pixel count starts the pixel count that adds up upwards, when accumulated value be more than the lower limit adjusting parameter with it is described
During the product of all pixels number of stereo-picture, color range value now is defined as under the color range of the Color Channel
Limit value.
18. device as claimed in claim 17, it is characterised in that the processing module specifically for:
Stereo-picture adjusting parameter is obtained according to pre-setting, or
Receive the stereo-picture adjusting parameter that user is inputted by interactive interface.
19. device as claimed in claim 11, it is characterised in that
The color attribute parameter is saturation degree;
The processing module specifically for:
Count the saturation degree component of each pixel of the stereo-picture;
Determine that saturation degree component accounts for total pixel of the stereo-picture less than the pixel count of the first saturation degree threshold value
The first several ratios and saturation degree component account for the stereo-picture higher than the pixel count of the second saturation degree threshold value
Second ratio of total pixel number, the first saturation degree threshold value is less than or equal to the second saturation degree threshold value;
When first ratio is more than the first preset value or is preset when second ratio is more than described second
During value, determine that the stereo-picture requires to mismatch with stereo display effect;
The processing module is entered specifically for the color attribute parameter in the following manner to the stereo-picture
Row adjustment:
When first ratio is more than the first preset value, the saturation degree of each pixel of the stereo-picture is improved
Component;
When second ratio is more than second preset value, reduce the stereo-picture each pixel it is full
With degree component.
20. device as claimed in claim 11, it is characterised in that
The color attribute parameter is saturation degree;
The processing module specifically for:
The saturation degree adjusting parameter for obtaining saturation degree adjusting parameter according to pre-setting or receiving user's input;
The saturation degree component of each pixel of the stereo-picture is set to the saturation degree adjusting parameter and institute
State the product of the original value of saturation degree component.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610153931.4A CN107205143A (en) | 2016-03-17 | 2016-03-17 | Method and device for adjusting stereo image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610153931.4A CN107205143A (en) | 2016-03-17 | 2016-03-17 | Method and device for adjusting stereo image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107205143A true CN107205143A (en) | 2017-09-26 |
Family
ID=59903796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610153931.4A Pending CN107205143A (en) | 2016-03-17 | 2016-03-17 | Method and device for adjusting stereo image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107205143A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682631A (en) * | 2017-10-13 | 2018-02-09 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108335659A (en) * | 2018-01-02 | 2018-07-27 | 联想(北京)有限公司 | Method for displaying image and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101814272A (en) * | 2009-02-20 | 2010-08-25 | 纬创资通股份有限公司 | Display device and brightness adjusting method thereof |
CN102404588A (en) * | 2010-09-13 | 2012-04-04 | Lg电子株式会社 | Image display apparatus and method for operating image display apparatus |
CN102663741A (en) * | 2012-03-22 | 2012-09-12 | 北京佳泰信业技术有限公司 | Method for carrying out visual stereo perception enhancement on color digit image and system thereof |
CN103796003A (en) * | 2014-01-21 | 2014-05-14 | 深圳市掌网立体时代视讯技术有限公司 | Method and system for correcting images shot in stereoscopic mode |
CN103916661A (en) * | 2013-01-02 | 2014-07-09 | 三星电子株式会社 | Display method and display apparatus |
-
2016
- 2016-03-17 CN CN201610153931.4A patent/CN107205143A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101814272A (en) * | 2009-02-20 | 2010-08-25 | 纬创资通股份有限公司 | Display device and brightness adjusting method thereof |
CN102404588A (en) * | 2010-09-13 | 2012-04-04 | Lg电子株式会社 | Image display apparatus and method for operating image display apparatus |
CN102663741A (en) * | 2012-03-22 | 2012-09-12 | 北京佳泰信业技术有限公司 | Method for carrying out visual stereo perception enhancement on color digit image and system thereof |
CN103916661A (en) * | 2013-01-02 | 2014-07-09 | 三星电子株式会社 | Display method and display apparatus |
CN103796003A (en) * | 2014-01-21 | 2014-05-14 | 深圳市掌网立体时代视讯技术有限公司 | Method and system for correcting images shot in stereoscopic mode |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682631A (en) * | 2017-10-13 | 2018-02-09 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN107682631B (en) * | 2017-10-13 | 2020-09-01 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
CN108335659A (en) * | 2018-01-02 | 2018-07-27 | 联想(北京)有限公司 | Method for displaying image and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105741792B (en) | A kind of gray-scale intensity method of adjustment, device and 3D display equipment | |
CN102055991B (en) | Conversion method and conversion device for converting two-dimensional image into three-dimensional image | |
EP2544459A1 (en) | Stereoscopic video display device and operation method of stereoscopic video display device | |
CN104539935B (en) | The adjusting method and adjusting means of brightness of image, display device | |
CN108462867B (en) | System and method for automatically calibrating tracking type naked eye three-dimensional display equipment | |
US20210358200A1 (en) | Rendering method, computer product and display apparatus | |
CN107744451B (en) | Training device for binocular vision function | |
CN105933697B (en) | A kind of method and device of grating parameter output | |
CN104509087B (en) | Binocular vision experiences strengthening system | |
CN104506872B (en) | A kind of method and device of converting plane video into stereoscopic video | |
US10277877B2 (en) | 3D system including a neural network | |
CN105608716A (en) | Information processing method and electronic equipment | |
CN105681686A (en) | Image processing method and system | |
CN103428515A (en) | Video format determination device, video format determination method, and video display device | |
CN107205143A (en) | Method and device for adjusting stereo image | |
CN102026012B (en) | Generation method and device of depth map through three-dimensional conversion to planar video | |
CN103384314B (en) | Based on dynamic and the implementation method of tableaux adjustment image quality | |
CN103248910B (en) | Three-dimensional imaging system and image reproducing method thereof | |
CN102036090A (en) | Television signal conversion device for digital television terminal | |
CN106534814A (en) | Dual-camera image quality synchronization method and device | |
CN105323493B (en) | Localized reinforcements, multiple-exposure image system and local enhancement methods | |
CN105893578B (en) | A kind of method and device of photo selection | |
CN106888374B (en) | A kind of 3 d video encoding method, apparatus and video processing equipment | |
US20160344997A1 (en) | Look-ahead convergence for optimizing display rendering of stereoscopic videos and images | |
CN106254847B (en) | A kind of methods, devices and systems for the display limit for determining stereoscopic display screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180726 Address after: 518052 Room 201, building A, Qian Wan Road, Shenzhen Nanshan District cooperation zone, Qianhai, Shenzhen, Guangdong Applicant after: Shenzhen super Technology Co., Ltd. Address before: 518053 East Guangdong H-1 101, overseas Chinese Town Road, Nanshan District, Shenzhen. Applicant before: Shenzhen SuperD Photoelectronic Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170926 |
|
RJ01 | Rejection of invention patent application after publication |