CN109893082A - A kind of measuring system of corneal diameter - Google Patents
A kind of measuring system of corneal diameter Download PDFInfo
- Publication number
- CN109893082A CN109893082A CN201711310981.XA CN201711310981A CN109893082A CN 109893082 A CN109893082 A CN 109893082A CN 201711310981 A CN201711310981 A CN 201711310981A CN 109893082 A CN109893082 A CN 109893082A
- Authority
- CN
- China
- Prior art keywords
- image
- scale
- corneal
- unit
- boundary
- 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
Links
Abstract
This application involves a kind of measuring systems of corneal diameter, comprising: obtains the image for carrying cornea;It determines corneal center region, determining corneal center region is known as the first central area;It is respectively that central area intercepts two images as corneal boundary image using the second central area and third central area;Second central area and third central area are that the first central area is offset to both sides the region after pre-determined distance respectively;Two corneal boundary reference lines are determined on two corneal boundary images respectively;Corneal diameter length is obtained according to two corneal boundary reference lines.The application measurement accuracy is high, measurement method is simple and fast and at low cost.
Description
Technical field
This application involves a kind of measuring systems of corneal diameter, belong to field of image processing.
Background technique
Cornea is eyes front end layer of transparent film, and measure corneal diameter has important work in the diagnosis of ophthalmology disease
With.For example, infant development speed is quickly, measurement infant's corneal diameter variation not only understands its growth and development situation, but also
There is valuable help to the diagnosis of congenital glaucoma.Newborn's corneal diameter is greater than 11mm, and infant is greater than 12mm very within 1 years old
There may be intraocular pressure raisings.It, generally can be in 12mm or less after being greater than 3 years old.The children of any age level, corneal diameter are greater than
13mm and the obvious asymmetry of cornea of both eyes diameter belong to exception.Therefore measurement infant's corneal diameter, which just seems, especially closes
Key.
The prior art measures infant's corneal diameter there are mainly two types of mode, and a kind of mode is to pass through mechanical equipment
Carry out, but mechanical equipment low measurement accuracy, generally in 0.5mm hereinafter, and since infant will not cooperate, can in measurement
Mechanical equipment can be caused to damage the eyes of infant, in order to accurately measure, infant can be injected in measurement
Tranquillizer applies general anaesthetic, and not only expense is high, these drugs can also have an impact infant's body;Another way is
Using automatic measuring equipment, for example, optometry curvature instrument, OrbscanIIz eye anterior segment analysis system, Optic coherence biometry and
Corneal topography etc., but these automatic measuring equipments are expensive, and operation is more complicated, and portability is poor, while not being suitable for again
The measurement of infant's cornea transverse diameter.
Summary of the invention
Present applicant proposes a kind of measuring system of corneal diameter, the corneal diameter precision which not only measures is high, and
And measurement method is simple and fast, at low cost.The measuring system of the corneal diameter, comprising: image acquiring device, locating module, figure
As interception module, determining module and computing module;
Image acquiring device, for obtaining the image for carrying cornea;
Determining corneal center region is known as the first central area for determining corneal center region by locating module;
Image interception module, for being respectively that central area intercepts two figures with the second central area and third central area
As being used as corneal boundary image;Second central area and third central area are that the first central area is offset to both sides respectively
Region after pre-determined distance;
Determining module, for determining two cornea sides on two corneal boundary images of image interception module intercepts respectively
Boundary's reference line;
Computing module, two corneal boundary benchmark line computation corneal diameter length for being determined according to determining module.
Wherein, described image acquisition device includes image collection module and scale;
The scale is placed in immediately ahead of eyes;
Described image obtains module and is used to obtain the image for carrying scale, will carry the image of scale as carrying cornea
Image;
The scale is made of handle and framework;The area of the framework is greater than preset value.
Further, framework centre mark is carried in the framework.
Further, the framework is rectangle.
Further, the framework outer minister 20mm to 60mm, wide 20mm to 50mm;Framework inner spare area domain
Long 15mm to 45mm, wide 15mm to 40mm.
Still further, the outer minister 43mm, wide 28mm of the framework;The long 35mm in framework inner spare area domain, it is wide
20mm。
Further, the scale is integrated or separately made of stainless steel.
Further, the rectangle framework is in green.
Further, the centre mark is the crosspoint that two straight lines are diagonally arranged in the framework.
Still further, the centre mark is the crosspoint that two red lines are diagonally arranged in the framework.
Further, the embodiment of the present application further includes extraction module, the carrying scale for obtaining in image acquiring device
Image on extract scale included by image, the image extracted is known as scale image.
Wherein, the extraction module includes color conversion unit and the first extraction unit;
Color conversion unit, the color space of the image of the carrying scale for obtaining image acquiring device is by RGB sky
Between be transformed into the space LAB;
First extraction unit, for extracting scale image on the image of the carrying scale in the space LAB based on histogram.
Further, the rectangle framework of the scale is in green;
Correspondingly, first extraction unit is specifically used for straight based on A channel in the space LAB on the image for carrying scale
Side's figure extracts scale image.
Further, the extraction module further includes verification unit and the second extraction unit;
Verification unit, the scale map for verifying the extraction of the first extraction unit seem it is no correct, if not, triggering second mentions
Take unit;
Second extraction unit, for extracting scale image on the image for carrying scale based on Kmeans clustering algorithm.
It further, further include normalization module, for scale image to be normalized.
Wherein, the normalization module includes unit for scaling and normalization unit;
The unit for scaling, for scale image to be zoomed to specified size;
The normalization unit intercepts specified for the point centered on the scale centre after unit for scaling scaling
The image of size is as the scale image after normalization.
Wherein, the locating module is specifically used for centered on the framework centre mark, intercepts the figure of specified pixel
The graphics field of interception is known as the first central area by region.
It further, further include correction module, for correcting framework centre mark in first central area.
Wherein, the determining module includes image processing unit and Boundary Extraction unit;
Described image processing unit, for obtaining two corneal boundaries two respectively by two corneal boundary image binaryzations
It is worth image;
Boundary Extraction unit, for extracting the boundary of two bianry images respectively, by the vertical tangent line in the outside on each boundary
As corneal boundary reference line.
Further, the determining module further includes adjustment unit, two bases for being determined according to Boundary Extraction unit
Directrix adjusts separately corresponding corneal boundary image, then triggers described image processing unit and Boundary Extraction unit again.
Wherein, the computing module includes coordinate transformation unit, the first computing unit and the second computing unit;
The coordinate transformation unit, for two corneal boundary reference lines to be respectively relative to respective corneal boundary image
Coordinate is converted to the coordinate in cornea image;
First computing unit, for the lateral shift according to two corneal boundary reference line coordinates in cornea image
Value, calculates the pixel span value of corneal diameter;
Second computing unit, based on the pixel span value of the corneal diameter by being calculated according to first computing unit
Calculate corneal diameter length.
If the physical length of corneal diameter is Lcornea, the pixel span value of corneal diameter is Pcornea, the green frame of cornea image
Pixel quantity in range is Nimage, the inside casing area of scale material object is Aimage, then second computing unit calculates
LcorneaFor
The beneficial effect of the application is:
After the embodiment of the present application obtains the image for carrying cornea, corneal center region is determined, then according to corneal center area
Domain obtains corneal boundary image, finally utilizes the corneal boundary reference line determined on corneal boundary image to obtain corneal diameter long
It spends, for mechanical measuring means compared with the existing technology, not only measurement accuracy is high, but also measurement method is simple and fast, is not easy
It is influenced by the activity of infant, due to being not required to tranquillizer or anaesthetic, infant will not both be damaged, and eliminate medicine
Object cost;For method for automatic measurement compared with the existing technology, not only measurement cost is cheap, and measurement accuracy is high, and measures
Operation is simple;
Further, then the application obtains the image for carrying scale, without connecing by scale is arranged immediately ahead of eyes
It contacts that eyes can measure, and makes the image of the carrying cornea obtained more accurate;
Further, scale is made of handle and framework, easy to carry;
Further, it is determined that scale image is extracted on the image for carrying scale, so that subsequent before corneal center region
Processing is more quick, accurate, also improves the precision of measurement;
Further, the embodiment of the present application carry scale image on extract scale image after also to scale image into
Row normalized handles scale image under same coordinate standard, reduces the complexity of subsequent processing.
This application provides a kind of measurement methods of corneal diameter, comprising:
Obtain the image for carrying cornea;
It determines corneal center region, determining corneal center region is known as the first central area;
It is respectively that central area intercepts two images as corneal boundary figure using the second central area and third central area
Picture;Second central area and third central area are that the first central area is offset to both sides the area after pre-determined distance respectively
Domain;
Two corneal boundary reference lines are determined on two corneal boundary images respectively;
Corneal diameter length is obtained according to two corneal boundary reference lines.
Wherein, the image for carrying cornea is obtained, specifically:
Scale is placed in immediately ahead of eyes;
Image collection module obtains the image for carrying scale, will carry the image of scale as the image for carrying cornea.
Wherein, the scale is made of handle and framework;The area of the framework is greater than preset value.
Further, framework centre mark is carried in the framework.
Further, the framework is rectangle.
Further, the scale is integrated or separately made of stainless steel.
Further, the rectangle framework is in green.
Further, before determining corneal center region, further includes:
Image included by scale is extracted on the image for carrying scale, and the image extracted is known as scale image.
Wherein, image included by scale is extracted on the image for carrying scale, specifically:
The color space for carrying the image of scale is transformed into the space LAB by rgb space;
Scale image is extracted on the image of the carrying scale in the space LAB based on histogram.
Further, the rectangle framework of the scale is in green;
Correspondingly, scale image is extracted on the image for carrying scale based on histogram, comprising:
Scale image is extracted based on A channel histogram in the space LAB on the image for carrying scale.
Further, further includes:
The scale map that verification is extracted seems no correct, if not, based on Kmeans clustering algorithm in the image for carrying scale
Upper extraction scale image.
Further, on the image for carrying scale after extraction scale image, further includes:
Scale image is normalized.
Wherein, scale image is normalized, specifically:
Scale image is zoomed into specified size;
Point centered on scale centre after scaling intercepts the image of specified size as the scale image after normalization.
Wherein it is determined that corneal center region, specifically:
Centered on the framework centre mark, the graphics field of specified pixel is intercepted, the graphics field of interception is known as
First central area.
Further, further includes:
Framework centre mark is corrected in first central area.
Wherein, two corneal boundary reference lines are determined on two corneal boundary images respectively, comprising:
Respectively by two corneal boundary image binaryzations, two corneal boundary bianry images are obtained;
The boundary for extracting two bianry images respectively, using the vertical tangent line in the outside on each boundary as corneal boundary benchmark
Line.
Further, further includes:
Corresponding corneal boundary image is adjusted separately according to two corneal boundary reference lines;
Two corneal boundary reference lines are determined again according to corneal boundary image adjusted.
Wherein, corneal diameter length is obtained according to two corneal boundary reference lines, specifically:
The coordinate that two corneal boundary reference lines are respectively relative to respective corneal boundary image is converted in cornea image
In coordinate;
According to the lateral shift value of two corneal boundary reference lines coordinate in cornea image, the pixel of corneal diameter is obtained
Span value;
Corneal diameter length is obtained according to the pixel span value of corneal diameter.
Wherein, cornea length is obtained according to the pixel span value of corneal diameter, specifically:
If the physical length of corneal diameter is Lcornea, the pixel span value of corneal diameter is Pcornea, the green frame of cornea image
Pixel quantity in range is Nimage, the inside casing area of scale material object is Aimage, then LcorneaFor
Detailed description of the invention
Fig. 1 is a kind of measurement method flow diagram of corneal diameter provided by the present application;
Fig. 2 is scale schematic diagram provided by the present application;
Fig. 3 is a kind of measuring system structural schematic diagram of corneal diameter provided by the present application.
Specific embodiment
In order to keep the purpose of the present invention, technical solution and advantage etc. more explicit, concrete instance is enumerated herein
And it is further illustrated with refer-ence to the attached drawings.
Referring to Fig. 1, the embodiment of the invention provides a kind of measurement methods of corneal diameter, comprising:
101, the image for carrying cornea is obtained;
Fig. 2 is a kind of scale schematic diagram provided by the embodiments of the present application, can more accurately be obtained and be taken by the scale
Image with cornea.The scale is made of handle and framework, and the area of framework is greater than preset value, which can be according to being clapped
The eye socket area for the person of taking the photograph determines.Framework is rectangle in the embodiment of the present application, which can integrated or separately be made of stainless steel.
Further, in order to which the cornea image of acquisition is more accurate, framework centre mark can be set in framework, make frame
Body centre mark and the alignment of eye pupil center, framework centre mark can be demarcated by the cornerwise crosspoint of framework,
It can be demarcated by the crosspoint of long side center line and broadside center line, the embodiment of the present application is specific to framework centre mark
Calibration mode is with no restriction.
Scale inside casing used in the embodiment of the present application is long 43mm, money having a size of long 35mm, wide 20mm, frame size
28mm, interior outline border spacing be 4mm, grip size be long 50mm, money 4mm, scale with a thickness of 1mm, the rectangle framework of scale
Peripheral radius of corner is 1mm.
Specifically, the image for carrying cornea can obtain in the following way:
Scale is placed in immediately ahead of eyes;
Image collection module obtains the image for carrying scale, will carry the image of scale as the image for carrying cornea.
In actual use, scale can be placed at the eye socket immediately ahead of the person's of being taken eyes, when placement, make scale
Frame plane face at eye level is parallel as far as possible and is bonded, and by the framework centre mark of scale and the person's of being taken eye pupil center pair
Together, then the scale framework on the image collection module face person's of being taken eye socket is obtained to the image for carrying scale, optimal, figure
As obtaining module and scale framework distance about 10cm~15cm.In the embodiment of the present application image collection module can be camera or
Mobile phone etc..
Further, in order to keep the corneal diameter precision of measurement higher, the embodiment of the present application is determining corneal center region
Before, further includes:
Image included by scale is extracted on the image for carrying scale, and the image extracted is known as scale image.
Specifically, scale image is extracted on the image for carrying scale, are as follows:
The color space for carrying the image of scale is transformed into the space LAB by rgb space;
Scale image is extracted on the image of the carrying scale in the space LAB based on histogram.
Compared with RGB color, LAB is a kind of and device-independent color system, and a kind of based on physiological characteristic
Color system.That is, LAB is the visual response for describing people with method for digitizing.L points in LAB color space
The brightness for indicating pixel is measured, value range is [0,100], is indicated from black to pure white;A indicates the model from red to green
It encloses, value range is [127, -128];B indicates the range from yellow to blue, and value range is [127, -128].
Histogram is a kind of common image processing method, it describes the probability distribution of gray value of image, wherein face
Color can regard the joint probability distribution of the gray value in different channels as, can also intuitively be considered the color that human eye is perceived
Distribution.
Further, in order to more convenient based on histogram extraction scale image, by the length of scale in the embodiment of the present application
Square frame is set as green, correspondingly, scale image is extracted on the image for carrying scale based on histogram are as follows:
Scale image is extracted based on A channel histogram in the space LAB on the image for carrying scale.
Since the rectangle framework of scale is in green, lack haematochrome, and the negative axis directions pair of the A channel in the space LAB
It is quasi- red, scale image zooming-out is carried out to the A channel in the space LAB, the accuracy of scale image zooming-out can greatly be improved
And stability.
In practical application, due to light environment complexity, it is possible that mistake, in order to avoid the influence to subsequent processing,
The embodiment of the present application further include:
The scale map that verification is extracted seems no correct, if not, based on Kmeans clustering algorithm in the image for carrying scale
Upper extraction scale image.
The scale image accuracy extracted based on Kmeans clustering algorithm is relatively high, but speed is very slow, is being based on
After Kmeans clustering algorithm extracts scale image to the A channel in the space LAB, the scale image of extraction can also be verified again
It is whether correct, if verification is incorrect, Kmeans clustering algorithm can be again based on, scale is extracted to the channel AB in the space LAB
Image, until the scale image verification success of extraction.
Further, in order to reduce the complexity of measurement method, scale map picture can be made to carry out under same coordinate standard
Processing, therefore the embodiment of the present application further include:
Scale image is normalized.
Specifically, scale image is normalized, are as follows:
Scale image is zoomed into specified size;
Point centered on scale centre after scaling intercepts the image of specified size as the scale image after normalization.
For example, scale image is carried out undistorted scaling, keep the area in its scale region small as far as possible, i.e., fixed length and width
The minimum of ratio is outer to cut rectangle, and then point centered on the scale picture centre after scaling, the rectangle that interception is one 700 × 400 are made
For the scale image after normalization.
102, it determines corneal center region, determining corneal center region is known as the first central area;
Specifically, centered on framework centre mark, the graphics field of specified pixel is intercepted, the graphics field of interception is claimed
For the first central area.
For example, interception size is the square figure of 50 pixels centered on the rectangle framework diagonal line crosspoint of scale
Shape region, using the square-shaped patterns region having a size of 50 pixels as the first central area.
After determining the first central area, the rectangle framework centre mark of scale may be deviated, therefore the application
Embodiment is after determining the first central area, further includes:
Framework centre mark is corrected in the first central area.
Specifically, canny operator and straight line hough transformation be can use, correct rectangle in square-shaped patterns region
The position in framework diagonal line crosspoint.Canny operator and straight line hough transformation belong to the common knowledge of those skilled in the art,
Details are not described herein for the embodiment of the present application.
It 103, is respectively that central area intercepts two images as cornea side using the second central area and third central area
Boundary's image;Second central area and third central area are that the first central area is offset to both sides the area after pre-determined distance respectively
Domain;
In order to keep subsequent calculating simpler, truncated picture shape is rectangle in the embodiment of the present application, but the application is real
It applies example and is not limited to rectangle, as long as the image shape that can reach the application purpose is ok.
104, two corneal boundary reference lines are determined on two corneal boundary images respectively;
Specifically, two corneal boundary reference lines are determined on two corneal boundary images respectively, comprising:
Respectively by two corneal boundary image binaryzations, two corneal boundary bianry images are obtained;
The boundary for extracting two bianry images respectively, using the vertical tangent line in the outside on each boundary as corneal boundary benchmark
Line.
More preferably, it is bianry image that maximum variance between clusters, which can be used, by corneal boundary image binaryzation, then to this
Bianry image extracts boundary, finally to the vertical tangent line of the standardized item in the outside of arc-shaped side circle, using the vertical tangent line as corneal boundary
Reference line.Maximum between-cluster variance, which refers to, is divided into two classes for entire data using a threshold value, if the variance between two classes
Maximum, then this threshold value is exactly optimal threshold value.It the use of maximum variance between clusters by image binaryzation is those skilled in the art
The common knowledge of member, details are not described herein for the embodiment of the present application.
Since corneal boundary image is there may be the unbalanced phenomenon of monochrome pixels accounting, this phenomenon will cause image side
Boundary's detection inaccuracy, therefore in order to avoid this phenomenon, the embodiment of the present application further include:
Corresponding corneal boundary image is adjusted separately according to two corneal boundary reference lines;
Two corneal boundary reference lines are determined again according to corneal boundary image adjusted.
Specifically, corresponding corneal boundary image can be cut according to determining reference line, so that corneal boundary
Image corresponds to reference line bilateral symmetry along it, and keeps the area of the corneal boundary image cut as maximum as possible, after cutting
Corneal boundary image left and right monochrome pixels accounting it is more balanced, then two corneal boundary images after cutting are held again
Row can make measurement result more accurate and steady the step of determining two border level lines on two corneal boundary images
It is fixed.
105, corneal diameter length is obtained according to two corneal boundary reference lines.
Specifically, corneal diameter length is obtained according to two corneal boundary reference lines, are as follows:
The coordinate that two corneal boundary reference lines are respectively relative to respective corneal boundary image is converted in cornea image
In coordinate;
According to the lateral shift value of two corneal boundary reference lines coordinate in cornea image, the pixel of corneal diameter is obtained
Span value;
Corneal diameter length is obtained according to the pixel span value of corneal diameter.
Specifically, if the physical length of corneal diameter is Lcornea, the pixel span value of corneal diameter is Pcornea, cornea figure
As the pixel quantity within the scope of green frame is Nimage, the inside casing area of scale material object is Aimage, then LcorneaFor
In the embodiment of the present application, step 102 to 105 be can integrate in a server, and step 101, which obtains, carries cornea
Image after, can be uploaded to by network in the server, not have to that specific software is installed, by the server to carrying cornea
Image identified, and measure corneal diameter, can also be by step 102 to 105 integrated APP processing, can basis
Specific to need to be arranged, with no restriction to implementation, therefore the measurement method of corneal diameter provided by the present application is non-by the application
It is often easy universal.
After the embodiment of the present application obtains the image for carrying cornea, corneal center region is determined, then according to corneal center area
Domain obtains corneal boundary image, finally utilizes the corneal boundary reference line determined on corneal boundary image to obtain corneal diameter long
It spends, for mechanical measuring means compared with the existing technology, not only measurement accuracy is high, but also measurement method is simple and fast, is not easy
It is influenced by the activity of infant, due to being not required to tranquillizer or anaesthetic, infant will not both be damaged, and eliminate medicine
Object cost;For method for automatic measurement compared with the existing technology, not only measurement cost is cheap, and measurement accuracy is high, and measures
Operation is simple;Further, then the application obtains the image for carrying scale by scale is arranged immediately ahead of eyes,
It can measure without touching eyes i.e., and make the image of the carrying cornea obtained more accurate;Further, scale is by hand
Handle and framework composition, it is easy to carry;Further, it is determined that extracting mark on the image for carrying scale before corneal center region
Ruler image also improves the precision of measurement so that subsequent processing is more quick, accurate;Further, the embodiment of the present application is being taken
Scale image is extracted on image with scale also scale image is normalized later, make scale image in same coordinate
It is handled under standard, reduces the complexity of subsequent processing.
Referring to Fig. 3, the embodiment of the present application also provides a kind of measuring systems of corneal diameter, comprising: image acquiring device
31, locating module 32, image interception module 33, determining module 34 and computing module 35;
Image acquiring device 31, for obtaining the image for carrying cornea;
Wherein, image acquiring device 31 includes image collection module and scale;
The scale is placed in immediately ahead of eyes;Described image obtains module and is used to obtain the image for carrying scale, will take
Image with scale is as the image for carrying cornea;
The scale is made of handle and framework;The area of the framework is greater than preset value.
Further, framework is rectangle, and framework centre mark is carried in the rectangle framework.
In actual use, scale can be placed at the eye socket immediately ahead of the person's of being taken eyes, when placement, make scale
Frame plane face at eye level is parallel as far as possible and is bonded, and by the framework centre mark of scale and the person's of being taken eye pupil center pair
Together, then the scale framework on the image collection module face person's of being taken eye socket is obtained to the image for carrying scale, optimal, figure
As obtaining module and scale framework distance about 10cm~15cm.In the embodiment of the present application image collection module can be camera or
Mobile phone etc..
Rectangle framework centre mark can be demarcated by the cornerwise crosspoint of framework, can also pass through long side center
The crosspoint of line and broadside center line is demarcated, and the embodiment of the present application do not limit the specific calibration mode of framework centre mark
System.
Further, the embodiment of the present application further includes extraction module, the carrying scale for obtaining in image acquiring device
Image on extract scale included by image, the image extracted is known as scale image.
Specifically, extraction module includes color conversion unit and the first extraction unit;
Color conversion unit, the color space of the image of the carrying scale for obtaining image acquiring device is by RGB sky
Between be transformed into the space LAB;
First extraction unit, for extracting scale image on the image of the carrying scale in the space LAB based on histogram.
Specifically, when the rectangle framework of scale is in green, correspondingly, the first extraction unit is specifically used for carrying mark
Scale image is extracted based on A channel histogram in the space LAB on the image of ruler.
Since the rectangle framework of scale is in green, lack haematochrome, and the negative axis directions pair of the A channel in the space LAB
It is quasi- red, scale image zooming-out is carried out to the A channel in the space LAB, the accuracy that item eats image zooming-out can greatly be improved
And stability.
In practical application, due to light environment complexity, it is possible that mistake, in order to avoid the influence to subsequent processing,
Therefore extraction module further includes verification unit and the second extraction unit in the embodiment of the present application;
Verification unit, the scale map for verifying the extraction of the first extraction unit seem it is no correct, if not, triggering second mentions
Take unit;
Second extraction unit, for extracting scale image on the image for carrying scale based on Kmeans clustering algorithm.
The scale image accuracy extracted based on Kmeans clustering algorithm is relatively high, but speed is very slow, extracts second
After unit extracts scale image to the A channel in the space LAB based on Kmeans clustering algorithm, it is single that verification can also be triggered again
Member come the scale map that verifies extraction seem it is no correct, if verification is incorrect, extraction module further includes third extraction unit, is used
In based on Kmeans clustering algorithm in the space LAB the channel AB extract scale image, until extraction scale image verification at
Function.
Further, in order to reduce the complexity of measurement method, scale map picture can be made to carry out under same coordinate standard
Processing, therefore the embodiment of the present application further includes normalization module, for scale image to be normalized.
Specifically, normalization module includes unit for scaling and normalization unit;
Unit for scaling, for scale image to be zoomed to specified size;
Normalization unit, for by unit for scaling scale after scale centre centered on point, intercept the figure of specified size
As the scale image after normalization.
For example, scale image is carried out undistorted scaling by unit for scaling, keep the area in its scale region small as far as possible, i.e.,
The minimum of fixed aspect ratio is outer to cut rectangle, then point centered on scale picture centre of the normalization unit after scaling, interception
One 700 × 400 rectangle is as the scale image after normalization.
Determining corneal center region is known as the first central area for determining corneal center region by locating module 32;
Specifically, locating module 32 intercepts the graphics field of specified pixel centered on framework centre mark, by interception
Graphics field is known as the first central area.
For example, locating module 32, centered on the rectangle framework diagonal line crosspoint of scale, interception size is 50 pixels
Square-shaped patterns region, using the square-shaped patterns region having a size of 50 pixels as the first central area.
After determining the first central area, the rectangle framework centre mark of scale may be deviated, therefore the application
Embodiment further includes correction module, for correcting framework centre mark in the first central area.
Specifically, canny operator and straight line hough transformation be can use, correct rectangle in square-shaped patterns region
The position in framework diagonal line crosspoint.
Image interception module 33, for being respectively that central area intercepts two with the second central area and third central area
Image is as corneal boundary image;Second central area and third central area are offset to both sides pre- respectively for the first central area
If the region after distance;
Determining module 34, for determining two cornea sides on two corneal boundary images that image interception module 33 intercepts
Boundary's reference line;
Specifically, it is determined that module 34 includes image processing unit and Boundary Extraction unit;
Wherein, image processing unit, for obtaining two corneal boundaries two respectively by two corneal boundary image binaryzations
It is worth image;
In practical application, maximum variance between clusters are can be used in image processing unit, are by corneal boundary image binaryzation
Bianry image.
Boundary Extraction unit, for extracting the boundary of two bianry images respectively, by the vertical tangent line in the outside on each boundary
As corneal boundary reference line.
It should be noted that there may be the unbalanced phenomenon of monochrome pixels accounting, this phenomenon meetings for corneal boundary image
Image boundary detection inaccuracy is caused, therefore in order to avoid this phenomenon, determining module further includes adjustment in the embodiment of the present application
Unit, two reference lines for being determined according to Boundary Extraction unit adjust separately corresponding corneal boundary image, then again
Image processing unit and Boundary Extraction unit are triggered, i.e., determines the reference line of cornea transverse diameter again.
Computing module 35, two corneal boundary benchmark line computation corneal diameters for being determined according to determining module 34 are long
Degree.
Specifically, computing module 35 includes coordinate transformation unit, the first computing unit and the second computing unit;
Wherein, coordinate transformation unit, for two corneal boundary reference lines to be respectively relative to respective corneal boundary image
Coordinate be converted to the coordinate in cornea image;
First computing unit, for the lateral shift value according to two corneal boundary reference lines coordinate in cornea image,
Calculate the pixel span value of corneal diameter;
The pixel span value of second computing unit, the corneal diameter for being calculated according to first computing unit calculates angle
Film diameter length.
If the physical length of corneal diameter is Lcornea, the pixel span value of corneal diameter is Pcornea, the green frame of cornea image
Pixel quantity in range is Nimage, the inside casing area of scale material object is Aimage, then second computing unit calculates
LcorneaFor
After the embodiment of the present application obtains the image for carrying cornea, corneal center region is determined, then according to corneal center area
Domain obtains corneal boundary image, finally utilizes the corneal boundary reference line determined on corneal boundary image to obtain corneal diameter long
It spends, for mechanical measuring means compared with the existing technology, not only measurement accuracy is high, but also measurement method is simple and fast, is not easy
It is influenced by the activity of infant, due to being not required to tranquillizer or anaesthetic, infant will not both be damaged, and eliminate medicine
Object cost;For method for automatic measurement compared with the existing technology, not only measurement cost is cheap, and measurement accuracy is high, and measures
Operation is simple;Further, then the application obtains the image for carrying scale by scale is arranged immediately ahead of eyes,
It can measure without touching eyes i.e., and make the image of the carrying cornea obtained more accurate;Further, scale is by hand
Handle and framework composition, it is easy to carry;Further, it is determined that extracting mark on the image for carrying scale before corneal center region
Ruler image also improves the precision of measurement so that subsequent processing is more quick, accurate;Further, the embodiment of the present application is being taken
Scale image is extracted on image with scale also scale image is normalized later, make scale image in same coordinate
It is handled under standard, reduces the complexity of subsequent processing.
The above is only several embodiments of the application, not does any type of limitation to the application, although this Shen
Please disclosed as above with preferred embodiment, however not to limit the application, any person skilled in the art is not taking off
In the range of technical scheme, a little variation or modification are made using the technology contents of the disclosure above and is equal to
Case study on implementation is imitated, is belonged in technical proposal scope.
Claims (10)
1. a kind of measuring system of corneal diameter characterized by comprising image acquiring device, locating module, image interception mould
Block, determining module and computing module;
Image acquiring device, for obtaining the image for carrying cornea;
Determining corneal center region is known as the first central area for determining corneal center region by locating module;
Image interception module, for being respectively that central area intercepts two images works with the second central area and third central area
For corneal boundary image;Second central area and third central area are offset to both sides default respectively for the first central area
Region after distance;
Determining module, for determining two corneal boundary bases on two corneal boundary images of image interception module intercepts respectively
Directrix;
Computing module, two corneal boundary benchmark line computation corneal diameter length for being determined according to determining module.
2. system according to claim 1, which is characterized in that described image acquisition device includes image collection module and mark
Ruler;
The scale is placed in immediately ahead of eyes;
Described image obtains module and is used to obtain the image for carrying scale, will carry the image of scale as the figure for carrying cornea
Picture;
The scale is made of handle and framework;The area of the framework is greater than preset value.
3. system according to claim 2, which is characterized in that carry framework centre mark in the framework.
4. system according to claim 2, which is characterized in that further include extraction module, for being obtained in image acquiring device
Image included by scale is extracted on the image of the carrying scale taken, the image extracted is known as scale image;
The extraction module includes color conversion unit and the first extraction unit;
The color space of color conversion unit, the image of the carrying scale for obtaining image acquiring device is turned by rgb space
Change to the space LAB;
First extraction unit, for extracting scale image on the image of the carrying scale in the space LAB based on histogram.
5. system according to claim 4, which is characterized in that the rectangle framework of the scale is in green;
Correspondingly, first extraction unit is specifically used on the image for carrying scale based on A channel histogram in the space LAB
Extract scale image.
6. system according to claim 4 or 5, which is characterized in that the extraction module further includes verification unit and second
Extraction unit;
Verification unit, the scale map for verifying the extraction of the first extraction unit seems no correct, if not, the second extraction of triggering is single
Member;
Second extraction unit, for extracting scale image on the image for carrying scale based on Kmeans clustering algorithm.
7. system according to claim 4, which is characterized in that further include normalization module, for scale image into
Row normalized;
The normalization module includes unit for scaling and normalization unit;
The unit for scaling, for scale image to be zoomed to specified size;
The normalization unit intercepts specified size for the point centered on the scale centre after unit for scaling scaling
Image as normalization after scale image.
8. system according to claim 3, which is characterized in that the locating module is specifically used for framework center mark
It is denoted as center, intercepts the graphics field of specified pixel, the graphics field of interception is known as the first central area;
The measuring system of the corneal diameter further includes correction module, for correcting framework center in first central area
Label.
9. system according to claim 1, which is characterized in that the determining module includes that image processing unit and boundary mention
Take unit;
Described image processing unit, for obtaining two corneal boundary binary maps respectively by two corneal boundary image binaryzations
Picture;
Boundary Extraction unit, for extracting the boundary of two bianry images respectively, using the vertical tangent line in the outside on each boundary as
Corneal boundary reference line;
The determining module further includes adjustment unit, and two reference lines for being determined according to Boundary Extraction unit adjust separately pair
Then the corneal boundary image answered triggers described image processing unit and Boundary Extraction unit again.
10. system according to claim 1, which is characterized in that the computing module includes coordinate transformation unit, the first meter
Calculate unit and the second computing unit;
The coordinate transformation unit, for two corneal boundary reference lines to be respectively relative to the coordinate of respective corneal boundary image
Be converted to the coordinate in cornea image;
First computing unit, for the lateral shift value according to two corneal boundary reference lines coordinate in cornea image,
Calculate the pixel span value of corneal diameter;
The pixel span value of second computing unit, the corneal diameter for being calculated according to first computing unit calculates angle
Film diameter length;
If the physical length of corneal diameter is Lcornea, the pixel span value of corneal diameter is Pcornea, the green frame range of cornea image
Interior pixel quantity is Nimage, the inside casing area of scale material object is Aimage, then second computing unit calculates LcorneaFor
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711310981.XA CN109893082A (en) | 2017-12-11 | 2017-12-11 | A kind of measuring system of corneal diameter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711310981.XA CN109893082A (en) | 2017-12-11 | 2017-12-11 | A kind of measuring system of corneal diameter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109893082A true CN109893082A (en) | 2019-06-18 |
Family
ID=66942565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711310981.XA Pending CN109893082A (en) | 2017-12-11 | 2017-12-11 | A kind of measuring system of corneal diameter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109893082A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012239566A (en) * | 2011-05-18 | 2012-12-10 | Nikon Corp | Measuring apparatus for glasses, and three-dimensional measuring apparatus |
CN102988052A (en) * | 2011-09-09 | 2013-03-27 | 上海银晨智能识别科技有限公司 | Method and system for measuring foot length |
CN103063143A (en) * | 2012-12-03 | 2013-04-24 | 苏州佳世达电通有限公司 | Measuring method and system based on image identification |
CN202960457U (en) * | 2012-12-26 | 2013-06-05 | 牡丹江医学院 | Eyeglass frame type cornea diameter measurer |
CN105205813A (en) * | 2015-09-06 | 2015-12-30 | 沈阳工业大学 | Cornea arcus senilis automatic detection method |
-
2017
- 2017-12-11 CN CN201711310981.XA patent/CN109893082A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012239566A (en) * | 2011-05-18 | 2012-12-10 | Nikon Corp | Measuring apparatus for glasses, and three-dimensional measuring apparatus |
CN102988052A (en) * | 2011-09-09 | 2013-03-27 | 上海银晨智能识别科技有限公司 | Method and system for measuring foot length |
CN103063143A (en) * | 2012-12-03 | 2013-04-24 | 苏州佳世达电通有限公司 | Measuring method and system based on image identification |
CN202960457U (en) * | 2012-12-26 | 2013-06-05 | 牡丹江医学院 | Eyeglass frame type cornea diameter measurer |
CN105205813A (en) * | 2015-09-06 | 2015-12-30 | 沈阳工业大学 | Cornea arcus senilis automatic detection method |
Non-Patent Citations (3)
Title |
---|
余辉: "《Photoshop实用教程》", 30 June 2017 * |
洪汉玉: "《目标探测多谱图像复原方法与应用》", 31 October 2017 * |
韩志艳: "《面向语音与面部表情信号的多模式情感识别技术研究》", 31 January 2017 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9265414B2 (en) | Methods and systems for measuring interpupillary distance | |
US9323075B2 (en) | System for the measurement of the interpupillary distance using a device equipped with a screen and a camera | |
US10201273B2 (en) | Method for determining ocular measurements using a consumer sensor | |
RU2562690C2 (en) | Individual contact lenses with alignment marks | |
US11903644B2 (en) | Measuring eye refraction | |
CN108846866B (en) | Optical imaging-based craniomaxillofacial soft tissue sagittal axial median plane determination method and system | |
CN109008944A (en) | Sight measuring device, sight measuring program and sight measuring method | |
CN107016697B (en) | A kind of height measurement method and device | |
EP2099354A2 (en) | Systems and methods for the measurement of surfaces | |
US11707191B2 (en) | Calibration and image procession methods and systems for obtaining accurate pupillary distance measurements | |
US20140240664A1 (en) | Method for measuring morpho-geometric parameters of a spectacle wearing individual | |
JP2012239566A (en) | Measuring apparatus for glasses, and three-dimensional measuring apparatus | |
US20150049952A1 (en) | Systems and methods of measuring facial characteristics | |
CN109900203A (en) | A kind of organism size non-contact measurement method | |
CN105354822A (en) | Intelligent apparatus for automatically identifying position of read-write element in read-write scene and application | |
CN208740937U (en) | A kind of scale for non-contact measurement corneal diameter | |
CN109308472B (en) | Three-dimensional sight estimation method based on iris projection matching function | |
Wibirama et al. | Dual‐camera acquisition for accurate measurement of three‐dimensional eye movements | |
CN105354828B (en) | Read and write intelligent identification and the application thereof of reading matter three-dimensional coordinate in scene | |
CN109893082A (en) | A kind of measuring system of corneal diameter | |
CN109919896A (en) | A kind of measurement method of corneal diameter | |
JP3711053B2 (en) | Line-of-sight measurement device and method, line-of-sight measurement program, and recording medium recording the program | |
KR20180065429A (en) | Height measurement device and method by using image processing | |
US20220397389A1 (en) | Spectacle lens shape measurement method | |
JP2023549865A (en) | Method and system for measuring binocular distance for children |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190618 |