CN108573484A - A kind of measuring system and method for presbyopic diopter - Google Patents

A kind of measuring system and method for presbyopic diopter Download PDF

Info

Publication number
CN108573484A
CN108573484A CN201710832643.6A CN201710832643A CN108573484A CN 108573484 A CN108573484 A CN 108573484A CN 201710832643 A CN201710832643 A CN 201710832643A CN 108573484 A CN108573484 A CN 108573484A
Authority
CN
China
Prior art keywords
diopter
image
face
consumer
operating position
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
CN201710832643.6A
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 CN108573484A publication Critical patent/CN108573484A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10141Special mode during image acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30041Eye; Retina; Ophthalmic
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Ophthalmology & Optometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Quality & Reliability (AREA)
  • Radiology & Medical Imaging (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The present invention relates to a kind of measuring system of presbyopic diopter, the camera is for obtaining consumer operating position face-image and obtaining consumer's near point face-image;Described image processing 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 presbyopic diopter according to two dioptometers.In the present invention, presbyopic diopter 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 presbyopic diopter
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 2017102928066 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 2017102928066 application for a patent for invention.
Technical field
The invention belongs to presbyopic diopter detection technique field, the measuring system of especially a kind of presbyopic diopter and side Method.
Background technology
Presbyopic refers to the case where aged people gradually generates near-distance reading or operational difficulties, this is function of human body aging A kind of phenomenon, such as:See that tiny that the handwriting is blurred is unclear, it is necessary to books, newspaper are taken into the remote writing that can just see clearly above, Continue to increase with the age, be moved even if books and newspapers are remote as possible, it is also difficult to obtain clearly eyesight, pendant can be passed through at this time Convex lens is worn to improve near-sighted ability.
Most simple, the practical antidote of presbyopic 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 the use of border, optometry unit still there are problems that:1. optometry unit is specialized hardware, the optist for engaging profession is needed, It is gradually operated by it when measuring, completes the measurement of diopter, general user, which is difficult that special purchasing price is high, to be tested Light instrument, and the professional training of optometry operation can not be obtained;2. the accuracy of optometry unit is influenced by several factors, than 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 unit is improper as unique basis that glasses are prepared;3. optometry unit is only capable of measuring the substantially situation of diopter, right Solve consumer's dioptric degree provide reference, optist finally or will according to the subjective feeling of consumer carry out inserted sheet try on Determine 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 a kind of measuring system of presbyopic diopter of eye state at any time, everywhere.
The technical solution adopted by the present invention is that:
A kind of measuring system of presbyopic diopter, 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 diopters Calculate presbyopic diopter.
It is a further object to provide a kind of measurement method of the measuring system of presbyopic diopter, 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;
(2) carry the terminal movement of camera and the face far from consumer, the simple eye naked eye of consumer are whole from the near to the distant Hold 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, presbyopic diopter 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, (2) 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 understand whenever and wherever possible The state of the eyes of itself.
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 make For the foundation with mirror.
4. in the present invention, presbyopic diopter 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 presbyopic diopter, 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 diopters Calculate presbyopic diopter.
The method that the measuring system of above-mentioned presbyopic diopter uses is: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;
(2) carry the terminal movement of camera and the face far from consumer, the simple eye naked eye of consumer are whole from the near to the distant Hold 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 judges the state of eyes according to the relationship of near point diopter and the amplitude of accommodation, when for presbyopic state, into next step Suddenly, measurement process is otherwise exited;
(6) presbyopic diopter is the difference of the diopter of operating position diopter and near point.It is anti-!!
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.Such as Fig. 1 Shown in (a, b), 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, is then directly determined as presbyopic in 60 years old or more;
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 presbyopia, 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 shows a sighting target, this sighting target can be a figure, a symbol towards the face of consumer in its screen Or the English alphabet E etc. in standard visual acuity chart as shown in Figure 5, consumer can click button on screen, quick camera button Carry out the acquisition of face-image.And common camera can connect computer, and a cardboard is pasted on camera, draw thereon, It is pasted with figure, symbol or letter e etc., the face-image that camera obtains is collected in computer, can also realize regard in this way Target acts on.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, and screen is bright Degree reaches 200 (cd/m2), otherwise can there is a little influence on result.(see《Standard logarithmic visual acuity chart (GB-11533-2011)》 5.3 sections).
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 carry out mobile mode or even terminal is fixed by mobile device clamping terminal And the mode of consumer's automatic moving is also possible, any one mode in these four modes may be implemented by remote and Close or effect from the near to the distant, certainly, movement more stable, more at the uniform velocity is 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:Using in Opencv Color space conversion 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:Use 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, have Have the advantages that lightweight and efficient, be 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 is by 10 ~55 centimetres, it is corresponding as upper diameter D be 291~52, this is unified for as upper a diameter of pixel value, the pixel of face-image 1944*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, presbyopic diopter are carried out Calculation formula be:
Formula is 2. by presbyopic diopter=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 presbyopic diopter.
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, despite the presence of error, but for subsequent When diopter calculates, it can be ignored completely.
Embodiment 1
Certain consumer 50 years old, 160 centimetres of height, women are " emmetropia " in the past, never wore glasses, it is desirable that match presbyopic Mirror is in the lighting environment of the normal light of office, the use of mobile phone is Samsung, is stood below fluorescent tube, block right eye, is held Mobile phone carries out the presbyopic diopter measurement of left eye from the near to the distant, and mobile phone is generally remained at the uniform velocity in moving process, and left eye observation regards Line 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 58 pixels and 97 pixels on diameter and operating position picture near point picture.
The pixel of near point face-image is 1920*2560, engineer's scale 58/1920=0.03, carries out curve according to fig. 3 and looks into It is worth to Y=50 centimetres of sighting distance, formula is substituted into and calculates near point diopter=- 2.0D;
The amplitude of accommodation=15-0.25*50=2.5D, then:-2+2.5>0, show that this consumer suffers from presbyopic.
The pixel of operating position face-image is 1920*2560, engineer's scale 97/1920=0.05, according to fig. 3 march Line, which is looked into, is worth to Y=30 centimetres of sighting distance, substitutes into formula evaluation work diopter=- 3.25D
Therefore obtain presbyopic diopter=- 2.0- (- 3.25)=+ 1.25D.
The word that 30 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 40 years old, 180 centimetres of height, male, during meal in certain market restaurant, before restaurant's incandescent lamp with from Oneself mobile phone is iphone, stands by the window, blocks left eye, and hand-held mobile phone carries out the presbyopic diopter measurement of right eye from the near to the distant, Mobile phone is generally remained in moving process at the uniform velocity, the sight of right 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*40=5D, then:-11.5+5<0, obtain this artificial myopia.
Embodiment 3
One age was 60 years old women, and indoors in fine day environment, it is old to carry out right eye using vivo mobile phones for 155 centimeters of height Flower diopter measurement.This person covers left eye with left hand in measurement process, and hand handle machine slowly moves.
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 navigated to rapidly optimum position when being usually engaged in needlework work by consumer again, and voice input position is true Fixed 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 2, show that diameter is respectively 204 pictures on diameter and near point picture on the picture of operating position Element and 66 pixels.
The pixel of near point face-image is 2448*3264, and Y=55 centimetres of sighting distance is calculated according to formula (k takes 1.5), It substitutes into formula and calculates near point diopter=- 1.82D ≈ -1.75D
60 years old this person's age, therefore according to the warp at Hofstetter (Hough Si Dite) ages and amplitude of accommodation relationship proposed Formula is tested, is directly determined as presbyopia.
The pixel of operating position face-image is 2448*3264, sighting distance Y=18 is calculated according to formula (k takes 1.5) Centimetre, substitute into formula evaluation work diopter=- 5.5D
Therefore obtain presbyopic diopter=- 1.75- (- 5.5)=+ 3.75D.
Can it normally be engaged in needlework work in best operational position during wearing this number of degrees glasses, illustrate that result of calculation is It is suitble to the suitable number of degrees of consumer's current state.The diopter of same process measurement another eyes obtains suitable degree Number.
Embodiment 4
One age was 44 years old women, I regards close difficult, (fine day noon) in shade environment, family daytime outdoors respectively The many places such as (fine day afternoon) carry out the measurement of right eye presbyopic diopter in natural illumination environment, and measurement data, that is, result of calculation is shown in Table 1, wherein the mode moved using handheld terminal at outdoor, indoors using other people handheld terminals and consumer voluntarily moves Dynamic mode, outdoor application mobile phone, interior use tablet computer.Other conditions and embodiment 3 are identical.Certain near point iris As the pixel value of upper diameter is 37.
The pixel that near point measures face-image is 480*960, engineer's scale 24/480=0.05, and carrying out curve according to figure looks into It is worth to Y=30 centimetres of sighting distance, show that adjustment diopter is -3.3D;The amplitude of accommodation=15-0.25*44=4D.
Adjust the diopter+amplitude of accommodation=0.7>0 thus obtain this consumer suffer from presbyopic.
It is as follows repeatedly to measure near point data:
Calculate the average value of above-mentioned presbyopic diopter:
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 presbyopic diopter, 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 Presbyopic diopter.
2. a kind of measurement method of the measuring system of presbyopic diopter 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, presbyopic diopter are the difference of the diopter of operating position diopter and near point.
3. a kind of measurement method of presbyopic diopter 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 presbyopic diopter 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 presbyopic diopter 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 presbyopic diopter 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 presbyopic diopter 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 presbyopic diopter 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 presbyopic diopter 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.
CN201710832643.6A 2017-04-28 2017-09-15 A kind of measuring system and method for presbyopic diopter Pending CN108573484A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710292806 2017-04-28
CN2017102928066 2017-04-28

Publications (1)

Publication Number Publication Date
CN108573484A true CN108573484A (en) 2018-09-25

Family

ID=63576369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710832643.6A Pending CN108573484A (en) 2017-04-28 2017-09-15 A kind of measuring system and method for presbyopic diopter

Country Status (1)

Country Link
CN (1) CN108573484A (en)

Citations (5)

* 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
CN101721195A (en) * 2009-12-22 2010-06-09 司徒尚炎 Remote self-help refraction system for presbyopic glasses and method thereof
CN102138776A (en) * 2010-02-03 2011-08-03 株式会社来易特制作所 Eye examination apparatus, method for manufacturing spectacle lens, spectacle lens, method for manufacturing multifocal eyeglasses, and multifocal eyeglasses
CN103528562A (en) * 2013-10-26 2014-01-22 吉林大学 Method for detecting distance of human eyes and display terminal based on single camera
JP5714350B2 (en) * 2011-02-14 2015-05-07 株式会社シグマ Viewfinder optical system

Patent Citations (5)

* 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
CN101721195A (en) * 2009-12-22 2010-06-09 司徒尚炎 Remote self-help refraction system for presbyopic glasses and method thereof
CN102138776A (en) * 2010-02-03 2011-08-03 株式会社来易特制作所 Eye examination apparatus, method for manufacturing spectacle lens, spectacle lens, method for manufacturing multifocal eyeglasses, and multifocal eyeglasses
JP5714350B2 (en) * 2011-02-14 2015-05-07 株式会社シグマ Viewfinder optical system
CN103528562A (en) * 2013-10-26 2014-01-22 吉林大学 Method for detecting distance of human eyes and display terminal based on single camera

Similar Documents

Publication Publication Date Title
CN110377385B (en) Screen display method and device and terminal equipment
CN107890336B (en) Diopter detecting system based on intelligent handheld device
KR102056333B1 (en) Method and apparatus and computer program for setting the indication of spectacle lens edge
CN107184178A (en) A kind of hand-held vision drop instrument of intelligent portable and optometry method
CN104090371B (en) A kind of 3D glasses and 3D display systems
CN107077593A (en) For the enhanced system and method for display screen
CN111295129B (en) Visual acuity examination
KR20140138660A (en) Method for determining a behavioural, postural or geometric-morphological characteristic of a person wearing spectacles
EP3789816A1 (en) Device and method for mapping of visual scene onto projection surface
US20150049952A1 (en) Systems and methods of measuring facial characteristics
US20220151488A1 (en) Computer-implemented method and system for interactively measuring ocular refractive errors, addition and power of reading glasses
WO2022137603A1 (en) Determination method, determination device, and determination program
US20160309998A1 (en) System and Methods for Assessing Vision Using a Computing Device
CN106503644A (en) Glasses attribute detection method based on edge projection and color characteristic
CN106203370A (en) A kind of test near and distance method and system based on computer vision technique
US20220301294A1 (en) Method and device for determining a refraction feature of an eye of a subject using an image-capture device
CN108703738A (en) A kind of measuring system and method for hyperopic refractive degree
CN104483754A (en) Head-wearing type multimedia terminal assisted watching system aiming at patient with dysopia
US20230020160A1 (en) Method for determining a value of at least one geometrico-morphological parameter of a subject wearing an eyewear
CN108573204A (en) A kind of measurement method of pupil of human distance
CN108567405A (en) A kind of measuring system and method for myopic refractive degree
CN108573484A (en) A kind of measuring system and method for presbyopic diopter
CN108567407A (en) A kind of measuring system and method for astigmatism diopter
CN108567406A (en) A kind of analytical measurement system and method for human eye diopter
CN109464118A (en) One kind is based on the detection of mobile phone eyesight and glasses preparation method

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: 20180925

RJ01 Rejection of invention patent application after publication