CN109756718A - Color antidote and device - Google Patents
Color antidote and device Download PDFInfo
- Publication number
- CN109756718A CN109756718A CN201711064625.4A CN201711064625A CN109756718A CN 109756718 A CN109756718 A CN 109756718A CN 201711064625 A CN201711064625 A CN 201711064625A CN 109756718 A CN109756718 A CN 109756718A
- Authority
- CN
- China
- Prior art keywords
- color
- correction
- parameter value
- viewer
- algorithm
- 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.)
- Granted
Links
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
The present invention proposes a kind of color antidote and device, wherein method includes: acquisition color correction mode corresponding with viewer;Determine color correction algorithm and corresponding correction parameter value;Color correction is carried out to original contents using correction algorithm and correction parameter value and is shown.Thus, it is possible to be directed to specific user, carry out corresponding color correction to original contents and show, to improve the visual comfort of user, user's viewing experience is promoted.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of color antidote and device.
Background technique
Currently, more and more users' selection is set by associated terminal with the development of Internet technology and terminal technology
Standby viewing is needed with decorrelation or interested content, for example passes through mobile phone and watch Basketball Match, network direct broadcasting etc..
In the related technology, there are no provide coherent color correction process side for specific user (such as dyschromatopsia user)
Therefore formula needs a kind of mode that can be corrected and be shown to color.
Summary of the invention
The embodiment of the present invention provides a kind of color antidote and device, to solve not being directed to specific in the prior art
User carries out corresponding color correction and shows, the technical problem for causing the visual comfort of this collection of user poor.
The embodiment of the present invention provides a kind of color antidote, comprising the following steps: obtains color corresponding with viewer
Correction mode;Determine color correction algorithm and corresponding correction parameter value;Using the correction algorithm and the correction parameter value
Color correction is carried out to original contents and is shown.
Another embodiment of the present invention provides a kind of color apparatus for correcting, comprising: first obtains module, for obtaining and watching
The corresponding color of person corrects mode;Determining module, for determining color correction algorithm and corresponding correction parameter value;First correction
Display module carries out color correction to original contents for the application correction algorithm and the correction parameter value and shows.
Further embodiment of this invention provides a kind of terminal device, comprising: memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor when the processor executes described program, is realized as described in the embodiments of the present invention
Color antidote.
A further embodiment of the present invention provides a kind of non-transitorycomputer readable storage medium, is stored thereon with computer journey
Sequence, the program realize color antidote as described in the embodiments of the present invention when being executed by processor.
Technical solution provided in an embodiment of the present invention can include the following benefits:
Mode is corrected by obtaining color corresponding with viewer, and determines color correction algorithm and corresponding correction parameter
Value finally carries out color correction to original contents using correction algorithm and correction parameter value and shows.Thus, it is possible to be directed to specific
User carries out corresponding color correction to original contents and shows, to improve the visual comfort of user, promotes user's viewing
Experience.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Fig. 1 is the flow chart of color antidote according to an embodiment of the invention;
Fig. 2 is the exemplary diagram of color correction set interface according to an embodiment of the invention;
Fig. 3 is the exemplary diagram of color correction set interface in accordance with another embodiment of the present invention;
Fig. 4 is the exemplary diagram of colour vision test image according to an embodiment of the invention;
Fig. 5 is the exemplary diagram of colour vision test image in accordance with another embodiment of the present invention;
Fig. 6 is the exemplary diagram of display color correction set interface according to an embodiment of the invention;
Fig. 7 is the exemplary diagram of display color correction set interface in accordance with another embodiment of the present invention;
Fig. 8 is the flow chart of color antidote in accordance with another embodiment of the present invention;
Fig. 9 is color correction mode according to an embodiment of the invention and color correction algorithm schematic diagram;
Figure 10 is the exemplary diagram of the display color correction set interface of another embodiment according to the present invention;
Figure 11 is the flow chart of the color antidote of another embodiment according to the present invention
Figure 12 is the structural schematic diagram of color apparatus for correcting according to an embodiment of the invention;
Figure 13 is the structural schematic diagram of color apparatus for correcting in accordance with another embodiment of the present invention;
Figure 14 is the interaction flow schematic diagram of color antidote according to an embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the color antidote and device of the embodiment of the present invention are described.
Since in the prior art, there are no provide at coherent color correction for specific user (such as dyschromatopsia user)
Reason mode.In the color antidote of the embodiment of the present invention, according to the concrete condition of different viewers, its suitable color is obtained
Color correction mode is rectified so that it is determined that being applied in original contents after color correction algorithm and corresponding correction parameter value and carrying out color
It just and shows, to improve the visual comfort of user, promotes user's viewing experience.
Below with reference to the accompanying drawings and specific embodiment, the color antidote of the embodiment of the present invention is specifically described.
Fig. 1 is the flow chart of color antidote according to an embodiment of the invention, as shown in Figure 1, the color is corrected
Method includes:
Step 101, it obtains color corresponding with viewer and corrects mode.
In practical application, there is a large amount of viewer, the demand of different viewers is different, that is, the viewer having may
It is red anomalous trichromatism, the viewer that has may be protanopia anerythrochloropsia etc..Therefore, it is necessary first to obtain color corresponding with viewer and rectify
Holotype, so as to provide optimal visual comfort for viewer.
Wherein, according to application scenarios difference, above-mentioned and application scenarios are corresponding to obtain color correction corresponding with viewer
Mode is different, is illustrated below:
The first example:
It in this example, can be by showing that the color including a variety of colour vision impairment properties corrects set interface, according to sight
The person of seeing obtains corresponding color by the dyschromatopsia symptom that color corrects set interface selection and corrects mode.
For example, as shown in Fig. 2, color correction set interface in show such as " default color ", " red-bindness ",
The dyschromatopsias symptom such as " deuteranopia " and " tetartanopia ", such viewer can be according to the actual situation by setting in color correction
Setting interface selects corresponding dyschromatopsia symptom, such as viewer A to have red-bindness, to " red in color correction set interface
Colour blindness " click etc. after mode selects, as shown in figure 3, the selection that can prompt user current by way of color change,
It is user-friendly.It should be noted that the mode of unlimited color change, can also be the modes such as voice prompting, it can root
It needs to carry out selection setting according to practical application.
Second of example:
In this example, viewer, which may be not aware that, itself has dyschromatopsia symptom, therefore can be by viewing
Person provides colour vision test image;Corresponding color, which is obtained, according to test result of the viewer to colour vision test image corrects mode,
The use demand of further satisfaction user promotes user experience.
For example, the colour vision test image that provides as shown in figure 4, such as user B can all identify digital " 1 ",
" 3 ", " 5 " and " 7 " indicate that user's colour vision is normal, can choose default color correction mode;User C is merely capable of knowing for another example
Not Chu digital " 1 " or be that the number in Fig. 4 is identified as to letter as described in Figure 5 " Y " etc., can determine that user C is
" protanopia anerythrochloropsia ", " red-bindness " etc., it is corresponding so as to be obtained according to test result of the viewer to colour vision test image
Color corrects mode.
Step 102, color correction algorithm and corresponding correction parameter value are determined.
Step 103, color correction is carried out to original contents using correction algorithm and correction parameter value and shown.
Wherein, for different colour blindness/anomalous trichromatism symptom, color correction algorithm can include but is not limited to Daltonizer calculation
Method (color chips simulation difference arithmetic), ColorBlindness algorithm (wavelength relative distance correction algorithm), Google Android
Native algorithm (projection matrix transformation correction algorithm), the look-up table mode (LUT correction algorithm) of imitative iOS and chrome plug-in unit are calculated
One or more of method etc..
Specifically, original image is converted rgb space first by Daltonizer algorithm, then from rgb space to the space LMS
(corresponding wavelength) converts the color in the space LMS then according to colour blindness type, the color moment that simulation colour blindness is seen
Battle array, then converting colors matrix returns to rgb space, obtains picture color, will finally obtain the difference of original image and picture color
It is worth error, and weight addition is done to R, G, B and is corrected to obtain correction parameter value (such as intensity, distance etc.), in original graph
As upper plus correction parameter value, result to the end is obtained.
Specifically, original image is converted to Opponent (CIE Lab) color sky first by ColorBlindness algorithm
Between image, the different plus-minuss (increasing contrast) to numerical quantity then are carried out between every kind of colour blindness, red green processing is identical, has
Adjustable correction parameter value, finally converts back rgb color space for original image.
Specifically, RGB image is transformed into LMS color space first and combined by Google Android Native algorithm
It arrives, then extracts red, blue, white three kinds of colors in the space LMS, a*L+b*M+c*S is then calculated according to known three points
=0 root represents protanopia anerythrochloropsia for p0=cross (Ims w, lms_b), and p1=cross (Ims w, lms_r) represents blue
It is blind, it finally constructs projection matrix and simulates colour blindness, construction weight matrix setting correction parameter value.
Specifically, LUT correction algorithm is according to colour correction effect (the general auxiliary of setting one in IOS system tool
One vision-control of function, one colour filter), target correction imitate generating with optional color in Photoshop and is searched
Table, and load resource finds normal rgb value position to each pixel in picture in a program, is mapped to color picture
In.
Wherein, according to application scenarios difference, above-mentioned determining color correction algorithm corresponding with application scenarios and corresponding strong
Positive parameter value is different, is illustrated below:
The first example:
In this example, it by inquiring pre-set correction information, obtains color corresponding with color correction mode and rectifys
Normal operation method, and correction parameter value corresponding with color correction algorithm.
For example, the corresponding color correction algorithm of different color correction modes, and and color is stored in advance
The one-to-one relationship of the corresponding correction parameter value of correction algorithm, such as the form of mapping table, correcting mode by color can
To find corresponding color correction algorithm, and correction parameter value corresponding with color correction algorithm;Database form for another example,
It can be obtained by corresponding color correction algorithm by related algorithm or instructions query, and corresponding with color correction algorithm
Correct parameter value.
Second of example:
In this example, the customized corrective instruction that available viewer sends, display color correct set interface, root
The information for correcting set interface input by color according to viewer, determines color correction algorithm and corresponding correction parameter value.
For example, it is sent in user by the click modes such as related key or speech-input instructions customized strong
After positive order, it is defeated according to own situation display reminding viewer in set interface can be corrected in display color as shown in FIG. 6
Enter corresponding color correction algorithm and corresponding correction parameter value, for example the color correction algorithm that user inputs in Fig. 6 is
" Daltonizer (colour cast simulation difference) algorithm ", correction parameter value are intensity 1.0, to meet itself red-blind demand.Its
In, correction parameter may include intensity, distance etc., can select to input according to the actual application.
It should be noted that being not limited to determine color correction algorithm and correspondence such as the mode that user is manually entered in Fig. 6
Correction parameter value, can be as shown in fig. 7, providing corresponding color correction algorithm and corresponding correction parameter value is shown
It selects to input according to actual needs to user, for example the Daltonizer algorithm of selection intensity 1.0 meets red Anton symptom;Compare again
As Google Android Native (projection matrix transformation correction) algorithm of selection intensity 0.5 meets green Anton symptom;Also compare
Distance 5 and ColorBlindness (correction of wavelength relative distance) algorithm of intensity 1.0 is such as selected to meet tetartanopia symptom.
Color correction is carried out to original contents it is possible to further application correction algorithm and correction parameter value and is shown.It can
With understanding, it can choose appropriate correction algorithm and correction parameter value, toning filter added to video flowing, with realization pair
The color rectification effect of video, to promote the viewing experience of this certain customers.
As a kind of Sample Scenario, for the viewer with protanopia anerythrochloropsia, it is for the red on picture, green picture
It is the same, for example team both sides in match are respectively with red football shirt and green football shirt, then the user is in the mistake come to matches
Liang Ge team can not be told in journey, user's viewing effect is influenced, thus in the color correction side Jing Guo the embodiment of the present invention
Method selects suitable correction algorithm and correction parameter value to be applied to original contents and color correction and show, which can be with
Liang Ge team is told, to improve the visual comfort of user, promotes user's viewing experience.
As another Sample Scenario, for the viewer with blue blindness, for the purple circle and surrounding on picture
Blue background is the same, for example, viewer can not tell the purple circle in blue background, causes to can't see circle, shadow
User's viewing effect is rung, to select suitable correction algorithm and correction in the color antidote Jing Guo the embodiment of the present invention
Parameter value is applied to original contents and carries out color correction and show, which can tell circle, so as to adjust color
Obstacle user is felt to the identification capability of partial tone and differentiates dynamic image ability, the viewing experience of promotion, while can also be subtracted
Few stimulation of the insensitive tone to dyschromatopsia user, reduces dyschromatopsia user visual fatigue, improves visual comfort.
It should be noted that after original contents are carried out color correction and shown using correction algorithm and correction parameter value,
Viewer can according to demand, at any time by related key or speech trigger dependent instruction, to exit the return of correction mode
Normal play picture, it is user-friendly, meet user demand.
In conclusion the color antidote of the embodiment of the present invention, corrects mould by obtaining color corresponding with viewer
Formula, and determine color correction algorithm and corresponding correction parameter value, finally using correction algorithm and correction parameter value to original interior
Hold and carries out color correction and show.Thus, it is possible to be directed to specific user, carry out corresponding color correction to original contents and show
Show, to improve the visual comfort of user, promotes user's viewing experience.
Fig. 8 is the flow chart of color antidote in accordance with another embodiment of the present invention, as shown in figure 8, the color is rectified
Correction method includes:
Step 201, display includes that the color of a variety of colour vision impairment properties corrects set interface.
Step 202, corresponding color is obtained by the dyschromatopsia symptom that color corrects set interface selection according to viewer
Color correction mode.
In real life, some viewer has dysopia (such as anomalous trichromatism, colour blindness etc.), this viewer is to certain
Kind or certain several colour vision it is insensitive, therefore can by viewer show such as described in above-described embodiment Fig. 2 it is more
The color of kind dyschromatopsia symptom corrects set interface.
It is understood that can include but is not limited to red color weakness/red-bindness, green there are many kinds of dyschromatopsia symptoms
One or more of weak/deuteranopia, blue yellow be weak/tetartanopia etc..
Further, viewer can select corresponding dyschromatopsia in color correction set interface according to actual needs
After symptom, its corresponding color correction mode can be determined according to the selection result of viewer.
Step 203, pre-set correction information is inquired, color correction algorithm corresponding with color correction mode is obtained,
And correction parameter value corresponding with color correction algorithm.
Step 204, color correction is carried out to original contents using correction algorithm and correction parameter value and shown.
Wherein, the corresponding color correction algorithm of different colors correction mode, and it is corresponding with color correction algorithm strong
Positive parameter value is different, than as shown in figure 9, corresponding color correction algorithm is when color correction mode is red-bindness
Daltonizer algorithm, corresponding correction parameter are intensity, numerical value 1;When either color correction mode is tetartanopia,
Corresponding color correction algorithm is ColorBlindness algorithm, and corresponding correction parameter is intensity and distance, strength values
For 1, distance values 5.
It is understood that different color correction algorithms has different treatment effects, such as Daltonizer algorithm
There can be apparent red-bindness rectification effect, without apparent deuteranopia and blue blindness rectification effect;For another example
The analog form of ColorBlindness algorithm is simple and fast, with a high credibility, but some are excessively distorted etc. for natural colour.
Therefore, it is necessary to watch demand to meet user for the corresponding color correction algorithm of different color correction mode setting.
Therefore, it can obtain color corresponding with color correction mode by inquiring pre-set correction information and correct
Algorithm, and correction parameter value corresponding with color correction algorithm, and be applied to original contents and carry out color correction and show.Make
Special filter is carried out to video pictures according to correction algorithm and correction parameter value in video player for a kind of Scene realization
Processing, to improve the visual experience of user, that is to say, that toning filter can be added, to video flowing to realize the color to video
Color rectification effect, to promote the viewing experience of user.Wherein, toning filter can support multiple format video flowing.
As another Scene realization, it is added in video player for the particular color filter of dyschromatopsia user,
It is overlapped with original video, video is made to decay in playing process corresponding color value ingredient, different correction algorithms is used to match
It rectifys color direction, rectify being superimposed ratio and showing for the adjustment of color degree and original image, to promote the viewing experience of user.
Step 205, the color adjustment instruction that viewer sends is obtained, display color corrects set interface.
Step 206, the new color correction algorithm of acquisition of information of set interface input is corrected by color according to viewer,
And/or newly correct parameter value.
Step 207, according to new color correction algorithm, and/or, new parameter value of correcting carries out the original contents of follow-up play
Color is corrected and is shown.
In practical applications, it can be manually selected when viewer feels poor display effect, viewing does not feel like oneself etc.
Color correction algorithm, and correction parameter value corresponding with color correction algorithm, to reach most general, relatively comfortable, high identification
Purpose.
Specifically, the color adjustment instruction that viewer can be sent by modes such as related key or voices, thus to
Viewer shows that color corrects set interface, so that viewer can be manually entered according to demand in relevant information, such as Figure 10,
User is manually entered Daltonizer algorithm and intensity is 0.8 as new color correction algorithm and new correction parameter value, thus
Color correction can be carried out to the original contents of follow-up play according to new color correction algorithm and new correction parameter value and shown, into
One step meets user's viewing experience, meets user demand.
It is understood that user can input suitable color correction algorithm according to demand, color can also be changed and rectified
The corresponding correction parameter value of normal operation method, such as the numerical value of change intensity, can be increase and are also possible to reduce;Can also change away from
From numerical value etc., be all that can carry out customized setting according to demand, to meet user demand.
In conclusion the color antidote of the embodiment of the present invention, by showing the color including a variety of colour vision impairment properties
Coloured silk correction set interface, and corresponding color is obtained by the dyschromatopsia symptom that color corrects set interface selection according to viewer
Then color correction mode inquires pre-set correction information, obtain color correction algorithm corresponding with color correction mode, with
And correction parameter value corresponding with color correction algorithm, and application correction algorithm and correction parameter value are to original contents progress color
Coloured silk is corrected and is shown, the color adjustment instruction that viewer sends in addition is obtained, and display color corrects set interface, and according to viewing
Person corrects the new color correction algorithm of acquisition of information of set interface input by color, and/or, newly correct parameter value, last root
According to new color correction algorithm, and/or, new parameter value of correcting carries out color correction to the original contents of follow-up play and shows.By
This, can be directed to specific user, carry out corresponding color correction to original contents and show, and adjusted according to user demand
Whole display further promotes user's viewing experience to further increase the visual comfort of user.
Figure 11 is the flow chart of the color antidote of another embodiment according to the present invention, as shown in figure 11, the color
Antidote includes:
Step 301, colour vision test image is provided to viewer.
Step 302, corresponding color is obtained according to test result of the viewer to colour vision test image and corrects mode.
In practical applications, many viewers are not aware that itself has dyschromatopsia symptom or be not know itself
What specific dyschromatopsia symptom is, the color antidote of the embodiment of the present invention can be surveyed by providing colour vision to viewer
Attempt picture, allows viewer to pass through result that colour vision test image is tested to understand the dyschromatopsia symptom of itself, and according to
The test result obtains corresponding color and corrects mode, so as to obtain more accurate color correction mode, mentions for user
For more viewing experience.
Step 303, the customized corrective instruction that viewer sends is obtained, display color corrects set interface.
Step 304, according to viewer by color correct set interface input information, determine color correction algorithm and
Corresponding correction parameter value.
Step 305, color correction is carried out to original contents using correction algorithm and correction parameter value and shown.
Specifically, the customized correction sent in user by clicking the modes such as related key or speech-input instructions
After instruction, display reminding viewer it can be inputted according to own situation in display color as shown in FIG. 6 correction set interface
Corresponding color correction algorithm and corresponding correction parameter value, for example the color correction algorithm of user's input is in Fig. 6
" Daltonizer (colour cast simulation difference) algorithm ", correction parameter value are intensity 1.0, to meet itself red-blind demand.Its
In, correction parameter may include intensity, distance etc., can select to input according to the actual application.
As a result, user can customized color correction algorithm and corresponding correction parameter value according to demand, it is further full
Foot viewing demand, promotes user experience.
Step 306, the color adjustment instruction that viewer sends is obtained, display color corrects set interface.
Step 307, the new color correction algorithm of acquisition of information of set interface input is corrected by color according to viewer,
And/or newly correct parameter value.
Step 308, according to new color correction algorithm, and/or, new parameter value of correcting carries out the original contents of follow-up play
Color is corrected and is shown.
In practical applications, it can be manually selected when viewer feels poor display effect, viewing does not feel like oneself etc.
Color correction algorithm, and correction parameter value corresponding with color correction algorithm, to reach most general, relatively comfortable, high identification
Purpose.
Specifically, the color adjustment instruction that viewer can be sent by modes such as related key or voices, thus to
Viewer shows that color corrects set interface, so that viewer can be manually entered according to demand in relevant information, such as Figure 10,
User is manually entered Daltonizer algorithm and intensity is 0.8 as new color correction algorithm and new correction parameter value, thus
Color correction can be carried out to the original contents of follow-up play according to new color correction algorithm and new correction parameter value and shown, into
One step meets user's viewing experience, meets user demand.
It is understood that user can input suitable color correction algorithm according to demand, color can also be changed and rectified
The corresponding correction parameter value of normal operation method, such as the numerical value of change intensity, can be increase and are also possible to reduce;Can also change away from
From numerical value etc., be all that can carry out customized setting according to demand, to meet user demand.
In conclusion the color antidote of the embodiment of the present invention, by providing colour vision test image, and root to viewer
Corresponding color is obtained to the test result of colour vision test image according to viewer and corrects mode, then obtain that viewer sends from
Corrective instruction is defined, display color corrects set interface, corrects the information of set interface input by color according to viewer, really
Fixation coloured silk correction algorithm and corresponding correction parameter value, and application correction algorithm and correction parameter value carry out color to original contents
Coloured silk is corrected and is shown, the color adjustment instruction that viewer sends in addition is obtained, and display color corrects set interface, and according to viewing
Person corrects the new color correction algorithm of acquisition of information of set interface input by color, and/or, newly correct parameter value, last root
According to new color correction algorithm, and/or, new parameter value of correcting carries out color correction to the original contents of follow-up play and shows.By
This, can be directed to specific user, carry out corresponding color correction to original contents and show, and adjusted according to user demand
Whole display further promotes user's viewing experience to further increase the visual comfort of user.
Corresponding with the color antidote that above-mentioned several embodiments provide, a kind of embodiment of the invention also provides one kind
Color apparatus for correcting, since the color of color apparatus for correcting provided in an embodiment of the present invention and above-mentioned several embodiment offers is corrected
Method is corresponding, therefore is also applied for color correction dress provided in this embodiment in the embodiment of aforementioned color antidote
It sets, is not described in detail in the present embodiment.
Figure 12 is the structural schematic diagram of color apparatus for correcting according to an embodiment of the invention, as shown in figure 12, the color
Color apparatus for correcting includes: the first acquisition module 11, determining module 12 and the first correction display module 13.
Wherein, first module 11 is obtained, corrects mode for obtaining color corresponding with viewer.
Determining module 12, for determining color correction algorithm and corresponding correction parameter value;
First correction display module 13, for carrying out color correction to original contents using correction algorithm and correction parameter value
And it shows.
Wherein, it should be noted that under different application scenarios, the first acquisition module 11 obtains corresponding with viewer
The mode that color corrects mode is different, is illustrated below:
The first example, by showing that the color including a variety of colour vision impairment properties corrects set interface, according to viewer
Corresponding color, which is obtained, by the dyschromatopsia symptom that color corrects set interface selection corrects mode.
Second of example, viewer, which may be not aware that, itself has dyschromatopsia symptom, therefore can be by viewing
Person provides colour vision test image;Corresponding color, which is obtained, according to test result of the viewer to colour vision test image corrects mode.
Wherein, it should be noted that under different application scenarios, determining module 12 determines color correction algorithm and correspondence
Correction parameter value mode it is different, be illustrated below:
The first example, determining module 12 are specifically used for inquiring pre-set correction information, obtain and correct mould with color
The corresponding color correction algorithm of formula, and correction parameter value corresponding with color correction algorithm.
Second of example, determining module 12, the customized corrective instruction sent specifically for obtaining viewer show color
Correct set interface;The information for correcting set interface input by color according to viewer, determines color correction algorithm and right
The correction parameter value answered.
Further, in a kind of form in the cards, as shown in figure 13, on the basis of Figure 12 further include: obtain
Display module 14, second obtains module 15 and the second correction display module 16.
Wherein, display module 14 is obtained, for obtaining the color adjustment instruction of viewer's transmission, display color correction setting
Interface.
Second obtains module 15, for correcting the new color of acquisition of information of set interface input by color according to viewer
Correction algorithm, and/or, newly correct parameter value.
Second correction display module 16, is used for according to new color correction algorithm, and/or, new parameter value of correcting is to rear continued broadcasting
The original contents put carry out color correction and show.
In conclusion the color apparatus for correcting of the embodiment of the present invention, corrects mould by obtaining color corresponding with viewer
Formula, and determine color correction algorithm and corresponding correction parameter value, finally using correction algorithm and correction parameter value to original interior
Hold and carries out color correction and show.Thus, it is possible to be directed to specific user, carry out corresponding color correction to original contents and show
Show, to improve the visual comfort of user, promotes user's viewing experience.
In order to realize above-described embodiment, the invention also provides a kind of terminal devices.Figure 14 is a reality according to the present invention
The interaction flow schematic diagram of the color antidote of example is applied, which is described by taking terminal equipment side as an example.To terminal
The process of the Dynamically Announce of the interface content of equipment side are as follows: color corresponding with viewer, which is obtained, in terminal device corrects mode,
Then color correction mode corresponding color correction algorithm and corresponding correction parameter value can be obtained from memory, to handle
Device carries out processing and carries out color correction to original contents using correction algorithm and correction parameter value and show.
In conclusion the terminal device of the embodiment of the present invention, corrects mode by obtaining color corresponding with viewer, and
It determines color correction algorithm and corresponding correction parameter value, finally original contents is carried out using correction algorithm and correction parameter value
Color is corrected and is shown.Thus, it is possible to be directed to specific user, corresponding color correction is carried out to original contents and show, thus
The visual comfort of user is improved, user's viewing experience is promoted.
In order to realize above-described embodiment, the invention also provides a kind of storage mediums, for storing application program, using journey
Sequence is for executing color antidote described in embodiment any one of of the invention.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include one or more of the features.In the description of the present invention,
The meaning of " plurality " is two or more, unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means that specific features described in conjunction with this embodiment or example or feature are contained in this
In at least one embodiment or example of invention.In the present specification, schematic expression of the above terms are necessarily directed to
It is identical embodiment or example.Moreover, the specific features or feature of description in any one or more embodiments or can show
It can be combined in any suitable manner in example.In addition, without conflicting with each other, those skilled in the art can be by this specification
Described in the features of different embodiments or examples and different embodiments or examples be combined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (10)
1. a kind of color antidote, which comprises the following steps:
It obtains color corresponding with viewer and corrects mode;
Determine color correction algorithm and corresponding correction parameter value;
Color correction is carried out to original contents using the correction algorithm and the correction parameter value and is shown.
2. the method as described in claim 1, which is characterized in that described to obtain color correction mode corresponding with viewer, packet
It includes:
Display includes that the color of a variety of colour vision impairment properties corrects set interface;
Corresponding color is obtained by the dyschromatopsia symptom that the color corrects set interface selection according to the viewer to rectify
Holotype.
3. the method as described in claim 1, which is characterized in that described to obtain color correction mode corresponding with viewer, packet
It includes:
Colour vision test image is provided to the viewer;
Corresponding color, which is obtained, according to test result of the viewer to the colour vision test image corrects mode.
4. method according to claim 2, which is characterized in that the determining color correction algorithm and corresponding correction parameter
Value, comprising:
Inquire pre-set correction information, obtain and correct the corresponding color correction algorithm of mode with the color, and with institute
State the corresponding correction parameter value of color correction algorithm.
5. method as claimed in claim 3, which is characterized in that the determining color correction algorithm and corresponding correction parameter
Value, comprising:
The customized corrective instruction that the viewer sends is obtained, display color corrects set interface;
The information for correcting set interface input by the color according to the viewer, determines color correction algorithm and correspondence
Correction parameter value.
6. method a method as claimed in any one of claims 1 to 5, which is characterized in that in the application correction algorithm and the correction
After parameter value carries out color correction and shows to original contents, further includes:
The color adjustment instruction that the viewer sends is obtained, display color corrects set interface;
The new color correction algorithm of acquisition of information of set interface input is corrected by the color according to the viewer, and/or,
New correction parameter value;
According to the new color correction algorithm, and/or, the new correction parameter value carries out color to the original contents of follow-up play
It corrects and shows.
7. a kind of color apparatus for correcting characterized by comprising
First obtains module, corrects mode for obtaining color corresponding with viewer;
Determining module, for determining color correction algorithm and corresponding correction parameter value;
First correction display module carries out color to original contents for the application correction algorithm and the correction parameter value and rectifys
Just and show.
8. device as claimed in claim 7, which is characterized in that further include:
Display module is obtained, the color adjustment instruction sent for obtaining the viewer, display color corrects set interface;;
Second obtains module, for correcting the new color of acquisition of information of set interface input by the color according to the viewer
Color correction algorithm, and/or, newly correct parameter value;
Second correction display module, is used for according to the new color correction algorithm, and/or, the new correction parameter value is to subsequent
The original contents of broadcasting carry out color correction and show.
9. a kind of terminal device characterized by comprising memory, processor and be stored on the memory and can be in institute
State the computer program run on processor, which is characterized in that when the processor executes the computer program, realize as weighed
Benefit requires the dynamic display method of the described in any item interface contents of 1-6.
10. a kind of storage medium, which is characterized in that for storing application program, the application program is for perform claim requirement
The dynamic display method of the described in any item interface contents of 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711064625.4A CN109756718B (en) | 2017-11-02 | 2017-11-02 | Color correction method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711064625.4A CN109756718B (en) | 2017-11-02 | 2017-11-02 | Color correction method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109756718A true CN109756718A (en) | 2019-05-14 |
CN109756718B CN109756718B (en) | 2022-02-18 |
Family
ID=66398976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711064625.4A Active CN109756718B (en) | 2017-11-02 | 2017-11-02 | Color correction method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109756718B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321662A (en) * | 2019-07-18 | 2019-10-11 | 长春工程学院 | A kind of multipurpose Visual Communication Design information processing system and method |
CN111796889A (en) * | 2020-04-14 | 2020-10-20 | 北京沃东天骏信息技术有限公司 | Terminal interface color correction method and device, electronic equipment and terminal |
CN111935509A (en) * | 2020-10-09 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Multimedia data playing method, related device, equipment and storage medium |
CN112801858A (en) * | 2020-12-29 | 2021-05-14 | 深圳创维-Rgb电子有限公司 | Color conversion method, device, equipment and storage medium |
CN112999654A (en) * | 2021-03-04 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Image processing method, image processing device, computer equipment and storage medium |
CN113794869A (en) * | 2021-09-08 | 2021-12-14 | 深圳创维-Rgb电子有限公司 | Image processing method, terminal and computer storage medium |
CN114885094A (en) * | 2022-03-25 | 2022-08-09 | 北京旷视科技有限公司 | Image processing method, image processor, image processing module and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102289789A (en) * | 2011-06-17 | 2011-12-21 | 中山大学 | Color-blind image conversion system based on mobile phones and application method thereof |
US20150348503A1 (en) * | 2014-05-28 | 2015-12-03 | Korea Advanced Institute Of Science And Technology | Apparatus and method for color adjustment of content |
CN106550280A (en) * | 2015-09-17 | 2017-03-29 | 中兴通讯股份有限公司 | Method for displaying image and device |
-
2017
- 2017-11-02 CN CN201711064625.4A patent/CN109756718B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102289789A (en) * | 2011-06-17 | 2011-12-21 | 中山大学 | Color-blind image conversion system based on mobile phones and application method thereof |
US20150348503A1 (en) * | 2014-05-28 | 2015-12-03 | Korea Advanced Institute Of Science And Technology | Apparatus and method for color adjustment of content |
CN106550280A (en) * | 2015-09-17 | 2017-03-29 | 中兴通讯股份有限公司 | Method for displaying image and device |
Non-Patent Citations (1)
Title |
---|
吴丽思: "色盲图像矫正算法研究及测试系统设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321662A (en) * | 2019-07-18 | 2019-10-11 | 长春工程学院 | A kind of multipurpose Visual Communication Design information processing system and method |
CN111796889A (en) * | 2020-04-14 | 2020-10-20 | 北京沃东天骏信息技术有限公司 | Terminal interface color correction method and device, electronic equipment and terminal |
CN111935509A (en) * | 2020-10-09 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Multimedia data playing method, related device, equipment and storage medium |
CN112801858A (en) * | 2020-12-29 | 2021-05-14 | 深圳创维-Rgb电子有限公司 | Color conversion method, device, equipment and storage medium |
CN112999654A (en) * | 2021-03-04 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Image processing method, image processing device, computer equipment and storage medium |
CN113794869A (en) * | 2021-09-08 | 2021-12-14 | 深圳创维-Rgb电子有限公司 | Image processing method, terminal and computer storage medium |
CN114885094A (en) * | 2022-03-25 | 2022-08-09 | 北京旷视科技有限公司 | Image processing method, image processor, image processing module and equipment |
CN114885094B (en) * | 2022-03-25 | 2024-03-29 | 北京旷视科技有限公司 | Image processing method, image processor, image processing module and device |
Also Published As
Publication number | Publication date |
---|---|
CN109756718B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109756718A (en) | Color antidote and device | |
Langlotz et al. | ChromaGlasses: Computational glasses for compensating colour blindness | |
CN100563297C (en) | Realize the method and the device of white balance correction | |
US7945092B2 (en) | Pixel processor | |
TW200826058A (en) | A color mapping method | |
KR100918749B1 (en) | Method and device of obtaining a color temperature point | |
US20090009525A1 (en) | Color Adjustment Device and Method | |
US7791760B2 (en) | Recording-medium profile correction to achieve color matching | |
CN114359305A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
Calabria et al. | Perceived image contrast and observer preference I. The effects of lightness, chroma, and sharpness manipulations on contrast perception | |
CN101669145A (en) | Method, device and program for measuring image quality adjusting ability, and method, device and program for adjusting image quality | |
Vasylevska et al. | Towards eye-friendly vr: how bright should it be? | |
JP2023511530A (en) | color rendering | |
CN109754375A (en) | Image processing method, system, computer equipment, storage medium and terminal | |
CN108985836A (en) | A kind of intelligent dressing method and system | |
CN109729327A (en) | Image display method, apparatus and system | |
KR102082766B1 (en) | Method and apparatus for distinguishing objects | |
Shizume et al. | Estimation of the Helmholtz–Kohlrausch effect for natural images | |
US20100156929A1 (en) | Ridge-based color gamut mapping | |
CN106782347A (en) | Correct the method and device of LED backlight display white point | |
JP2020118783A (en) | Ambient light correction method | |
JP4470745B2 (en) | Color processing method, color matching characteristic acquisition device, color processing device, and program | |
JP5725271B2 (en) | Color correction system | |
JP2002055668A (en) | Method for measuring input/output characteristics of display device, method for correcting image of the display device, method for preparing icc profile of the display device, storage medium with procedure for the methods stored thereon, and the display device | |
Ha et al. | Discomfort luminance level of head‐mounted displays depending on the adapting luminance |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |