The content of the invention
A kind of image adjusting method and device is embodiments provided, and is easy to virtual reality be adjusted according to eye conditionsThe picture display effect of equipment, so as to alleviation borehole pressure to a certain extent.
A first aspect of the present invention provides a kind of image adjusting method, and the method includes:
When destination object wears virtual reality device, the eye feature of the destination object is obtained;
Determine the corresponding picture rgb value of the eye feature;
The picture color that the virtual reality device shows is adjusted according to the corresponding picture rgb value.
With reference to a first aspect of the present invention, in the first implementation of first aspect, the acquisition destination objectEye feature, including:
The eyeball image of the destination object is obtained by photographic head or infrared scan sensor;
The eye feature of the destination object is determined according to the eyeball image.
With reference to the first implementation of first aspect present invention, in second implementation of first aspect, this is trueThe corresponding picture rgb value of the fixed eye feature, including:
The eyeball image of the destination object and preset eyeball are compared into images match;
If the eyeball image of the destination object compares images match with the preset eyeball, it is determined that the eye of the destination objectThe corresponding picture rgb value of ball image is target rgb value.
With reference to second implementation of first aspect present invention, in the third implementation of first aspect, the eyeBall comparison chart picture includes the pathological changes image of macular area;
The eyeball image of the destination object and preset eyeball are compared images match by this, including:
By the eyeball image of the destination object and the pathological changes images match of the macular area;
If the eyeball image for being somebody's turn to do the destination object and the preset eyeball compare images match, it is determined that the destination objectThe corresponding picture rgb value of eyeball image is target rgb value, including:
If the eyeball image of the destination object and the pathological changes images match of the macular area, obtain the virtual reality device instituteThe acquiescence rgb value of setting, and determine that the target rgb value is the first rgb value, the blue light value of first rgb value is less than acquiescence RGBThe blue light value of value.
With reference to second implementation of first aspect present invention, in the 4th kind of implementation of first aspect, the eyeBall comparison chart picture includes eyeball turbidness image;
The eyeball image of the destination object and preset eyeball are compared images match by this, including:
By the eyeball image of the destination object and the eyeball turbidness images match;
If the eyeball image for being somebody's turn to do the destination object and the preset eyeball compare images match, it is determined that the destination objectThe corresponding picture rgb value of eyeball image is target rgb value, including:
If the eyeball image of the destination object and the eyeball turbidness images match, obtain set by the virtual reality deviceAcquiescence rgb value, and determine the target rgb value for the second rgb value, the blue light value of second rgb value is less than the acquiescence rgb valueBlue light value.
With reference to a first aspect of the present invention, in the 5th kind of implementation of first aspect, the eye feature includes intraocular pressure;
This determines the corresponding picture rgb value of the eye feature, including:
By the intraocular pressure of the destination object and preset intraocular pressure ratings match;
If the intraocular pressure of the destination object obtains the virtual reality device in the pressure range of the preset intraocular pressure gradeSet acquiescence rgb value, and determine the destination object the corresponding picture rgb value of intraocular pressure be the 3rd rgb value, the 3rd RGBBlue light value of the blue light value of value less than the acquiescence rgb value.
Second aspect present invention provides a kind of image adjusting device, and the device includes:
Acquiring unit, for when destination object wears virtual reality device, obtaining the eye feature of the destination object;
Determining unit, for determining the corresponding picture rgb value of the eye feature;
Adjustment unit, for adjusting the picture color that the virtual reality device shows according to the corresponding picture rgb value.
With reference to a second aspect of the present invention, in the first implementation of second aspect, the acquiring unit is used for:
The eyeball image of the destination object is obtained by photographic head or infrared scan sensor;
The eye feature of the destination object is determined according to the eyeball image.
With reference to the first implementation of second aspect present invention, in second implementation of second aspect, this is trueOrder unit is used for:
The eyeball image of the destination object and preset eyeball are compared into images match;
If the eyeball image of the destination object compares images match with the preset eyeball, it is determined that the eye of the destination objectThe corresponding picture rgb value of ball image is target rgb value.
With reference to second implementation of second aspect present invention, in the third implementation of second aspect, the eyeBall comparison chart picture includes the pathological changes image of macular area;
The determining unit is used for:
By the eyeball image of the destination object and the pathological changes images match of the macular area;
If the eyeball image of the destination object and the pathological changes images match of the macular area, obtain the virtual reality device instituteThe acquiescence rgb value of setting, and determine that the target rgb value is the first rgb value, the blue light value of first rgb value is less than acquiescence RGBThe blue light value of value.
With reference to second implementation of second aspect present invention, in the 4th kind of implementation of second aspect, the eyeBall comparison chart picture includes eyeball turbidness image;
The determining unit is used for:
By the eyeball image of the destination object and the eyeball turbidness images match;
If the eyeball image of the destination object and the eyeball turbidness images match, obtain set by the virtual reality deviceAcquiescence rgb value, and determine the target rgb value for the second rgb value, the blue light value of second rgb value is less than the acquiescence rgb valueBlue light value.
With reference to a second aspect of the present invention, in the 5th kind of implementation of second aspect, the eye feature includes intraocular pressure;The determining unit is used for:
By the intraocular pressure of the destination object and preset intraocular pressure ratings match;
If the intraocular pressure of the destination object obtains the virtual reality device in the pressure range of the preset intraocular pressure gradeSet acquiescence rgb value, and determine the destination object the corresponding picture rgb value of intraocular pressure be the 3rd rgb value, the 3rd RGBBlue light value of the blue light value of value less than the acquiescence rgb value.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:When destination object is worn virtually nowDuring real equipment, the eye feature of the destination object is obtained;Determine the corresponding picture rgb value of the eye feature;According to describedCorresponding picture rgb value adjusts the picture color that the virtual reality device shows.Therefore, technical solution of the present invention being capable of basisThe eye conditions of user adjust the picture display effect of virtual reality device, so as to alleviation borehole pressure to a certain extent, keep awayExempt from eyes and bear more injuries.
Specific embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present applicationAccompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present application, it is clear that described embodiment is onlyThe embodiment of the application part, rather than the embodiment of whole.
The (if present)s such as term " first ", " second " in the description and claims of this application are for distinguishingSimilar object, without being used for describing specific order or precedence.It should be appreciated that the data for so using are in appropriate feelingsCan exchange under condition, so that the embodiments described herein can be with the order reality in addition to the content except illustrating here or describingApply.Additionally, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive to be included, for example, bagContained series of steps or unit process, method, system, product or equipment be not necessarily limited to those steps clearly listed orUnit, but may include other steps clearly do not list or intrinsic for these processes, method, product or equipment orUnit.
The invention provides a kind of image adjusting method, schematic flow sheet such as Fig. 1 of the one of implementation of the methodIt is shown.
101st, when destination object wears virtual reality device, obtain the eye feature of the destination object.
It should be noted that the eye of the destination object when destination object wears virtual reality device, can be obtained in real timeFeature.
Optionally, the eye feature for obtaining the destination object, including:
The eyeball image of the destination object is obtained by photographic head or infrared scan sensor;
The eye feature of the destination object is determined according to the eyeball image.
102nd, determine the corresponding picture rgb value of the eye feature.
It should be noted that the eye feature of the destination object obtained according to step 101, determines that the eye feature is correspondingPicture rgb value, can be by the picture rgb value adjustment picture display effect on demand that determines.
Optionally, it is described to determine the corresponding picture rgb value of the eye feature, including:
The eyeball image of the destination object and preset eyeball are compared into images match;
If the eyeball image of the destination object compares images match with the preset eyeball, it is determined that the target pairThe corresponding picture rgb value of eyeball image of elephant is target rgb value.
Eyeball image based on destination object compares images match with preset eyeball, specifically, in a kind of possible realityIn existing mode, the eyeball comparison chart picture includes the pathological changes image of macular area;
The eyeball image by the destination object compares images match with preset eyeball, including:
By the pathological changes images match of the eyeball image of the destination object and the macular area;
If the eyeball image of the destination object compares images match with the preset eyeball, it is determined that the meshThe corresponding picture rgb value of eyeball image of mark object is target rgb value, including:
If the eyeball image of the destination object and the pathological changes images match of the macular area, obtain the virtual realityAcquiescence rgb value set by equipment, and the target rgb value is determined for the first rgb value, the blue light value of first rgb value is littleIn the blue light value of the acquiescence rgb value.
Eyeball image based on destination object compares images match with preset eyeball, specifically, alternatively possibleIn implementation, the eyeball comparison chart picture includes eyeball turbidness image;
The eyeball image by the destination object compares images match with preset eyeball, including:
By the eyeball image of the destination object and the eyeball turbidness images match;
If the eyeball image of the destination object compares images match with the preset eyeball, it is determined that the meshThe corresponding picture rgb value of eyeball image of mark object is target rgb value, including:
If the eyeball image of the destination object and the eyeball turbidness images match, obtain the virtual reality deviceSet acquiescence rgb value, and determine that the target rgb value is the second rgb value, the blue light value of second rgb value is less than instituteState the blue light value of acquiescence rgb value.
The eye feature is determined except the eyeball image above by destination object and preset eyeball compare images matchOutside the implementation of corresponding picture rgb value, the embodiment of the present invention also can be determined described by the matching way of intraocular pressure gradeThe corresponding picture rgb value of eye feature, optionally, the eye feature in step 102 includes intraocular pressure;
It is described to determine the corresponding picture rgb value of the eye feature, including:
By the intraocular pressure of the destination object and preset intraocular pressure ratings match;
If the intraocular pressure of the destination object is in the pressure range of the preset intraocular pressure grade, obtain described virtual existingAcquiescence rgb value set by real equipment, and determine the destination object the corresponding picture rgb value of intraocular pressure be the 3rd rgb value, instituteState the blue light value of the blue light value less than the acquiescence rgb value of the 3rd rgb value.
103rd, the picture color that the virtual reality device shows is adjusted according to the corresponding picture rgb value.
For example, determine that the corresponding picture rgb value of eye feature is the first rgb value by step 102, then should according to what is determinedFirst rgb value adjusts the picture color that the virtual reality device shows;If it is determined that the corresponding picture rgb value of eye feature isSecond rgb value, then adjust the picture color that the virtual reality device shows according to second rgb value for determining;For firstThe restriction explanation of rgb value and the second rgb value is not described in detail herein with reference to step 102.
In the embodiment of the present invention, when destination object wears virtual reality device, the eye for obtaining the destination object is specialLevy;Determine the corresponding picture rgb value of the eye feature;The virtual reality is adjusted according to the corresponding picture rgb value to setThe standby picture color for showing.Therefore, technical solution of the present invention can adjust virtual reality device according to the eye conditions of userPicture display effect, so as to alleviation borehole pressure to a certain extent, it is to avoid eyes bear more injuries.
Based on the image adjusting method of Fig. 1 embodiments, specifically, the schematic flow sheet of another implementation of the method is such asShown in Fig. 2.
201st, when destination object wears virtual reality device, obtain described by photographic head or infrared scan sensorThe eyeball image of destination object.
202nd, by the pathological changes images match of the eyeball image of the destination object and preset macular area, if the target pairThe eyeball image of elephant and the pathological changes images match of the macular area, then obtain acquiescence RGB set by the virtual reality deviceValue, and determine the destination object the corresponding picture rgb value of eyeball image be the first rgb value, the blue light of first rgb valueBlue light value of the value less than the acquiescence rgb value.
It should be noted that for example, can lead in advance by the pathological changes view data typing virtual reality device of macular areaCross the pathological changes image data matrix by the eyeball image data matrix of destination object with preset macular area to compare, if comparingIndifference XOR difference is in the range of error for allowing afterwards, it is determined that the eyeball image of the destination object and the pathological changes figure of the macular areaAs matching;Conversely, then mismatching.For other algorithms that image is compared, do not enumerate herein.
203rd, the picture color that the virtual reality device shows is adjusted according to first rgb value.
The embodiment of the present invention can adjust the picture display effect of virtual reality device according to the eye conditions of user, so as toAlleviation borehole pressure to a certain extent, it is to avoid eyes bear more injuries.
Based on the image adjusting method of Fig. 1 embodiments, specifically, the schematic flow sheet of another implementation of the method is such asShown in Fig. 3.
301st, when destination object wears virtual reality device, obtain described by photographic head or infrared scan sensorThe eyeball image of destination object.
302nd, by the eyeball image of the destination object and preset eyeball turbidness images match, if the destination objectEyeball image and the eyeball turbidness images match, then obtain the acquiescence rgb value set by the virtual reality device, and determineThe corresponding picture rgb value of eyeball image of the destination object is the second rgb value, and the blue light value of second rgb value is less than instituteState the blue light value of acquiescence rgb value.
It should be noted that for example, can in advance by the eyeball turbidness view data typing virtual reality device, by willThe eyeball image data matrix of destination object is compared with preset eyeball turbidness image data matrix, if zero difference after comparingOr difference is in the range of error for allowing, it is determined that the eyeball image of the destination object and the eyeball turbidness images match;Conversely,Then mismatch.For other algorithms that image is compared, do not enumerate herein.
303rd, the picture color that the virtual reality device shows is adjusted according to second rgb value.
The embodiment of the present invention can adjust the picture display effect of virtual reality device according to the eye conditions of user, so as toAlleviation borehole pressure to a certain extent, it is to avoid eyes bear more injuries.
Based on the image adjusting method of Fig. 1 embodiments, specifically, the schematic flow sheet of another implementation of the method is such asShown in Fig. 4.
401st, when destination object wears virtual reality device, obtain the intraocular pressure of the destination object.
402nd, by the intraocular pressure of the destination object and preset intraocular pressure ratings match;If the intraocular pressure of the destination object is in instituteState in the pressure range of preset intraocular pressure grade, then obtain the acquiescence rgb value set by the virtual reality device, and determine instituteThe corresponding picture rgb value of intraocular pressure for stating destination object is the 3rd rgb value, and the blue light value of the 3rd rgb value is less than the acquiescenceThe blue light value of rgb value.
It should be noted that for example, can in advance by the grade of intraocular pressure and the corresponding picture rgb value of different intraocular pressure grades etc.In the data inputting virtual reality device, wherein, the grade of the intraocular pressure has corresponded to the intraocular pressure data of different pressure ranges.By inciting somebody to actionThe intraocular pressure data of destination object are matched with preset intraocular pressure grade, if the intraocular pressure of destination object is in the preset intraocular pressure gradeThe first estate corresponding to pressure range in, it is determined that the first estate of the intraocular pressure of the destination object and the intraocular pressure gradeMatch somebody with somebody;Conversely, then mismatching.It is, after the first estate of the intraocular pressure grade is matched, the first estate institute of the intraocular pressure grade can be obtainedCorresponding picture rgb value.
403rd, the picture color that the virtual reality device shows is adjusted according to the 3rd rgb value.
The embodiment of the present invention can adjust the picture display effect of virtual reality device according to the eye conditions of user, so as toAlleviation borehole pressure to a certain extent, it is to avoid eyes bear more injuries.
Present invention also offers a kind of image adjusting device 500, the image adjusting device 500 includes:
Acquiring unit 501, the eye for when destination object wears virtual reality device, obtaining the destination object are specialLevy;
Determining unit 502, for determining the corresponding picture rgb value of the eye feature;
Adjustment unit 503, for adjusting the picture that the virtual reality device shows according to the corresponding picture rgb valueColor.
In the embodiment of the present invention, when destination object wears virtual reality device, acquiring unit 501 obtains the target pairThe eye feature of elephant;Determining unit 502 determines the corresponding picture rgb value of the eye feature;Adjustment unit 503 is according to described rightThe picture rgb value answered adjusts the picture color that the virtual reality device shows.Therefore, technical solution of the present invention can according toThe eye conditions at family adjust the picture display effect of virtual reality device, so as to alleviation borehole pressure to a certain extent, it is to avoidEyes bear more injuries.
Optionally, the acquiring unit 501 is used for:
The eyeball image of the destination object is obtained by photographic head or infrared scan sensor;
The eye feature of the destination object is determined according to the eyeball image.
Optionally, the determining unit 502 is used for:
The eyeball image of the destination object and preset eyeball are compared into images match;
If the eyeball image of the destination object compares images match with the preset eyeball, it is determined that the target pairThe corresponding picture rgb value of eyeball image of elephant is target rgb value.
Optionally, the eyeball comparison chart picture includes the pathological changes image of macular area, and the determining unit 502 is used for:
By the pathological changes images match of the eyeball image of the destination object and the macular area;
If the eyeball image of the destination object and the pathological changes images match of the macular area, obtain the virtual realityAcquiescence rgb value set by equipment, and the target rgb value is determined for the first rgb value, the blue light value of first rgb value is littleIn the blue light value of the acquiescence rgb value.
Optionally, the eyeball comparison chart picture includes eyeball turbidness image, and the determining unit 502 is used for:
By the eyeball image of the destination object and the eyeball turbidness images match;
If the eyeball image of the destination object and the eyeball turbidness images match, obtain the virtual reality deviceSet acquiescence rgb value, and determine that the target rgb value is the second rgb value, the blue light value of second rgb value is less than instituteState the blue light value of acquiescence rgb value.
Optionally, the eye feature includes intraocular pressure, and the determining unit 502 is used for:
By the intraocular pressure of the destination object and preset intraocular pressure ratings match;
If the intraocular pressure of the destination object is in the pressure range of the preset intraocular pressure grade, obtain described virtual existingAcquiescence rgb value set by real equipment, and determine the destination object the corresponding picture rgb value of intraocular pressure be the 3rd rgb value, instituteState the blue light value of the blue light value less than the acquiescence rgb value of the 3rd rgb value.
Present invention also offers a kind of storage medium, stores program code in the storage medium, the program code is by thisWhen the image adjusting device 500 of invention runs, the image adjusting method that the present invention is provided is performed.The storage medium includes but does not limitIn flash memory (English:Flash memory), hard disk (English:Hard disk drive, HDD) or solid state hard disc (EnglishText:Solid state drive, SSD).
The associated description of said apparatus can correspondingly refer to the associated description and effect of embodiment of the method part and be understood,Do not do and excessively repeat in this place.
Those skilled in the art can be understood that, for convenience and simplicity of description, in the above-described embodiments,Description to each embodiment all emphasizes particularly on different fields, and does not have the part described in detail, may refer to other embodiment in certain embodimentAssociated description.
For aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of combination of actions, butIt is that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, certainA little steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know, be retouched in descriptionThe embodiment stated belongs to preferred embodiment, and involved action and module are not necessarily essential to the invention.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be withRealize by another way.For example, device embodiment described above is only schematic, for example, the unitDivide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizingCan with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unitThe part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multipleOn the network equipment.Some or all of equipment therein can be selected according to the actual needs to realize the mesh of this embodiment scheme's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible toIt is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated listUnit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unitWhen, can be stored in a computer read/write memory medium.Based on such understanding, the whole of technical schemeOr part can be embodied in the form of software product.The computer software product is stored in a storage medium, includingSome instructions are used so that a computer equipment (can be personal computer, server, or network equipment etc.) performs sheetInvent all or part of step of each embodiment methods described.And aforesaid storage medium includes:USB (universal serial bus) flash memoryDisk (English:USB flash disk), portable hard drive, read only memory (English:Read-only memory, ROM), deposit at randomAccess to memory (English:Random access memory, RAM), magnetic disc or CD etc. are various can be with store program codesMedium.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to frontState embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to frontState the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And theseModification is replaced, and does not make appropriate technical solution depart from the scope of claim.