CN108703738A - A kind of measuring system and method for hyperopic refractive degree - Google Patents

A kind of measuring system and method for hyperopic refractive degree Download PDF

Info

Publication number
CN108703738A
CN108703738A CN201710834121.XA CN201710834121A CN108703738A CN 108703738 A CN108703738 A CN 108703738A CN 201710834121 A CN201710834121 A CN 201710834121A CN 108703738 A CN108703738 A CN 108703738A
Authority
CN
China
Prior art keywords
image
face
consumer
operating position
near point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710834121.XA
Other languages
Chinese (zh)
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.)
Demarcation Line (tianjin) Network Technology Co Ltd
Original Assignee
Demarcation Line (tianjin) Network Technology Co Ltd
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 Demarcation Line (tianjin) Network Technology Co Ltd filed Critical Demarcation Line (tianjin) Network Technology Co Ltd
Publication of CN108703738A publication Critical patent/CN108703738A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B3/00Apparatus for testing the eyes; Instruments for examining the eyes
    • A61B3/02Subjective types, i.e. testing apparatus requiring the active assistance of the patient
    • A61B3/028Subjective types, i.e. testing apparatus requiring the active assistance of the patient for testing visual acuity; for determination of refraction, e.g. phoropters
    • A61B3/032Devices for presenting test symbols or characters, e.g. test chart projectors
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B3/00Apparatus for testing the eyes; Instruments for examining the eyes
    • A61B3/02Subjective types, i.e. testing apparatus requiring the active assistance of the patient
    • A61B3/028Subjective types, i.e. testing apparatus requiring the active assistance of the patient for testing visual acuity; for determination of refraction, e.g. phoropters
    • A61B3/0285Phoropters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B3/00Apparatus for testing the eyes; Instruments for examining the eyes
    • A61B3/10Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions
    • A61B3/11Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions for measuring interpupillary distance or diameter of pupils
    • A61B3/112Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions for measuring interpupillary distance or diameter of pupils for measuring diameter of pupils
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/48Extraction of image or video features by mapping characteristic values of the pattern into a parameter space, e.g. Hough transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • G06V40/193Preprocessing; Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • G06V40/197Matching; Classification

Abstract

The present invention relates to a kind of measuring system of hyperopic refractive degree, camera is for obtaining consumer operating position face-image and obtaining consumer's near point face-image;Image procossing computing module be used to calculate iris in the face-image of operating position as diameter on the picture of iris in upper diameter, near point face-image, and go out sighting distance, the sighting distance of simple eye near point of simple eye operating position as upper diameter calculation by two, go out the diopter of operating position diopter, near point further according to two stadia computations, finally calculates hyperopic refractive degree according to two dioptometers.In the present invention, hyperopic refractive degree can voluntarily measure result by user, can also result be measured by optician's shop, avoid the influence of the subjective factor of consumer when tradition is tried on inserted sheet during mirror, simplify the process for preparing glasses, make each consumer that can clearly grasp the variation of the number of degrees, software provide diet, life etc. suggestion under carry out eyes health care.

Description

A kind of measuring system and method for hyperopic refractive degree
Priority declaration
The technical solution of the claim 1 of the present invention is required on April 28th, 2017 to China State Intellectual Property Office Content in the specification specific embodiment application No. is 2017102925091 application for a patent for invention that Patent Office submits;
The technical solution of the claim 2 of the present invention is required on April 28th, 2017 to China State Intellectual Property Office Patent Office submit application No. is the priority of claim 1 technical solution of 2017102925091 application for a patent for invention.
Technical field
The invention belongs to hyperopic refractive degree detection technique field, the measuring system of especially a kind of hyperopic refractive degree and side Method.
Background technology
Long sight is since axis oculi is shorter, and when without using adjustment state, collimated light beam is imaged in after eyeball reflects and regarded After nethike embrane, external object can not form clearly image on the retina, have crowd's subjective sensation of long sight to see remote fuzzy, see It is close fuzzyyer, more visible remote eyesight can be obtained by the adjusting of oneself, from the point of view of can also being corrected by positive eyeglass Clear extraneous object.
Most simple, the practical antidote of long sight is wearing spectacles, and most importantly optometry in process for preparation, commonly Equipment is optometry unit, which occupies critically important status in clinical position, and optometry unit is using infrared, electronics, computer Etc. technological means check the incident retrobulbar focus condition of light, have the advantages that measuring speed is fast, easy to use, but in reality It is found in use, optometry unit still there are problems that:1. optometry unit is specialized hardware, the optist for engaging profession is needed, by It is gradually operated when measuring, and completes the measurement of diopter, general user is difficult the high optometry of special purchasing price Instrument, and the professional training of optometry operation can not be obtained;2. the accuracy of optometry unit is influenced by several factors, such as: Consumer's head eye coordinate it is bad, watch that eye is not concentrated, consumer's excessively anxiety etc. can all cause larger error attentively, so optometry Instrument is improper as unique basis that glasses are prepared;3. optometry unit is only capable of measuring the substantially situation of diopter, disappear to understanding The person's of expense dioptric degree provides reference, and optist is finally or inserted sheet is carried out according to the subjective feeling of consumer to be tried on to determine conjunction The suitable number of degrees.
Invention content
It is an object of the invention to overcome the deficiencies of the prior art and provide it is easy to operate, without complicated optometry equipment, be not necessarily to Professional knowledge can understand the measuring system and method for a kind of hyperopic refractive degree of eye state at any time, everywhere.
The technical solution adopted by the present invention is that:
A kind of measuring system of hyperopic refractive degree, it is characterised in that:Including camera, image procossing computing module;
The camera is for obtaining consumer operating position face-image and obtaining consumer's near point face-image;
Described image processing computing module is used to calculate in the face-image of operating position diameter, near point face on the picture of iris Diameter on the picture of iris in portion's image, and pass through two sighting distances for going out as upper diameter calculation simple eye operating position, simple eye close The sighting distance of point, the diopter of operating position diopter, near point is gone out further according to two stadia computations, finally according to two dioptometers Calculate hyperopic refractive degree.
It is a further object to provide a kind of measurement method of the measuring system of hyperopic refractive degree, feature exists In:Measurement process includes the following steps:
(1) the terminal movement with camera is made and from the distant to the near close to the face of consumer, the simple eye naked eye of consumer The sighting target of terminal setting, when reach suitably apart from when, camera obtains consumer operating position face-image;
Carry camera terminal movement from close to face from the face far from consumer, consumer are simple eye from the near to the distant Naked eye terminal setting sighting target, when reach suitably apart from when, camera obtain consumer's near point face-image;
(3) diameter on the picture of iris is calculated in the face-image of operating position, the picture of iris near point face-image is calculated Upper diameter;
(4) according to the corresponding iris of operating position face-image as upper diameter calculation goes out the sighting distance of simple eye operating position, According to the corresponding iris of near point face-image as upper diameter calculation goes out the sighting distance of simple eye near point;
(5) operating position diopter is gone out according to the stadia computation of operating position, bending near point is calculated according to the stadimeter of near point Luminosity, hyperopic refractive degree are the difference of the diopter of operating position diopter and near point.
Moreover, (1) the suitable distance is that consumer thinks the distance for reaching reading or near work to step.
Moreover, (3) the suitable distance is distance when consumer has just seen clear sighting target to step.
Moreover, the sighting distance be consumer list eye iris center to sighting target vertical range, by curve look into value method or Computing method of formula obtains.
Moreover, establishing the process of curve is:
The iris of pre-production consumer face-image as the sample table between upper diameter and the sighting distance actually measured, Engineer's scale is found out by the ratio as upper diameter and consumer's face-image width;
(2) the coordinate system that the sighting distance actually measured is abscissa, engineer's scale is ordinate is established;
(3) curve is drawn in coordinate system according to sample table;
Looking into the process of value is:
(1) the numerical value of engineer's scale is obtained with the calculated width as upper diameter divided by the face image of people;
(2) the numerical value of the corresponding sighting distance of abscissa is searched according to the numerical value of engineer's scale on curve.
Moreover, the computing method of formula uses following formula:
Wherein, Y is distance, and K values are the pixel value that 1.5 ± 0.2, W is face-image width, and D is straight on the picture of iris Diameter.
Moreover, the computational methods of the near point diopter are:Near point diopter=- (sighting distance of 1/ near point).
Moreover, the computational methods of the diopter of the operating position are:The diopter of operating position=- (1/ operating position Sighting distance).
Moreover, the iris includes the following steps as the calculating process of upper diameter:
(1) color space conversion processing is carried out to face-image, obtain gray level image;
(2) histogram equalization processing is carried out to the result of step (1);
(3) the grader that human eye area is carried out to the result of step (2) positions;
(4) binary conversion treatment is carried out to the result of step (3);
(5) hough-circle transform processing is carried out to the result of step (4), obtain diameter on the picture of iris center and iris.
The advantages and positive effects of the present invention are:
1. in this system, consumer only needs the terminals such as mobile phone, a tablet computer with front camera, by certain Operating procedure complete the acquisition of image, remaining calculating section completed by software, finally shows diopter on a display screen Information, consumer do not need to buy expensive optometry equipment, without the optometry training by profession, can be known from whenever and wherever possible The state of the eyes of body.
2. in this system, consumer can be carried out diopter in any environment such as work, life, shopping, queuing It measures, as long as camera can normally obtain face image and calculate pupil reflective spot, so that it may to obtain accurate dioptric Degree, and measure it is easy, efficient, when changing tradition with mirror the most of the time spend in the situation in inserted sheet adjustment.
3. in this system, consumer can in different times, different places carry out the measurement of diopter, avoid biography During mirror under unified central planning, the error that consumer can only generate in optician's shop progress single optometry, consumer can be in not in eyes It is taken multiple measurements when with fatigue state, statistics calculating is carried out by software, obtains the average value of diopter, which can be used as Foundation with mirror.
4. in the present invention, hyperopic refractive degree can voluntarily be measured by user as a result, can also be measured by optician's shop as a result, The influence for avoiding the subjective factor of consumer when tradition is tried on inserted sheet during mirror, simplifies the process for preparing glasses, Make each consumer that can clearly grasp the variation of the number of degrees, software provide diet, life etc. suggestion under into The health care of row eyes.
Description of the drawings
Fig. 1 (a), (b) are the sighting distance of the operating position face image of the present invention and the sighting distance of near point face image respectively Test schematic;
Fig. 2 is the part sample table measured in advance;
Fig. 3 is the curve of the sighting distance of sample drawing and engineer's scale relationship according to fig. 2;
Fig. 4 be according to fig. 2 the sighting distance of sample drawing and iris as upper diameter Relationship curve;
Fig. 5 is the schematic diagram of sighting target.
Specific implementation mode
With reference to embodiment, the present invention is further described, and following embodiments are illustrative, are not restrictive, Protection scope of the present invention cannot be limited with following embodiments.
A kind of measuring system of hyperopic refractive degree, as shown in Fig. 1~5, innovation of the invention is:Including camera, figure As processing computing module;
The camera is for obtaining consumer operating position face-image and obtaining consumer's near point face-image;
Described image processing computing module is used to calculate in the face-image of operating position diameter, near point face on the picture of iris Diameter on the picture of iris in portion's image, and pass through two sighting distances for going out as upper diameter calculation simple eye operating position, simple eye close The sighting distance of point, the diopter of operating position diopter, near point is gone out further according to two stadia computations, finally according to two dioptometers Calculate hyperopic refractive degree.
The measurement method of the measuring system of hyperopic refractive degree, it is characterised in that:Measurement process includes the following steps:
(1) the terminal movement with camera is made and from the distant to the near close to the face of consumer, the simple eye naked eye of consumer The sighting target of terminal setting, when reach suitably apart from when, camera obtains consumer operating position face-image;
Carry camera terminal movement from close to face place from the near to the distant close to it is proximal and distal far from face, consumer list Eye naked eye terminal setting sighting target, when reach suitably apart from when, camera obtain consumer's near point face-image;
(3) diameter on the picture of iris is calculated in the face-image of operating position, the picture of iris near point face-image is calculated Upper diameter;
(4) according to the corresponding iris of operating position face-image as upper diameter calculation goes out the sighting distance of simple eye operating position, According to the corresponding iris of near point face-image as upper diameter calculation goes out the sighting distance of simple eye near point;
(5) operating position diopter is gone out according to the stadia computation of operating position, bending near point is calculated according to the stadimeter of near point Luminosity calculates near point diopter according to the stadimeter of near point, judges eyes according to the relationship of near point diopter and the amplitude of accommodation State, into next step, otherwise exits measurement process when for distance vision state:
(6) hyperopic refractive degree is the difference of the diopter of operating position diopter and near point.
More preferably:Step (1) the suitable distance be consumer think to reach reading or near work away from From.(2) the suitable distance is distance when consumer has just seen clear sighting target to step.It reads or near work Distance refers to:Consumer can not see clear sighting target at this position, but the distance that reading posture is more comfortable.As Fig. 1 (a, B) shown in, operating position sighting distance is less than near point sighting distance.
(5) the relationship according near point diopter and the amplitude of accommodation judges that the process of the state of eyes is to step:Near point Diopter=- (1/ near point sighting distance), the amplitude of accommodation be derived from Hofstetter (Hough Si Dite) proposition age and the amplitude of accommodation The empirical equation of relationship:The amplitude of accommodation=15-0.25 × age;
When the sum of near point diopter and the amplitude of accommodation are zero, eyes are emmetropia, exit measurement process;
When the sum of near point diopter and the amplitude of accommodation are more than zero, eyes are farsightedness, into next step;
When the sum of near point diopter and the amplitude of accommodation are less than zero, eyes are myopia, exit measurement process.
It is above-mentioned it is simple eye refer to, every time measure when only have one eye to open, in addition one eye is blocked, for example, left eye measure, Block right eye etc., two eyes keep opening state, it is to be measured it is simple eye should not the harness that measures of the influences such as wearing spectacles, U.S. pupil.
Terminal can be smart mobile phone, tablet computer, it might even be possible to be common camera;Smart mobile phone, tablet computer will Screen towards consumer face, in its screen show a sighting target, this sighting target can be a figure, a symbol or English alphabet E in standard visual acuity chart as shown in Figure 5 etc., consumer can click button on screen, quick camera button into The acquisition of row face-image.And common camera can connect computer, and a cardboard is pasted on camera, draw thereon, viscous Figure, symbol or letter e etc. are posted, the face-image that camera obtains is collected in computer, can also realize sighting target in this way Effect.Above-mentioned sighting target is preferably the English alphabet E in standard visual acuity chart, altogether there are three, distributing position as shown in figure 5, and Should be as far as possible close to the position of camera, the drafting specification of E is shown in《Standard logarithmic visual acuity chart (GB-11533-2011)》3.1 Section.
In addition, in simple eye measurement, the simple eye sighting target that face substantially on terminal screen or cardboard has certain water certainly Flat, vertical offset will not influence measurement result, and the extraneous light intensity in measuring environment will reach 300lux, screen intensity Reach 200 (cd/m2), otherwise there can be a little influence on result.(see《Standard logarithmic visual acuity chart (GB-11533-2011)》5.3 Section).
Terminal movement can be realized by different modes, including:By consumer's handheld terminal carry out mobile mode, by Other people handheld terminals carry out mobile mode or mobile mode is carried out by mobile device clamping terminal in addition terminal is fixed and The mode of consumer's automatic moving is also possible, any one mode in these four modes may be implemented from the distant to the near or Effect from the near to the distant, certainly, movement more stable, more at the uniform velocity are more advantageous to the accuracy and agility of measurement.
Since human iris will stablize after being born 18 months in form, and interpersonal actual iris diameter Margin of tolerance very little (± 0.5mm), so the sighting distance found out based on iris diameter is suitable for almost all of year with diopter Age section crowd.So this method has universal applicability.
Above-mentioned operating position face-image, near point face-image iris as the processing procedure of upper diameter includes following step Suddenly:
(1) color space conversion processing is carried out to face-image, obtain gray level image;Color space conversion will be for that will obtain Dot cotton image and near point face-image handled, be converted into gray level image, such as:Use the face in Opencv Color space transformation function void cvCvtColor (const CvArr*src, CvArr*dst, int code), may be implemented RGB Color can also be converted to gray level image to HSV, the conversion of the color spaces such as HSI.
Parameter declaration:
The 8- bit single channel images of src inputs;
The image and input picture size of dst outputs are identical as data type;
code:The pattern of color space conversion, the code realize different types of color space conversion.
(2) histogram equalization processing is carried out to the result of step (1);Histogram equalization is then by using cumulative function pair Gray value is adjusted to realize the enhancing of contrast, such as:Use the histogram equalization function void in Opencv cvEqualizeHist(const CvArr*src,CvArr*dst)。
Parameter declaration:
The 8- bit single channel images of src inputs;
The image and input picture size of dst outputs are identical as data type.
(3) the grader that human eye area is carried out to the result of step (2) positions;It is fixed using trained eye classification device Human eye area is arrived in position, obtains the area image of single eyes.Such as:Use the grader applied to eyes in Opencv " haarcascade_mcs_eyepair_big.Xml ", " haarcascade_mcs_eyepair_small.xml ", " haarcascade_mcs_lefteye.xml ", " haarcascade_mcs_righteye.xml ".
Eyes call library 1 and library 2, single eye images to call library 3 and library 4, instantiation grader class CascadeClassifier The void load (string filename) under CascadeClassifier are called afterwards.
DetectMultiScale function parameter explanations:
The rectangle that objects-detection obtains;
If rejectLevels-does not meet the rectangle of feature, the strong classifier number met in cascade classifier is returned;
The distance that levelWeights-sliding window moves every time.It must be the integral multiple of block movement;
ScaleFactor-image scale factor;
MinNeighbors-expression constitutes the minimum number of the adjacent rectangle of detection target;
Flags-threshold value, i.e. correction coefficient;
MinObjectSize and maxObjectSize-minimum and maximum detection window size, minSize and maxSize Range for the target area limited.
Load function parameter explanations:
string filename:The path in the libraries such as haarcascade_mcs_eyepair_big.Xml.
To step (3) in single eyes area image carry out binary conversion treatment;By the gray scale of the pixel on image Value is set as 0 or 255, that is, whole image is showed and significantly there was only black and white visual effect, marks iris General profile.Such as:Pair it is operated using the cvThreshold function pair single channel array application fixed thresholds in Opencv, i.e., Gray level image carries out threshold operation and obtains bianry image, or removes noise, such as filters the figure of very little or very big pixel value Picture point.
The method for taking threshold value to image that this function is supported is determined by threshold_type.
void cvThreshold(const CvArr*src,CvArr*dst,double threshold,double max_value,int threshold_type)
Parameter declaration:
src:Single channel image;
dst:Export array, it is necessary to, single channel image consistent with the type of src;
threshold:Threshold value;
max_value:Use the maximum value of CV_THRESH_BINARY and CV_THRESH_BINARY_INV;
threshold_type:Threshold type.
(5) the area image of the single eyes to step (4) carries out hough-circle transform processing, obtains iris center and iris As upper diameter.Best circle is matched in eye areas, diameter of a circle is exactly diameter on iris picture, and the center of circle is iris center.
Such as:Using the cvHoughCircles functions in Opencv,
CvSeq*cvHoughCircles(CvArr*image,void*circle_storage,int method, double dp,double min_dist,double param1,double param2,int min_radius,int max_radius)
Parameter declaration:
image:8bit (gray scale) image is inputted, content can be changed by function;
circle_storage:The circle storage silo detected can be memory storage storehouse;
method:Hough transform mode;
dp:Find the accumulative resolution ratio in the circular arc center of circle;
min_dist:The parameter is the minimum range between two different circles that algorithm can obviously be distinguished;
param1:For the edge threshold values upper limit of Canny, lower limit is set to the half of the upper limit;
param2:The threshold values of accumulator;
min_radius:Minimum radius of circle;
max_radius:Maximum radius of circle.
The full name of OpenCV is:Open Source Computer Vision Library, OpenCV are one and are based on The cross-platform computer vision library of (increasing income) distribution, may operate in Linux, Windows and Mac OS operating systems, has Lightweight and efficient advantage, are made of a series of C functions and a small amount of C++ class, at the same provide Python, Ruby, The interface of the language such as MATLAB realizes many general-purpose algorithms in terms of image procossing and computer vision.Certainly, in addition to Other than OpenCV, similar function with the same function, library, kit etc. can also be used to realize function.
The corresponding sighting distance of operating position face-image and the corresponding sighting distance of near point face-image are that consumer is simple eye Iris center can be looked into value method by curve or computing method of formula obtains to the vertical range of sighting target.Either curve looks into value Method or computing method of formula, the sample table of Fig. 2 are the numerical value of random measurement, i.e. sighting distance Y may be operating position sighting distance, The sighting distance of near point or the sighting distance of any position.
Curve looks into value method:
Shoot in advance it is each apart from lower face image, calculate diameter on the picture of iris, then use laser, the rangings such as infrared Equipment carries out field survey, obtains each as the corresponding sighting distance of upper diameter, sees the sample table in Fig. 2, the sighting distance Y in table by 10~ 55 centimetres, it is corresponding as upper diameter D be 291~52, this is unified for 1944* as upper a diameter of pixel value, the pixel of face-image 2592, the former is width W, and the latter is height H, engineer's scale R=D/W.
If sample is enough, the drafting of curve can be carried out according to Y, R in table, the result obtained is shown in Fig. 3, abscissa For sighting distance Y, ordinate is engineer's scale R.
Computing method of formula is:
Using the sample table of table 2 as data source, the curve of drafting is shown in that Fig. 4, abscissa are sighting distance Y, and ordinate is as upper diameter D carries out formula fitting according to the curve of Y and D, obtains
Y is sighting distance, and K values are the pixel value that 1.5 ± 0.2, W is face-image width, and D is diameter on the picture of iris.
After the sighting distance for no matter obtaining face-image by which kind of above-mentioned method, the calculating of diopter, hyperopic refractive degree are carried out Calculation formula be:
Formula is 2. by hyperopic refractive degree=abs (- (sighting distance of 1/ operating position))-abs (- (sighting distance of 1/ near point))
Formula 2. in, abs () is ABS function, is operating position diopter, second abs () in first abs () Interior is near point diopter, and the difference that the two takes absolute value respectively is hyperopic refractive degree.
In test process, sighting distance size verification is carried out by multiple external equipments such as infrared, laser, ultrasonic waves, error is very It is small, substantially 1~2%, it is seen then that the calculated sighting distance of the present invention is very accurate, is bent despite the presence of error, but for subsequent When luminosity calculates, it can be ignored completely.
Embodiment 1
Certain consumer 28 years old, 170 centimetres of height, male are in the lighting environment of the normal light of office, use mobile phone It for Lenovo k5, stands below fluorescent tube, blocks right eye, the hyperopic refractive degree that hand-held mobile phone carries out left eye from the near to the distant measures, Mobile phone is generally remained in moving process at the uniform velocity, the sight of left eye observation is substantially and screen vertical.
At position of the picture that mobile phone screen is shown close to camera area, the mobile hand of consumer from the near to the distant are marked for E Machine presses camera button and obtains near point face-image, consumer clicks storage key when consumer has just seen clear E marks.
So that mobile phone is moved from the distant to the near again, determines position best when a reading or near work, take pictures and store Afterwards, then calculating button is clicked.
Two images are calculated using OpenCV respectively:
(1) color space conversion processing is carried out to face-image, obtain gray level image;
(2) histogram equalization processing is carried out to the result of step (1);
(3) the grader that human eye area is carried out to the result of step (2) positions;
(4) binary conversion treatment is carried out to the result of step (3);
(5) hough-circle transform processing is carried out to step result (4), obtain two as in diameter on the picture of iris center and iris Pixel value.
Diameter is respectively 65 pixels and 118 pixels on diameter and operating position picture near point picture.
The pixel of near point face-image is 1944*2592, and engineer's scale 65/1944=0.033 carries out curve according to fig. 3 It looks into and is worth to Y=45 centimetres of sighting distance, substitute into formula and calculate near point diopter=- 2.22D ≈ -2.25D
The amplitude of accommodation=15-0.25*28=8D, then:-2.25+8>0, show that this consumer suffers from long sight.
The pixel of operating position face-image is 1944*2592, and engineer's scale 118/1944=0.061 is carried out according to fig. 3 Curve, which is looked into, is worth to Y=25 centimetres of sighting distance, substitutes into formula evaluation work position diopter=- 4.0D
Therefore obtain hyperopic refractive degree=- 2.25- (- 4.0)=+ 1.75D.
The word that 25 centimeters can be seen clearly just during wearing this number of degrees glasses illustrates that result of calculation is that this is suitble to disappear The suitable number of degrees of the person's of expense current state.The diopter of same process measurement another eyes, obtains the suitable number of degrees.
Embodiment 2
Certain consumer 14 years old, 150 centimetres of height, male, the time after school are in the normal natural light in classroom, are using mobile phone Iphone stands by the window, and blocks right eye, and the hyperopic refractive degree that hand-held mobile phone carries out left eye from the near to the distant measures, in moving process Generally remain mobile phone at the uniform velocity, the sight of left eye observation is substantially and screen vertical.
Consumer's handheld terminal is pressed by the movement close to face from the near to the distant when consumer has just seen clear E marks Camera button obtains near point face-image, and consumer clicks storage key.
A diameter of 327 pixel near point picture.
The pixel of near point face-image is 1920*2560, and sighting distance Y=1.5*1920/327=is calculated according to formula It 8.8 centimetres, substitutes into formula and calculates near point diopter=- 11.36D ≈ -11.5D
The amplitude of accommodation=15-0.25*18=11.5D, then:- 11.5+11.5=0 obtains this artificial emmetropia.
Embodiment 3
One age was 29 years old women, and 165 centimeters of height is used during lunch in certain market restaurant before restaurant's incandescent lamp Huawei's mobile phone of oneself carries out right eye hyperopic refractive degree and measures.This person in measurement process covers left eye, hand handle machine with left hand It is slowly mobile.
The cell phone of consumer from the near to the distant, when consumer has just seen clear E mark, small distance is moved forward and backward and repeatedly Voice input position determines order after determining this clear position, and then this image is preserved and is uploaded to app by cell phone software automatically In server
Mobile phone is gradually moved to optimum position when usually working by consumer again, and voice input position determines order, Then the image under this position is preserved and is uploaded in app servers by cell phone software automatically.
Calculating process is same as Example 1, obtains on the picture of operating position face-image diameter point on diameter and near point picture It Wei not 51 pixels and 37 pixels.
The pixel of near point face-image is 960*1280, and Y=39 centimetres of sighting distance, generation is calculated according to formula (k takes 1.5) Enter formula and calculates near point diopter=- 2.56D ≈ -2.5D
The amplitude of accommodation=15-0.25*29=7.75D, then:-2.22+7.75>0, show that this consumer suffers from long sight.
The pixel of operating position face-image is 960*1280, Y=28 lis of sighting distance is calculated according to formula (k takes 1.5) Rice substitutes into formula evaluation work position diopter=- 3.5D
Therefore obtain hyperopic refractive degree=- 2.5- (- 3.5)=+ 1D.
The word at operating position can be seen clearly just during wearing this number of degrees glasses, illustrate that result of calculation is to be suitble to be somebody's turn to do The suitable number of degrees of consumer's current state.The diopter of same process measurement another eyes, obtains the suitable number of degrees.
Embodiment 4
One age was 19 years old women, 158 centimeters of height, respectively (fine day noon) in shade environment, family daytime outdoors The many places such as (fine day afternoon) carry out the measurement of right eye hyperopic refractive degree in natural illumination environment, and measurement data, that is, result of calculation is seen below Table, wherein the mode moved using handheld terminal at outdoor, consumer's automatic moving using other people handheld terminals indoors Mode, outdoor application mobile phone, interior use tablet computer.Other conditions and embodiment 3 are identical.On the picture of certain near point iris The pixel value of diameter is 85.
The pixel that near point measures face-image is 1944*2592, engineer's scale 85/1944=0.044, according to figure march Line, which is looked into, is worth to Y=35 centimetres of sighting distance, show that adjustment diopter is -2.75D;The amplitude of accommodation=15-0.25*19=10.25D.
Adjust diopter+Tiao Jiefudu >0 thus obtain this consumer suffer from long sight.
It is as follows repeatedly to measure near point data:
Calculate the average value of above-mentioned hyperopic refractive degree:
Simple arithmetic mean
Weighted mean method:
Geometric average method:
Truncation average method:Remove one highest 3 and minimum 2
The wearing feeling of the opticians degree number and user that are provided with optist by the result of calculation of this method is tied by it is found that calculating Fruit is the number of degrees for being suitble to consumer's current state.The diopter of same process measurement another eyes obtains suitable degree Number.

Claims (10)

1. a kind of measuring system of hyperopic refractive degree, it is characterised in that:Including camera, image procossing computing module;
The camera is for obtaining consumer operating position face-image and obtaining consumer's near point face-image;
Described image processing computing module is used to calculate in the face-image of operating position diameter, near point face figure on the picture of iris As in diameter on the picture of iris, and pass through two sighting distances for going out as upper diameter calculation simple eye operating position, simple eye near point Sighting distance goes out the diopter of operating position diopter, near point further according to two stadia computations, is finally calculated according to two dioptometers Hyperopic refractive degree.
2. a kind of measurement method of the measuring system of hyperopic refractive degree according to claim 1, it is characterised in that:It measured Journey includes the following steps:
(1) the terminal movement with camera is made and from the distant to the near close to the face of consumer, the simple eye naked eye terminal of consumer The sighting target of setting, when reach suitably apart from when, camera obtains consumer operating position face-image;
(2) carry the terminal movement of camera and from the near to the distant close to the face of consumer, the simple eye naked eye terminal of consumer is set The sighting target set, when reach suitably apart from when, camera obtain consumer's near point face-image;
(3) diameter on the picture of iris is calculated in the face-image of operating position, is calculated straight on the picture of iris near point face-image Diameter;
(4) according to the corresponding iris of operating position face-image as upper diameter calculation goes out the sighting distance of simple eye operating position, according to The corresponding iris of near point face-image goes out the sighting distance of simple eye near point as upper diameter calculation;
(5) operating position diopter is gone out according to the stadia computation of operating position, the dioptric of near point is calculated according to the stadimeter of near point Degree, hyperopic refractive degree are the difference of the diopter of operating position diopter and near point.
3. a kind of measurement method of hyperopic refractive degree according to claim 2, it is characterised in that:Step is (1) described suitable Distance be that consumer thinks the distance for reaching reading or near work.
4. a kind of measurement method of hyperopic refractive degree according to claim 2, it is characterised in that:Step is (2) described suitable Distance be distance when consumer has just seen clear sighting target.
5. a kind of measurement method of hyperopic refractive degree according to Claims 2 or 3 or 4, it is characterised in that:The sighting distance is Consumer list eye iris center looks into value method by curve or computing method of formula obtains to the vertical range of sighting target.
6. a kind of measurement method of hyperopic refractive degree according to claim 5, it is characterised in that:Establish the process of curve It is:
The iris of pre-production consumer face-image as the sample table between upper diameter and the sighting distance actually measured, by picture The ratio of upper diameter and consumer's face-image width finds out engineer's scale;
(2) the coordinate system that the sighting distance actually measured is abscissa, engineer's scale is ordinate is established;
(3) curve is drawn in coordinate system according to sample table;
Looking into the process of value is:
(1) the numerical value of engineer's scale is obtained with the calculated width as upper diameter divided by the face image of people;
(2) the numerical value of the corresponding sighting distance of abscissa is searched according to the numerical value of engineer's scale on curve.
7. a kind of measurement method of myopic refractive degree according to claim 5, it is characterised in that:The computing method of formula makes With following formula:
Wherein, Y is distance, and K values are the pixel value that 1.5 ± 0.2, W is face-image width, and D is diameter on the picture of iris.
8. a kind of measurement method of hyperopic refractive degree according to Claims 2 or 3 or 4 or 6 or 7, it is characterised in that:It is described The computational methods of near point diopter are:Near point diopter=- (sighting distance of 1/ near point).
9. a kind of measurement method of hyperopic refractive degree according to Claims 2 or 3 or 4 or 6 or 7, it is characterised in that:It is described The computational methods of the diopter of operating position are:The diopter of operating position=- (sighting distance of 1/ operating position).
10. a kind of measurement method of hyperopic refractive degree according to Claims 2 or 3 or 4 or 6 or 7, it is characterised in that:Institute State iris as the calculating process of upper diameter includes the following steps:
(1) color space conversion processing is carried out to face-image, obtain gray level image;
(2) histogram equalization processing is carried out to the result of step (1);
(3) the grader that human eye area is carried out to the result of step (2) positions;
(4) binary conversion treatment is carried out to the result of step (3);
(5) hough-circle transform processing is carried out to the result of step (4), obtain diameter on the picture of iris center and iris.
CN201710834121.XA 2017-04-28 2017-09-15 A kind of measuring system and method for hyperopic refractive degree Pending CN108703738A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017102925091 2017-04-28
CN201710292509 2017-04-28

Publications (1)

Publication Number Publication Date
CN108703738A true CN108703738A (en) 2018-10-26

Family

ID=63866196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710834121.XA Pending CN108703738A (en) 2017-04-28 2017-09-15 A kind of measuring system and method for hyperopic refractive degree

Country Status (1)

Country Link
CN (1) CN108703738A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111281331A (en) * 2020-04-02 2020-06-16 京东方科技集团股份有限公司 Vision detection method and device and wearable display device
CN117495864A (en) * 2024-01-03 2024-02-02 山东大学 Imaging direction computing system and diopter estimating system based on image processing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2099547U (en) * 1991-09-17 1992-03-25 王永雁 Vision regulating range determining instrument
JP2012168300A (en) * 2011-02-14 2012-09-06 Sigma Corp Finder optical system
CN103476325A (en) * 2011-01-31 2013-12-25 田纳西大学研究基金会 Adaptive photoscreening system
CN103528562A (en) * 2013-10-26 2014-01-22 吉林大学 Method for detecting distance of human eyes and display terminal based on single camera
CN203502693U (en) * 2013-06-03 2014-03-26 戴明华 Myopia-prevention glasses for controlling head position and sitting posture
CN105708467A (en) * 2016-04-06 2016-06-29 广州小亮点科技有限公司 Method for measuring actual distance of human body and customizing spectacle frame

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2099547U (en) * 1991-09-17 1992-03-25 王永雁 Vision regulating range determining instrument
CN103476325A (en) * 2011-01-31 2013-12-25 田纳西大学研究基金会 Adaptive photoscreening system
JP2012168300A (en) * 2011-02-14 2012-09-06 Sigma Corp Finder optical system
CN203502693U (en) * 2013-06-03 2014-03-26 戴明华 Myopia-prevention glasses for controlling head position and sitting posture
CN103528562A (en) * 2013-10-26 2014-01-22 吉林大学 Method for detecting distance of human eyes and display terminal based on single camera
CN105708467A (en) * 2016-04-06 2016-06-29 广州小亮点科技有限公司 Method for measuring actual distance of human body and customizing spectacle frame

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111281331A (en) * 2020-04-02 2020-06-16 京东方科技集团股份有限公司 Vision detection method and device and wearable display device
WO2021196992A1 (en) * 2020-04-02 2021-10-07 京东方科技集团股份有限公司 Visual acuity measurement method and apparatus, and wearable display device
CN117495864A (en) * 2024-01-03 2024-02-02 山东大学 Imaging direction computing system and diopter estimating system based on image processing
CN117495864B (en) * 2024-01-03 2024-04-09 山东大学 Imaging direction computing system and diopter estimating system based on image processing

Similar Documents

Publication Publication Date Title
CN105163649B (en) Computerization dioptric and astigmatism determine
JP4057531B2 (en) Glasses / contact lens selection system and method
US9628697B2 (en) Method and device for measuring an interpupillary distance
CN107184178A (en) A kind of hand-held vision drop instrument of intelligent portable and optometry method
CN107890336B (en) Diopter detecting system based on intelligent handheld device
CN111295129B (en) Visual acuity examination
CN104090371B (en) A kind of 3D glasses and 3D display systems
CN112399817A (en) Measuring refraction of eye
EP3649577B1 (en) Application to determine reading/working distance
US9924861B2 (en) System and methods for assessing vision using a computing device
CN108703738A (en) A kind of measuring system and method for hyperopic refractive degree
CN210383869U (en) Diopter check equipment and system
US20220151488A1 (en) Computer-implemented method and system for interactively measuring ocular refractive errors, addition and power of reading glasses
CN108573204A (en) A kind of measurement method of pupil of human distance
CN108567407A (en) A kind of measuring system and method for astigmatism diopter
CN108567405A (en) A kind of measuring system and method for myopic refractive degree
CN108567406A (en) A kind of analytical measurement system and method for human eye diopter
CN108567404A (en) A kind of measuring system and method for teenager's eyes pseudo-myopia part
CN108567411A (en) A kind of judgement system and method for human eye health state
CN108573484A (en) A kind of measuring system and method for presbyopic diopter
CN208988837U (en) A kind of eye eyesight check device
CN115375611A (en) Model training-based refraction detection method and detection system
CN112674714A (en) Mobile phone image examination optometry method combining filter and peripheral equipment
CN116473501B (en) Automatic recording method, device and system for inserting-sheet type subjective refraction result
EP4197427A1 (en) Method and device for evaluating refraction of an eye of an individual using machine learning

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181026

RJ01 Rejection of invention patent application after publication