The invention relates to a method and a device for determining the eye torsion.
In the field of medical engineering as well as for equilibrium studies, it is important to determine the torsion of the human eye, i.e. the rotation of the eye around the viewing direction (z-axis). In medical engineering, for example for the insertion of toric intraocular lenses, the rotation of the eye must be known exactly in order to ensure the exact adjustment of the lens in relation to the eye. But also for a laser treatment of the eye or its preparation, the knowledge of torsional movements of the eye leads to a more precise result. Further possible fields of application include neuroscience research or investigations of the effect of images or visual stimulations on the human being, for example in the field of advertisement and communications.
Document DE102006002001 describes a method for determining the spatial relationship of an eye with reference to a camera device, in which a model of the eye is constructed and a reference relation of the eye model is determined by using a reference image of the eye. Thereafter position and rotation coordinates are determined by adapting the eye model to a current image of the eye. The eye model comprises texture information which is stored as a feature template map. Features of the feature template map are blood vessels, iris characteristics, limb, limb centre, pupil centre, pupil edge and artificial markers. However, the creation and adaptation of eye models is complex and requires high processing power and corresponding computation time.
When determining the torsion from images of the eye which are taken by a camera, there exists particularly the problem that in addition to the rotation, the image regions may have different sizes and may be out of alignment. This complicates the detection of corresponding image regions.
It is the object of the present invention to provide a method with which the torsion of the eye can be determined quickly and precisely. Furthermore a corresponding device for determining the eye torsion shall be created.
The object is achieved by the method for determining the eye torsion according to claim 1, by the device for determining the eye torsion according to claim 8, and by the computer program according to claim 10. Further advantageous features and details will become apparent from the dependent claims, the description and the drawings.
The basic idea of the determination of the torsion of the eye according to the invention is to identify corresponding image regions in different images, and to determine from their relative position the rotation or torsion, wherein a histogram e.g. of gradient- or tangential directions of a feature is used for determining the torsion. If the image is rotated, the shape of the histogram remains the same. It appears only a displacement or shift on the direction axis of the histogram. The angle of the torsion is determined from the amount of the shift.
According to the method of the invention, at least two images of the eye are captured and image data is generated thereof, in which at least one characteristic feature is identified. Thereafter a direction histogram of the feature of the eye is produced in both images, and the direction histograms of the feature in both images are compared to each other. The angle of the torsion of the eye is determined from the shift or displacement of the directions in the direction histograms.
The invention allows very quick and accurate measurements of eye torsions. Here, the image regions or sections used for determining the torsion can have different sizes and can be displaced relative to each other.
The direction histogram is in particular a histogram of the gradient- or tangential directions of the feature.
It is particularly advantageous to use a blood vessel or a group of blood vessels as a feature or object for the creation of histograms of directions. The direction histograms of the blood vessels have scaling and translation invariant properties, i.e. they keep a constant shape independent from their size and position. However, with a rotation or twist, the histogram is shifted along the axis of direction, and the angle of the torsion can be determined therefrom. Due to their geometrical structure, colour composition and characteristic colour gradients along or perpendicular to the direction of the blood vessels, blood vessels can be identified in the image particularly quickly and reliably. Thereby detailed direction histograms can be created safely, which increases the reliability and the accuracy of the measurement.
But it is also possible to choose other features or objects which are suitable for the determination of the torsion and which have corresponding properties, such as characteristic patterns in the iris. Advantageously, characteristic structures such as blood vessels of the fundus of the eye or of the sclera are selected as characteristic features. Furthermore, artificially applied marks on the sclera and/or the cornea can be chosen as characteristic features.
As an optional embodiment of the method, a total or overall direction histogram of a plurality of blood vessels is calculated in both images respectively, and from their displacement the torsion angle of the eye is determined. Instead of limiting the observation of the histograms to single features or attributes, total direction histograms of all blood vessels or of particularly prominent blood vessels of both images can be calculated. If the distribution of the directions of gradients is sufficiently characteristic, a displacement of the histograms and thus also the angle of torsion can be determined.
As an alternative or supplement, every image can also be divided into subareas or regions, and in each region a direction histogram can be computed and used for comparison. That is, the image can e.g. be divided into N subareas which may partially overlap. Then, a histogram of oriented gradients can be calculated separately in every subarea.
Advantageously the shape of the histograms is compared, where the displacement on the direction axis of the histogram is determined for histograms of equal shapes. If there are few or no similarities, it is probably not the same feature.
The device for determining the eye torsion according to the invention comprises a camera device for capturing at least two images of the eye and for generating image data, an image processing unit for identifying at least one characteristic feature from the image data and for creating a direction histogram of the feature in both images, where the image processing unit is configured for comparing the direction histograms of the features in both images and determines from a shift of the directions in the direction histograms the angle of the eye torsion.
The image processing unit is in particular designed to carry out the method and has corresponding features.
According to an embodiment of the invention, a computer program and a computer unit are provided, which are designed for carrying out the method according to the invention along with an image processing unit connected to a camera device.
Features and details of the invention, which are described in connection with the method, also apply to the corresponding device of the invention and vice versa.
In the following text, the invention will be described closer and more in detail on the basis of drawings. Here:
a and 2b show an image of an eye captured by a camera and a corresponding colour distribution along a line in the image;
a and 5b show a stylised blood vessel (
a and 6b show the stylised blood vessel of
a shows an image 10 of the eye 1 taken by the camera 21. In the area of the sclera 2 blood vessels 3 are arranged, which serve to supply the sclera 2 and the cornea. The blood vessels 3 have different directions and form a branched system or network, which substantially extends over the entire sclera 2. By means of the image processing unit 22 (see
b shows the distribution of colours in image 10 along the line 4. Here, the intensities of the colours red, green and blue (R, G, B) in the curves 5a (=R), 5b (=G) and 5c (=B) are shown. Based on the intensities, the blood vessels and their characteristics are determined. In the curves 5b, 5c local minima occur at the locations A, B, C, while the curve 5a hardly changes or changes in a relatively small amount at these locations. That means that at these points in image 10, intensity minima for green and blue are present, while red remains essentially unchanged. This is a criterion for the detection of the blood vessels 3 in image 10.
In this way, the entire image 10 is analysed for the blood vessels 3. But it is also possible to analyse only one or more portions of the image 10, or to determine or to analyse only the blood vessels having the highest amounts of intensities.
In addition, also other conditions for the presence of blood vessels can be examined and used for the extraction, for example a high amount of white in the vicinity of the blood vessel, a small red gradient along the blood vessel, and a big red gradient perpendicular thereto.
Thereby an additional relative displacement of the recorded images does not affect the histogram. A different scaling has the effect that the corresponding histograms differ from each other by a constant factor. In this case the features i.e. the blood vessels in both images consist of a differing amount of pixels because of the different image size, which can be equalized or compensated with the help of a normalisation. However, if the two histograms cannot be transformed into each other, for example by correlations, it is not the same feature.
a shows a stylized blood vessel 3 in a first position with the corresponding gradient or normal directions R. In this example, a relatively large part of the blood vessel has a normal direction R of 90 degrees. Two relatively short sections of the blood vessel have a normal direction R of zero degrees respectively 135 degrees, and another section has a normal direction R of 135 degrees.
The
Number | Date | Country | Kind |
---|---|---|---|
10 2010 032 193.1 | Jul 2010 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/DE11/01514 | 7/23/2011 | WO | 00 | 3/11/2013 |