Conversion at constant angle

 

The course is carried out on rays that cross in the center of the eye.

General description:

The iris is limited by the pupil and the white of the eye. However, if the white of the eye is relatively circular and invariant, the pupil has an oval form and a total surface that frequently varies.
The transformation is thus a conversion polar = > rectangular modified because of the oval aspect of the pupil.

Description of the methods:

Polar conversion is, in theory, very simple. The problem is that here, they are discrete elements of the plan: pixels. They are usually approximated by squares. Each square is filled and takes the color of the pixel which corresponds.
The rectangular transform of these squares are incompatible with the next stages of the processing:
= > Conversion = > 

Then, we need an approximation in order to restore, their initial aspect of unit squares. The choice of a method of conversion corresponds to the choice of an approximation.
 

Comparison of the methods:

 

Transformation with method 1: Whole part. With 200x200, the " pixellized " aspect is not very visible (except on the top of the image). 

The colors used here are used to emphasize the details and do not represent the average variations (present in dark blue). 

Realized with pol2rec2, option 1: Truncation


Transformation with method 2: Local approximation. 

The approximation is significant and gives the aspect of blur to the whole of the image. However, the number of columns is the half, which makes the image more approximate. 

It does not seem to have losses, the contour of the details is fuzzy but the details (including smallest) remain present. 

Realized with pol2rec2, option 2: Approximation


Transformation with method 3: Unidimensional interpolation (according to the columns) cubic. 

The vertical features, in bottom of the image are due to a bad redimensioning. The visible " waves " in top of the image, are due to the cubic aspect of the interpolation. 

That gives similar result with the 1st method. The details are finer and more precise. The image appears clearer. 

Realized with pol2rec2, option 6: Cubic interpolation

If the methods with interpolation can appear better, it should be considered that the computing time is more significant and a simple transformation can be enough.
 
 

Return Synopsis Continuation