CN102940564B - Image processing method, image processing device and eye-training instrument - Google Patents

Image processing method, image processing device and eye-training instrument Download PDF

Info

Publication number
CN102940564B
CN102940564B CN201210445995.3A CN201210445995A CN102940564B CN 102940564 B CN102940564 B CN 102940564B CN 201210445995 A CN201210445995 A CN 201210445995A CN 102940564 B CN102940564 B CN 102940564B
Authority
CN
China
Prior art keywords
predetermined pattern
image processing
described predetermined
max
processing apparatus
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.)
Active
Application number
CN201210445995.3A
Other languages
Chinese (zh)
Other versions
CN102940564A (en
Inventor
宗义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201210445995.3A priority Critical patent/CN102940564B/en
Publication of CN102940564A publication Critical patent/CN102940564A/en
Application granted granted Critical
Publication of CN102940564B publication Critical patent/CN102940564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to an image processing method, an image processing device and an eye-training instrument. The image processing method is used for changing a predetermined image under a predetermined background, and includes the following steps: the predetermined image moves along a preset motion track on the predetermined background; in the moving process of the predetermined image, the current position of the predetermined image is obtained, and according to the current position of the predetermined image, the current display color and color change law of the predetermined image are controlled. The image processing method, the image processing device and the eye-training instrument can be adopted to train eye muscles, so that the technical effect of eye health care can be achieved.

Description

Image processing method, image processing apparatus and eye instrument for training
Technical field
The application relates to a kind of image processing techniques, particularly a kind of image processing method, a kind of image processing apparatus and a kind of eye instrument for training.
Background technology
Along with scientific and technological development, the kind of electronic product and quantity are more and more, and this has caused the increase of near-sighted crowd's quantity and the intensification of people's myopic degree to a certain extent.In order to improve people's vision, many eurypalynous eye health instruments have been produced.
Yet the most complex structure of existing eye health instrument, cost is high, volume is large, thus inconvenient general population's use.In addition, because existing eye health instrument is not supported customization function, cause the training content of its eye health instrument single, training effect is also very limited.
Summary of the invention
Provide hereinafter about brief overview of the present invention, to the basic comprehension about some aspect of the present invention is provided.Should be appreciated that this general introduction is not about exhaustive general introduction of the present invention.It is not that intention is determined key of the present invention or pith, and nor is it intended to limit the scope of the present invention.Its object is only that the form of simplifying provides some concept, usings this as the preorder in greater detail of discussing after a while.
A main purpose of the present invention is to provide a kind of image processing method and a kind of image processing apparatus, can training eye muscle be trained and then be realized the technique effect of eye health protection.
According to an aspect of the present invention, a kind of image processing method changes predetermined pattern under predetermined background, comprising:
Control described predetermined pattern moves along predetermined movement track in predetermined background;
In the moving process of described predetermined pattern, obtain the current location of described predetermined pattern, and according to the current location of described predetermined pattern, control current Show Color and the Changing Pattern thereof of described predetermined pattern;
Described predetermined movement track is:
p x ( t ) = { ( 80 - 5 t ) × sin [ ( 160 - 5 t 2.25 ) × 2 π × 1 960 ] p y ( t ) = 25 t ( 0 ≤ t ≤ 16 ) ;
P xand p ybe respectively abscissa and the vertical coordinate of each pixel in described predetermined pattern.
According to a further aspect in the invention, a kind of image processing apparatus, for predetermined pattern is changed under predetermined background, comprises motion process module and color treatments module, wherein:
Described motion process module is used for controlling described predetermined pattern and along predetermined movement track, moves in predetermined background, and in the moving process of described predetermined pattern, obtains the current location of described predetermined pattern;
Described color treatments module, for receiving the treated predetermined pattern of described motion process module output, according to the current location of described predetermined pattern, is controlled current Show Color and the Changing Pattern thereof of described predetermined pattern;
Described predetermined movement track is:
p x ( t ) = { ( 80 - 5 t ) × sin [ ( 160 - 5 t 2.25 ) × 2 π × 1 960 ] p y ( t ) = 25 t ( 0 ≤ t ≤ 16 ) ;
P xand p ybe respectively abscissa and the vertical coordinate of each pixel in described predetermined pattern.
According to a third aspect of the invention we, a kind of eye instrument for training, comprises image processing apparatus, also comprises display part;
Described display part is connected to the outfan of described image processing apparatus, for showing the image after image processing apparatus is processed.
Adopt image processing method of the present invention, image processing apparatus and eye instrument for training, can training eye muscle be trained and then be realized the technique effect of eye health protection.
Accompanying drawing explanation
Below with reference to the accompanying drawings illustrate embodiments of the invention, can understand more easily above and other objects, features and advantages of the present invention.Parts in accompanying drawing are just in order to illustrate principle of the present invention.In the accompanying drawings, same or similar technical characterictic or parts will adopt same or similar Reference numeral to represent.
Fig. 1 is the flow chart of a kind of embodiment of image processing method of the present invention;
Fig. 2 is the structure chart of a kind of embodiment of image processing apparatus of the present invention;
Fig. 3 is the structure chart of a kind of embodiment of eye instrument for training of the present invention.
The specific embodiment
Embodiments of the invention are described with reference to the accompanying drawings.The element of describing in an accompanying drawing of the present invention or a kind of embodiment and feature can combine with element and feature shown in one or more other accompanying drawing or embodiment.It should be noted that for purposes of clarity, in accompanying drawing and explanation, omitted expression and the description of unrelated to the invention, parts known to persons of ordinary skill in the art and processing.
As shown in Figure 1, be the structure chart of a kind of embodiment of image processing method of the present invention.In the present embodiment, for making predetermined pattern modified-image processing method under predetermined background, comprising:
S10: control predetermined pattern and move along predetermined movement track in predetermined background; In one embodiment, predetermined movement track for example can be expressed as:
p x ( t ) = f ( t ) p y ( t ) = g ( t ) ( t ≥ 0 )
Wherein, f (t) and g (t) are predefined function, p xand p ybe respectively abscissa and the vertical coordinate of each pixel in predetermined pattern.
And,
S20: in the moving process of predetermined pattern, obtain the current location of predetermined pattern, and according to the current location of predetermined pattern, control current Show Color and the Changing Pattern thereof of predetermined pattern.The Changing Pattern of Show Color for example can be expressed as C (p)=N (p x, p y).
For example, predetermined pattern is along moving with predetermined movement track, and in the moving process of predetermined pattern, the color of predetermined pattern periodically changes with cycle T.At very first time section Δ t 1in, the color of setting predetermined pattern is red C r(for example, R=255, G=0, B=0), at the second time period Δ t 2in, the color of setting predetermined pattern is blue C b(for example, R=0, G=0, B=255), at the 3rd time period Δ t 3in, the color of setting predetermined pattern is the random color except red and blueness (for example R=120, G=120, B=120).In this case, worn the user of red blue glasses (two lenses are respectively red and blue), can be at Δ t 1in, only by red eyeglass, observe predetermined pattern, at Δ t 2in, only by blue eyeglass, observe predetermined pattern, and at Δ t 3in, by eyes, observe predetermined pattern, thereby can reach the object of tempering eye muscle and then eye being kept healthy.
Need explanation, image processing method of the present invention the nonessential order according to S20 after first S10 are carried out, but the execution sequence of set-up procedure S10 and S20 as the case may be.
As a kind of embodiment, in image processing method, predetermined pattern can move along sound wave curve, that is to say, predetermined movement track can be:
p x ( t ) = { ( 80 - 5 t ) × sin [ ( 160 - 5 t 2.25 ) × 2 π × 1 960 ] p y ( t ) = 25 t ( 0 ≤ t ≤ 16 ) ;
P xand p ybe respectively abscissa and the vertical coordinate of each pixel in predetermined pattern.
As a kind of embodiment, in image processing method, preset function can be:
C ( p ) = c G , | p x | &le; 20 - 0.2 p y c R , p x > 20 - 0.2 p y c B , p x < - ( 20 - 0.2 p y ) ,
Wherein, C r, C g, C bbe respectively the value in R, G, each dimension of B in RGB colorimetric system of red light, green light, blue light.
As a kind of preferred version, image processing method can also comprise:
According to the current location of predetermined pattern, the light intensity of controlling predetermined pattern changes according to predetermined rule.
By the variation of light intensity, the effectively variation of emulation fortune predetermined pattern in depth direction, thereby the function of the outside muscle of comprehensive training human eye that can be better---control visual axis, tracking, search, detection etc.
Light intensity index wherein, v represents light frequency, and A is irradiation area area, and N shines the total number of light photons on A in interval t.
In one embodiment, can be by changing C r, C g, C bthe light intensity of controlling predetermined pattern changes.For example, arrange
C R = v Rp - 384 482 - 384 &times; ( 255 - 127 ) + 127 ;
C B = v Bp - 609 659 - 609 &times; ( 255 - 127 ) + 127 ;
C G = v Gp - 526 599 - 526 &times; ( 255 - 127 ) + 127 ;
Wherein, v Rp = ( P max - p y ) P max &CenterDot; ( 482 - 384 ) + 384 , v Bp = ( P max - p y ) P max &CenterDot; ( 659 - 609 ) + 609 , pmax is the longitudinal size of terminal display, for example,
The height of terminal display.
As a kind of embodiment, predetermined background can be black background, also can have for the color with predetermined pattern other colors of obvious difference.
Shown in Figure 2, be the structure chart of a kind of embodiment of image processing apparatus of the present invention.
In the present embodiment for making the image processing apparatus 10 that predetermined pattern changes under predetermined background comprise motion process module 101 and color treatments module 102.
Wherein:
Motion process module 101 moves along predetermined movement track in predetermined background for controlling predetermined pattern, and in the moving process of predetermined pattern, obtains the current location of predetermined pattern.In one embodiment, predetermined movement track can be for example:
p x ( t ) = f ( t ) p y ( t ) = g ( t ) ( t &GreaterEqual; 0 )
Wherein, f (t) and g (t) are predefined function, p xand p ybe respectively abscissa and the vertical coordinate of each pixel in predetermined pattern.。
Color treatments module 102, for receiving the treated predetermined pattern of motion process module 101 outputs, according to the current location of predetermined pattern, is controlled current Show Color and the Changing Pattern thereof of predetermined pattern.In one embodiment, the Changing Pattern of Show Color for example can be expressed as:
C(p)=N(p x,p y)。
In one embodiment, in image processing apparatus, predetermined movement track can be:
p x ( t ) = { ( 80 - 5 t ) &times; sin [ ( 160 - 5 t 2.25 ) &times; 2 &pi; &times; 1 960 ] p y ( t ) = 25 t ( 0 &le; t &le; 16 ) ;
P xand p ybe respectively abscissa and the vertical coordinate of each pixel in predetermined pattern.
In one embodiment, the preset function in image processing apparatus can be:
C ( p ) = c G , | p x | &le; 20 - 0.2 p y c R , p x > 20 - 0.2 p y c B , p x < - ( 20 - 0.2 p y ) ,
Wherein, C r, C g, C bbe respectively the value in R, G, each dimension of B in RGB colorimetric system of red light, green light, blue light.
As a kind of preferred version, image processing apparatus can also comprise light intensity processing module (not shown).Light intensity processing module can predetermined pattern current location, the light intensity of controlling predetermined pattern changes according to predetermined rule, thereby the effectively variation of emulation fortune predetermined pattern in depth direction, thereby the function of the outside muscle of comprehensive training human eye that can be better---control visual axis, tracking, search, detection etc.
As a kind of embodiment, light intensity processing module can be connected to the outfan of color treatments module 102, for passing through to change C r, C g, C bthe light intensity of controlling predetermined pattern changes
In one embodiment, the Changing Pattern of light intensity can be for example:
C R = v Rp - 384 482 - 384 &times; ( 255 - 127 ) + 127 ;
C B = v Bp - 609 659 - 609 &times; ( 255 - 127 ) + 127 ;
C G = v Gp - 526 599 - 526 &times; ( 255 - 127 ) + 127 ;
Wherein, v Rp = ( P max - p y ) P max &CenterDot; ( 482 - 384 ) + 384 , v Bp = ( P max - p y ) P max &CenterDot; ( 659 - 609 ) + 609 , p maxlongitudinal size for terminal display.
It should be noted that, the position relationship of the motion process module 101 in image processing apparatus 10, color treatments module 102 and light intensity processing module can exchange, that is to say, predetermined pattern is carried out to the sequencing of motion process and color treatments and can determine according to practical situation.
In one embodiment, the predetermined background in image processing apparatus can be black background, also can have for the color with predetermined pattern other colors of obvious difference.
As shown in Figure 3, be the structure chart of a kind of embodiment of eye instrument for training of the present invention.
In the present embodiment, eye instrument for training 1, except comprising image processing apparatus 10, also comprises display part 20.
Display part 20 is connected to the outfan of image processing apparatus 10, for showing the image after image processing apparatus 10 is processed.For example, display part 20 can be connected to the outfan of the color treatments module 102 in image processing apparatus 10, or, be connected to the outfan of the light intensity processing module in image processing apparatus 10.
Adopt image processing method of the present invention, image processing apparatus and eye instrument for training, can training eye muscle be trained and then be realized the technique effect of eye health protection.
Above some embodiments of the present invention are described in detail.As one of ordinary skill in the art can be understood, whole or any steps or the parts of method and apparatus of the present invention, can be in the network of any computing equipment (comprising processor, storage medium etc.) or computing equipment, with hardware, firmware, software or their combination, realized, this is that those of ordinary skills use their basic programming skill just can realize in the situation that understanding content of the present invention, therefore need not illustrate at this.
In addition, it is evident that, when relating to possible peripheral operation in superincumbent explanation, will use undoubtedly any display device and any input equipment, corresponding interface and the control sequence that are connected with any computing equipment.Generally speaking, related hardware in computer, computer system or computer network, software and realize hardware, firmware, software or their combination of the various operations in preceding method of the present invention, form equipment of the present invention and each building block thereof.
Therefore,, based on above-mentioned understanding, object of the present invention can also realize by move a program or batch processing on any messaging device.Described messaging device can be known common apparatus.Therefore, object of the present invention also can be only by providing the program product that comprises the program code of realizing described method or equipment to realize.That is to say, such program product also forms the present invention, and storage or the medium that transmits such program product also form the present invention.Obviously, described storage or transmission medium can be well known by persons skilled in the art, or storage or the transmission medium of any type developing in the future, therefore also there is no need at this, various storages or transmission medium to be enumerated.
In equipment of the present invention and method, obviously, each parts or each step reconfigure after can decomposing, combine and/or decomposing.These decomposition and/or reconfigure and should be considered as equivalents of the present invention.The step that also it is pointed out that the above-mentioned series of processes of execution can order naturally following the instructions be carried out in chronological order, but does not need necessarily according to time sequencing, to carry out.Some step can walk abreast or carry out independently of one another.Simultaneously, in the above in the description of the specific embodiment of the invention, the feature of describing and/or illustrating for a kind of embodiment can be used in same or similar mode in one or more other embodiment, combined with the feature in other embodiment, or substitute the feature in other embodiment.
Should emphasize, term " comprises/comprises " existence that refers to feature, key element, step or assembly while using herein, but does not get rid of the existence of one or more further feature, key element, step or assembly or add.
Although described the present invention and advantage thereof in detail, be to be understood that in the situation that do not exceed the spirit and scope of the present invention that limited by appended claim and can carry out various changes, alternative and conversion.And the application's scope is not limited only to the specific embodiment of the described process of description, equipment, means, method and step.One of ordinary skilled in the art will readily appreciate that from disclosure of the present invention, can use carry out with the essentially identical function of corresponding embodiment described herein or obtain process, equipment, means, method or step result essentially identical with it, that existing and will be developed future according to the present invention.Therefore, appended claim is intended to comprise such process, equipment, means, method or step in their scope.

Claims (11)

1. an image processing method changes predetermined pattern under predetermined background, it is characterized in that, comprising:
Control described predetermined pattern moves along predetermined movement track in predetermined background;
In the moving process of described predetermined pattern, obtain the current location of described predetermined pattern, and according to the current location of described predetermined pattern, control current Show Color and the Changing Pattern thereof of described predetermined pattern;
Described predetermined movement track is:
p x ( t ) = { ( 80 - 5 t ) &times; sin [ ( 160 - 5 t 2.25 ) &times; 2 &pi; &times; 1 960 ] p y ( t ) = 25 t ( 0 &le; t &le; 16 ) ;
P xand p ybe respectively abscissa and the vertical coordinate of each pixel in described predetermined pattern.
2. image processing method according to claim 1, is characterized in that, the change color rule of described predetermined pattern is:
C ( p ) = c G , | p x | &le; 20 - 0.2 p y c R , p x > 20 - 0.2 p y c B , p x < - ( 20 - 0.2 p y ) ,
Wherein, C r, C g, C bbe respectively the value in R, G, each dimension of B in RGB colorimetric system of red light, green light, blue light.
3. image processing method according to claim 1 and 2, is characterized in that, also comprises:
According to the current location of described predetermined pattern, the light intensity of controlling described predetermined pattern changes according to predetermined rule.
4. image processing method according to claim 3, is characterized in that, by changing C r, C g, C bthe light intensity of controlling described predetermined pattern changes.
5. image processing method according to claim 4, is characterized in that, the Changing Pattern of described light intensity is:
C R = v Rp - 384 482 - 384 &times; ( 255 - 127 ) + 127 ;
C B = v Bp - 609 659 - 609 &times; ( 255 - 127 ) + 127 ;
C G = v Gp - 526 599 - 526 &times; ( 255 - 127 ) + 127 ;
Wherein, v Rp = ( P max - p y ) P max &CenterDot; ( 482 - 384 ) + 384 , v Bp = ( P max - p y ) P max &CenterDot; ( 659 - 609 ) + 609 , p maxlongitudinal size for terminal display.
6. an image processing apparatus, for predetermined pattern is changed under predetermined background, is characterized in that, comprises motion process module and color treatments module, wherein:
Described motion process module is used for controlling described predetermined pattern and along predetermined movement track, moves in predetermined background, and in the moving process of described predetermined pattern, obtains the current location of described predetermined pattern;
Described color treatments module, for receiving the treated predetermined pattern of described motion process module output, according to the current location of described predetermined pattern, is controlled current Show Color and the Changing Pattern thereof of described predetermined pattern;
Described predetermined movement track is:
p x ( t ) = { ( 80 - 5 t ) &times; sin [ ( 160 - 5 t 2.25 ) &times; 2 &pi; &times; 1 960 ] p y ( t ) = 25 t ( 0 &le; t &le; 16 ) ;
P xand p ybe respectively abscissa and the vertical coordinate of each pixel in described predetermined pattern.
7. image processing apparatus according to claim 6, is characterized in that, the change color rule of described predetermined pattern is:
C ( p ) = c G , | p x | &le; 20 - 0.2 p y c R , p x > 20 - 0.2 p y c B , p x < - ( 20 - 0.2 p y ) ,
Wherein, C r, C g, C bbe respectively the value in R, G, each dimension of B in RGB colorimetric system of red light, green light, blue light.
8. according to the image processing apparatus described in claim 6 or 7, it is characterized in that, also comprise light intensity processing module, for according to the current location of described predetermined pattern, the light intensity of controlling described predetermined pattern changes according to predetermined rule.
9. image processing apparatus according to claim 8, is characterized in that, described light intensity processing module is connected to the outfan of described color treatments module, for passing through to change C r, C g, C bthe light intensity of controlling described predetermined pattern changes.
10. image processing apparatus according to claim 9, is characterized in that, the Changing Pattern of described light intensity is:
C R = v Rp - 384 482 - 384 &times; ( 255 - 127 ) + 127 ;
C B = v Bp - 609 659 - 609 &times; ( 255 - 127 ) + 127 ;
C G = v Gp - 526 599 - 526 &times; ( 255 - 127 ) + 127 ;
Wherein, v Rp = ( P max - p y ) P max &CenterDot; ( 482 - 384 ) + 384 , v Bp = ( P max - p y ) P max &CenterDot; ( 659 - 609 ) + 609 , p maxlongitudinal size for terminal display.
11. 1 kinds of eye instrument for training, comprise the image processing apparatus as described in claim 6-10 any one, it is characterized in that:
Also comprise display part;
Described display part is connected to the outfan of described image processing apparatus, for showing the image after image processing apparatus is processed.
CN201210445995.3A 2012-11-08 2012-11-08 Image processing method, image processing device and eye-training instrument Active CN102940564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210445995.3A CN102940564B (en) 2012-11-08 2012-11-08 Image processing method, image processing device and eye-training instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210445995.3A CN102940564B (en) 2012-11-08 2012-11-08 Image processing method, image processing device and eye-training instrument

Publications (2)

Publication Number Publication Date
CN102940564A CN102940564A (en) 2013-02-27
CN102940564B true CN102940564B (en) 2014-08-13

Family

ID=47723631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210445995.3A Active CN102940564B (en) 2012-11-08 2012-11-08 Image processing method, image processing device and eye-training instrument

Country Status (1)

Country Link
CN (1) CN102940564B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1294905A (en) * 1999-11-07 2001-05-16 杨续军 Stereo-phantom eye setting-up exercise system
JP2003019171A (en) * 2001-07-10 2003-01-21 Tomonori Tamura Training device for the eye and physical exercise
CN102309396B (en) * 2010-07-02 2013-01-09 王正 Three-dimensional (3D) simulation amblyopia therapeutic apparatus

Also Published As

Publication number Publication date
CN102940564A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
Jiang et al. Effects of mobile phone distraction on pedestrians’ crossing behavior and visual attention allocation at a signalized intersection: An outdoor experimental study
EP3998552A1 (en) Image processing method and apparatus, and electronic device
Varma et al. The mental representation of integers: An abstract-to-concrete shift in the understanding of mathematical concepts
CN106491324A (en) Virtual reality visual auxesis, visual exercise and vision correction procedure and system
CN107850777A (en) The method and apparatus of optical aberrations correction
CN104103033B (en) View synthesis method
CN109753938A (en) Image-recognizing method and equipment and the training method of application, neural network
KR20190105745A (en) Electronic apparatus and control method thereof
CN107194426A (en) A kind of image-recognizing method based on Spiking neutral nets
Axelrod et al. Conscious awareness is required for holistic face processing
CN102881004A (en) Digital image enhancement method based on optic nerve network
CN106067016A (en) A kind of facial image eyeglass detection method and device
CN106372729A (en) Depth learning method and device for mental analysis
CN103976706A (en) Intelligent vision examination device
CN107544675A (en) Brain control formula virtual reality method
CN106485090A (en) A kind of Driver Vision perception forecast model generation method based on recurrence learning
CN109934781A (en) Image processing method, device, terminal device and computer readable storage medium
CN102940564B (en) Image processing method, image processing device and eye-training instrument
Nguyen et al. Visual adaptation to natural scene statistics and visual preference
Song et al. Identification of dangerous driving state based on lightweight deep learning model
CN113986181B (en) Display adjustment method, device, electronic equipment and storage medium
CN102935030B (en) Eye training instrument
CN108764459B (en) Target recognition network design method based on semantic definition
Ma et al. Driver behavior recognition based on attention module and bilinear fusion network
Hu et al. What are the actual needs of visually impaired people?

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: 100010, A203, 85 South Fourth Street, Beijing, Dongcheng District

Patentee after: Zong Yi

Address before: 100017 No. 13 West Chang'an Avenue, Beijing, Xicheng District

Patentee before: Zong Yi