Next Article in Journal
Editorial for the Special Issue on Wide Bandgap Based Devices: Design, Fabrication and Applications, Volume II
Next Article in Special Issue
Self-Tuning Control Using an Online-Trained Neural Network to Position a Linear Actuator
Previous Article in Journal
Bioengineering Outlook on Cultivated Meat Production
Previous Article in Special Issue
Artificial Neural Networks in MPPT Algorithms for Optimization of Photovoltaic Power Systems: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Distortion Calculation Method Based on Image Processing for Automobile Lateral Mirrors

by
Carlos Paredes-Orta
1,
Luis M. Valentin-Coronado
1,
Arturo Díaz-Ponce
1,
Juvenal Rodríguez-Reséndiz
2 and
Jorge Domingo Mendiola-Santibañez
2,*
1
CONACYT—Centro de Investigaciones en Optica, Unidad Aguascalientes, Prol. Constitución 607, Reserva Loma Bonita, Aguascalientes 20200, Mexico
2
Facultad de Ingeniería, Universidad Autónoma de Querétaro, Santiago de Querétaro 76010, Mexico
*
Author to whom correspondence should be addressed.
Micromachines 2022, 13(3), 401; https://doi.org/10.3390/mi13030401
Submission received: 8 February 2022 / Revised: 23 February 2022 / Accepted: 25 February 2022 / Published: 28 February 2022
(This article belongs to the Special Issue Artificial Intelligence Integration with Micro-Nano Systems)

Abstract

:
The automobile lateral-view mirrors are the most important visual support for driver safety; therefore, it is important they have robust quality control. Typically, the distortion of a lateral-view mirror is measured using the JIS-D-5705 standard; however, this methodology requires an expert person to perform the measurements and calculations manually, which can induce measurement errors. In this work, a semi-automatic distortion calculation method based on image processing is presented. Distortion calculations of five commercial mirrors from different manufacturers were performed, and a comparative study was carried out between the JIS-D-5705 standard and the proposed method. Experimental results performed according to the JIS-D-5705 standard showed that all mirrors have a distortion lower than 5%, indicating that all meet the standard. On the other hand, the proposed method was able to detect that one of the mirrors presented an important distortion, which was not detected by the methodology proposed in the standard; therefore, that mirror should not meet the standard. Then, it was possible to conclude that the proposed distortion calculation method, based on image processing, has higher robustness and precision than the standard. In addition, an appropriate and effective behavior against changes in scale, resolution, and, unlike the standard, against changes in image rotation was also shown.

1. Introduction

In the automotive industry, one of the most important parts in the vehicle, in terms of visual driving aid, are the lateral-view mirrors. Lateral-view mirrors play a very important role when driving, as they provide the functionality of displaying the left and right sides of the vehicle [1]. These mirrors help us to reflect the edge of the car body, and at the same time, we can see part of the environment around us. Commonly, these mirrors are convex and give a wide field of view, projecting an image of the vehicles that circulate. Nevertheless, the projected image of the objects can be seen smaller than they really are, and that is why it is common to observe the legend “Objects in mirror are closer than they appear”. Then, it is very important that manufacturers guarantee a good quality of mirrors so that the safety, as well as the driving experience, may be improved [1].
The final process of lateral-view mirror manufacturing is quality inspection. The quality of a mirror is defined by three parameters: radius of curvature, reflection, and distortion effect [2,3]. To measure the mirror quality, an expert person performs a manual inspection, commonly by one of these two methods: concentric circle patterns or radial line patterns [4,5]. For these two methods, an image with a concentric or radial pattern is captured by a digital camera; then, this captured pattern is compared against the original one to calculate a distortion factor. There is a common standard for the measurement of this distortion factor, the JIS-D-5705 standard [4]. However, implementing these standards can be complex, time-consuming, and error-prone because, typically, the necessary measurements are done manually and even if the person is an expert, the measurements are slow and have low precision. Furthermore, as will be discussed in the next section, this standard is not rotation invariant, since it only measure eight points to generate a quality criterion, so it is possible that some areas with considerable distortions may not be taken into account. Figure 1 shows both a typical lateral-view mirror image and an image with common mirror distortion; as can be seen, the distortion changed the size of the truck.
An efficient alternative to automatically calculate the distortion factor can be implemented through digital image processing algorithms [6,7], particularly using mathematical morphology, since this method is fundamentally based on the analysis of the shape. In order to do that, a shape measure is needed, for example, circularity. Then, the distortion factor can be related to the distortion that a circle undergoes once it has been reflected in the mirror.
There are different ways to calculate circularity; its essential properties can be found in [8,9], among the most used is the classical measure of shape factor, which relates the area and the perimeter of the shape. However, this measure is not scale-invariant, is very sensitive to small irregularities, and is sensitive to the resolution [10]. To address these drawbacks, some other methods have been proposed, such as radius ratio (RR) [11], which calculates the ratio between the minimum and maximum radius of the object, or the mean circularity (MR) [11,12], where the average radius from the border points is needed. Even though these two methods improve the previous one, their use is intended for cases with regular objects, and in cases where there is partial information about the object or abrupt variations in the shape, these measurements are not very reliable. As an alternative for the measurement of circularity, the authors in [8,13] have proposed a strategy based on a non-parametric stochastic approach, that is, instead of directly considering the geometry of the shape (area and perimeter), they proposed the use of a distance distribution between the border points and the center of the shape. Then, they compare this distribution with the one given by an “ideal” circle that they infer.
Considering the mentioned disadvantages of the manual inspection of automobile lateral-view mirrors and promoting automation under a reliable, robust and precise method, this work proposes a distortion calculation method based on image processing (DCMIP), which is both scale and rotation invariant, as well as being robust to changes in the image resolution. The remaining of the paper is organized as follows. In Section 2, the calculation of the distortion factor based on the JIS-D-5705 standard is presented. Section 3 and Section 4 detail the proposed mirror DCMIP and its evaluation, respectively. Finally, the conclusions as well as the future work is presented in Section 5.

2. Mirror Distortion Calculation Based on the JIS-D-5705 Standard

Distortion of a lateral-view mirror image can be defined as a change, twist, or lack of proportionality. One of the most common vehicle mirror deformations is due to their convexity, which was intentionally manufactured in this way to widen the driver’s field of view; however, the driver loses distance perception accuracy. If the degree of distortion is arbitrary, it could be potentially dangerous for the drivers. Consequently, the degree of distortion must be regulated. As mentioned in the previous section, there are some standards that lateral-view mirror manufactures must follow. In particular, and in accordance with the JIS-D-5705 standard, a convex mirror must have a distortion factor lower than 5 % with respect to its circular pattern that is projected on the mirror. The methodology defined by this standard to calculate this distortion factor is the following. A radial line pattern, as the one shown in Figure 2a, is placed at a distance of 300 mm in front of the mirror, as it is shown in Figure 2b. From this configuration, it is possible to acquire an image of the reflection of the radial pattern to analyze it and determine the distortion factor. According to the mirror distortion, the concentric circles will be deformed; i.e., the greater the distortion, the greater the deformation.
The way to calculate the distortion factor from the reflected images is performed by measuring eight distances from the points in the boundary of the i-th circle to the center; see Figure 2a. Then, the average of these distances must be calculated ( R ¯ i ), and the maximum value must be obtained ( R 0 ) to compute the absolute difference between R ¯ i and R 0 . Finally, the ratio between the aforementioned absolute difference and R ¯ i is calculated. Equation (1) summarizes this procedure,
ϵ i = | R 0 R ¯ i | R ¯ i * 100 ,
where ϵ i is the distortion factor (%) of the i-th circle. The average of the measurements of the reflected image of the i-th concentric circle is calculated according to Equation (2),
R ¯ i = | | a i | | 2 + | | b i | | 2 + | | c i | | 2 + + | | h i | | 2 N ,
where R ¯ i is the average distance, whereas { a i , b i , c i , , h i } represent the set of points (reflected by the mirror) at which the i-th circle and the radial lines intersect, N = 8 is the number of points, and · refers to the L 2 -norm. Note that if the image does not present any deformation, then the calculated distances correspond to the radius of the i-th circle. This procedure is performed for each one of the circles within the pattern. Then, if max { ϵ 0 , ϵ 1 , , ϵ n } is greater than 5 % , the shape does not satisfy the JIS-D-5705 standard.

3. Mirrors Distortion Calculation Based on Image Processing

In this work, a novel method to calculate the distortion in mirrors is presented. A general overview of the DCMIP is shown in Figure 3. As a first step, a gray-scale image of the radial pattern, following the setup established in the JIS-D-5705 standard (see Figure 2), is acquired. From this image, a region of interest (ROI) is selected, which will be used to identify all the concentric circles through a set of image processing algorithms, to then measure the distortion based on the circularity of each one of these circles.
All the steps of the block diagram are detailed in the following sections.

3.1. Image Acquisition

To guarantee that the image has not been distorted by the camera’s optics, a well-known camera calibration process has been performed to obtain both the intrinsic and extrinsic parameters of the camera [14]. This procedure is needed because the geometrical information of the mirrors will be computed. The experimental setup to acquire the image is shown in Figure 4. In the same way, to ensure the correct alignment between the camera and the circular pattern, a leveling arm holding the mirror and a mount holding the pattern were fixed by special rails on an optical table. The distance between both arms was at 300 mm, as set by the standard. Then, a laser pointer was used to verify that they are exactly aligned. If the mirror is not aligned with the camera, the circular patterns could present a misalignment and the experimental results would not be reliable.

3.2. Image Segmentation

From a gray-scale image, a manually ROI selection is made. It is worth mentioning that this is the only user intervention during the whole process. In Figure 5, the selection of the ROI as well as the resulting image can be appreciated.
Now, let I denote the input image (for instance, the image shown in Figure 5c). Then, to separate the foreground (circles) from the background, a local thresholding approach is used; in this case, the Otsu method is the chosen one to perform this process [15]. In the local thresholding approach, the threshold value is determined by using the local information of the image to assign each pixel to the foreground or background.
Figure 6a shows the resulting segmented binary image ( I b ), while Figure 6b shows the inverted binary image ( I b ) of the previews one, which is need to perform the next step.

3.3. Circle Extraction

As mentioned in Section 1, a convex mirror will generate a distortion in the image it reflects. One way to determine how much distortion exists is by analyzing the reflected pattern. In this sense, in this work, a pattern of concentric circles has been used; therefore, it is essential to adequately extract these circles so that they can be used to determine the distortion. Then, to achieve the correct extraction, a morphological image analysis is used. The main morphological operations are dilation ( δ λ B ) and erosion ( ε λ B ) where B represents the elementary structuring element in 2D containing its origin, and λ is a homothetic parameter. Therefore, the reconstruction of X from Y is obtained by iterating the elementary geodesic dilation of Y inside X until stability. In other words,
R X ( Y ) = n 1 δ X n ( Y ) .
Next, we present the proposed algorithm to segment the circles:
  • X = I b denotes the input image. An example is presented in Figure 6b.
  • Marker detection Y = ε λ = 10 ( X ) . Figure 7a illustrates the eroded image.
  • The reconstruction transformations J 0 = R X ( Y ) is computed. The output image can be observed in Figure 7b.
  • Measures are obtained from the first segmented circle.
  • To extract the remaining circles, Equation (3) is applied successively. Now, the input image is X = I b J 0 (Figure 6c), and the markers to obtain the following circles are Y = J i , with J i = R X ( J i 1 ) for i > 0 . The image in Figure 6a shows the second circle. Measures are obtained from each segmented circle.
The segmented circles do not present new maxima or minima, since the reconstruction transformations are connected transformations.

3.4. Proposed Distortion Calculation

The proposed method is based on some of the ideas presented in the work of Herrera-Navarro et al. [8,13], in which a set of distances between the boundary of the shape and its centroid is used to generate a probability density function. In this work, instead of using this distance, a set of points that relates the boundary of the shape and the circle that best fits this shape is used. Such a shape can be described by the function f : R R 2 given by,
f ( θ ) = r ( θ ) cos ( θ ) e 1 + r ( θ ) sin ( θ ) e 2 ,
where e 1 and e 2 are the standard unit vector of R 2 .
As Figure 8a depicts, the set of points of the shape is completely determined by θ and r ( θ ) . Furthermore, f n ( θ ) = f ( θ ) can be considered as the “radius” distribution of the shape (where · is the vector norm).
Figure 9 shows the radius distribution ( f n ( θ ) ) of the shape shown in Figure 8a. From this distribution, the statistical mode (most frequently occurring value) is computed in such a way that the resulting value can be used as the radius (r) that best fits the shape. Nevertheless, considering that the distribution could be a multi-modal one, the mode with the larger value is used, and it is calculated as follows,
r = max m m M : m = mode ( f n ( θ ) ) ,
where M is the set that contains all the modes. In Figure 8b, the circle with radius r (calculating according to Equation (5)) that best fits the shape is shown. This circle is defined as follows,
g ( θ ) = r cos ( θ ) e 1 + r sin ( θ ) e 2 .
A way of knowing how far the shape is from the ideal circle is through the calculation of the ratio between its distribution areas; however, this could be an issue. Suppose that the resulting f n ( θ ) distribution is the one shown in Figure 10a, and the area under this curve is the one shown in blue in the Figure 10b. As can be seen, the area that is lost when the curve goes down is recovered when the curve goes up; that is, this area will be equivalent to the one computed below of the line positioned at the average value of the function ( f ¯ n ). Now, suppose that the best-fitted circle distribution ( g ( θ ) ) is positioned at this average function value; then, the ratio of these two areas will tend to one, i.e., A r e a ( f n ( θ ) ) / A r e a ( g ( θ ) ) 1 r f ¯ n , concluding that the shape “does not present” distortion with respect to the ideal circle.
Consequently, in this work, the following solution is proposed. Given f ( θ ) and g ( θ ) , the following function is defined,
h ( θ ) = f ( θ ) g ( θ )
where · is the vector norm, while the function h can be interpreted as the distribution of the difference between the shape and the “ideal” circle. In addition, to include a certain tolerance threshold, the ideal circle is increased by 5 % (this value was selected according to that established by the JIS-D-5705 standard). Then, the distance between the “ideal” circle (with radius r) and the increased circle (with radius 1.05 r ) is also calculated. Figure 11 shows both the h ( θ ) distribution as well as the distribution of the difference between the ideal circle and the increased one. As expected, the distribution between the difference of the ideal circle and the increased one must be constant.
Now, to determine if the shape is circular enough, the ratio of the area of h ( θ ) distribution and the area under the line given by 0.05 r is calculated as follows,
Q = a b h ( τ ) d τ a b 0.05 r d τ = 1 0.05 Δ τ r a b h ( τ ) d τ
where Δ τ = ( b a ) . Thus, if Q 1 , then the shape is considered circular enough; i.e., its distortion is lower than the 5 % , which is the value that the JIS-D-5705 standard considers as acceptable. This process is repeated for each of the circles that were extracted from the image; then, if for one of these circles, the ratio between areas (defined by Equation (8)) exceeds the value of one, then the mirror must be rejected.

4. Experimental Results and Discussion

To validate the proposed DCMIP, the calculation of the distortion factor of five commercial lateral-view mirrors (denoted as M1, M2, M3, M4, and M5) from different manufacturers was performed. It is worth mentioning that the mirrors are representative; that is, it is not intended to make a comparison between manufacturers but to have diversity to evaluate the performance of the proposed method. The experiments were performed following the experimental setup mentioned in Section 2. The images were taken with a Nikon D3300 camera with a resolution of 6000 × 4000 pixels (24MPix) and a Nikon AF-S Nikkor 18–55 mm F/3.5–5.6 lens, and the lighting and temperature conditions were controlled. The digital processing of the images and the calculation of the distortion were performed using Python.
The experimental results were divided into three sections. The first section shows the calculations of distortions of five lateral-view mirrors through the DCMIP. In the second section, a comparison between the DCMIP and the JIS-D-5705 standard is presented. Finally, the third section presents how the rotation of the shape affects the distortion measurement when using the standard, while the proposed method shows a constant behavior. Some other practical cases where the proposed DCMIP may be used are presented.

4.1. Results of the Proposed Distortion Calculation Method

The performance of the proposed DCMIP to calculate the distortion of the mirrors is presented in this section. Figure 12a shows the image of mirror M2 captured by the camera with the reflected concentric circles pattern; Figure 12b depicts the extraction of one of the circles of the pattern, while Figure 12c illustrates the distribution of the difference between the extracted circle and the ideal one, i.e., h ( θ ) . As explained in Section 3, from this distribution and the one generated by the difference between the ideal circle and the augmented one (by 5 % ), the respective areas under the curve are computed to then calculate the ratio between them.
The box plot shown in Figure 13 summarizes the calculated distortion of the eight circles of the pattern for each mirror. As can be seen, the maximum distortion factor of M1, M3, M4, and M5 does not exceed the distortion factor threshold (DFT) equal to 1; that is, the distortion of the mirrors are less than 5%, as required by the JIS-D-5705 standard. On the contrary, the distortion factor of M2 exceeds the DFT; thus, the mirror has a distortion greater than 5%. Then, this mirror does not meet the standard.

4.2. Comparison between the JIS-D-5705 Standard and the DCMIP

For this comparison, the highest quality criteria were taken into account. On the one hand, as described in Section 2, the standard establishes that the maximum distortion of any reflected circle of the pattern must not exceed 5%. On the other hand, in the proposed DCMIP, the distortion factor of the pattern circles must not exceed the value of 1, which corresponds to the 5% established in the standard (see Section 3).
Table 1 shows the distortion of the five lateral-view mirrors under study. As it is shown, using the JIS-D-5705 standard, all the mirrors presented a distortion value lower than 5%; that is, their distortion is acceptable. On the contrary, through the proposed DCMIP, the mirror M2 presented a distortion factor greater than 1, which indicates that its distortion is greater than 5% and does not meet the minimum quality criteria. Mirrors M1, M3, M4, and M5 presented a maximum allowed distortion in both methods.
To understand the differences in distortion measurements between both methods, an analysis of the distortion of M2 is presented. Figure 14a shows the shape of the first circle of the reflected pattern, which has slight variations from an ideal circle. According to the standard, a measurement of the radius of the “distorted circle” is taken every 45 to later calculate the distortion by means of the procedure described in Section 2; as it is shown, with green dotted lines, in the Figure 14b. So, there are only eight measurements per circle; thus, the distortions that are not over the measurement points were not be considered. On the contrary, as illustrated in Figure 14c, the DCMIP uses a distribution of differences between the segmented circle and the ideal one to calculate a single distortion factor so that all distortions are taken into account. It can be seen that since the first circle does not present considerable distortions; then, the area under the curve described by h ( θ ) (gray line) is similar to the one defined by the difference of the augmented circle and the ideal one.
In the same way, the second circle of M2 was analyzed because it presented greater distortion, as can be seen in Figure 14d. Note that this circle has a large deformation between points c and d. As Table 1 shows, the M2 distortion using the standard was 2.798%. However, none of the points used to calculate this value passes over the greatest distortion of the circle (see Figure 14e); then, this deformation was not considered to calculate the standard measurement. This fact would allow accepting mirrors with small deformations and/or distortion that are not on the measurement points, which could put the safety of the driver at risk. In contrast, the proposed DCMIP did consider these zones, so the distortion factor was 1.183 , and consequently, the M2 mirror did not pass the quality criteria. Figure 14f depicts, in a black line, the distribution of distances obtained as well as the distribution of differences between the distorted circle and the ideal one.
As mentioned in the previous analysis, in the JIS-D-5705 standard, the measurement points depend on the position of the shape; therefore, the distortion value will change if the shape rotates, while the distortion value obtained by DCMIP will not. The following section analyzes the rotation independence of the proposed DCMIP, which allows greater precision in the quality control of the mirrors.

4.3. Rotation Dependency Analysis

The rotation independence of the proposed DCMIP was validated using the second circle of M2. The results obtained were compared again with the JIS-D-5705 standard. The second circle of M2 has been chosen, since it presents some anomalies that were not initially considered by the standard. To analyze the performance, when a rotation has occurred, the distorted circle has been rotated from 0 to 45 degrees with variations of one degree.
Figure 15 shows four instances of these rotations, each one with 15 degrees of difference. This figure also shows how the measurement points, needed by the standard, change each time the circle is rotated; this means that the calculated distortion must also change.
This behavior can be seen in the graph of Figure 16, in green color, which clearly shows how the value of the distortion factor changes according to the new orientation of the circle.
On the other hand, in Figure 16, it can also be appreciated, in blue, how the resulting distortion factor, calculated by the DCMIP, remains constant regardless of the orientation of the circle, indicating at all times that the mirror does not meet the minimum value of distortion allowed, while by using the standard method only when the circle has been rotated 23, 24, or 29 degrees, the distortion factor of the circle is greater than the minimum allowed value. Thus, this demonstrates that the JIS-D-5705 standard is not invariant to rotation, while the DCMIP is.
Considering the results obtained with the proposed method, it can be concluded that the DCMIP can be used in other applications where a measuring of the roundness and its deformation are required. For instance, in medicine as in [16,17], materials science [18,19], or even in digital image processing and discrete geometry [20,21], the proposed methodology can be used to measure circular objects and determine the deformation based on the desired criteria.

5. Conclusions

This work proposes a novel automatic method for calculating the distortion of an automobile lateral-view mirror based on image processing. The experimental results of the proposed DCMIP were compared with the JIS-D-5705 standard, which establishes that the maximum allowed side lateral-view mirror distortion is 5%, while the maximum allowed distortion factor of the DCMIP is equal to 1, which is equivalent to a distortion of 5%. Five commercial mirrors, from different distributors, were measured to validate the performance of the proposed method. Regarding the JIS-D-5705 standard, it was observed that the maximum distortion of the five mirrors was 3.166%; then, all mirrors meet the standard. In contrast, with the proposed DCMIP, the maximum distortion factor of one of the mirrors was 1.183 (which corresponds to the same mirror that presented the maximum distortion in the standard), indicating that the distortion is greater than 5% and does not meet the standard.
A detailed analysis of the effect that the rotation produces on the calculation of the distortion of the lateral-view mirror was carried out. It was observed that the procedure established in the JIS-D-5705 standard is highly susceptible to the rotation of the shape since the distortion is calculated with a set of eight angular equidistant points; therefore, some deformations may not be considered. This situation could affect the quality control of automobile lateral-view mirrors analyzed by the JIS-D-5705 standard, which could also put the safety of the driver at risk. On the contrary, the proposed DCMIP considers the contour of the concentric circle pattern so that the mirror distortions can be easily detected.
The results obtained showed that the DCMIP can measure distortions with high precision, and its effectiveness does not depend on the scale, resolution, or rotation of the image. In addition, unlike the standard, the calculation of the distortion does not depend on an expert person who performs the measurements and calculations manually.

Author Contributions

Conceptualization, C.P.-O. and J.D.M.-S.; Methodology, C.P.-O., L.M.V.-C. and J.D.M.-S.; Software, C.P.-O. and L.M.V.-C.; Validation L.M.V.-C. and A.D.-P.; Writing—Original Draft Preparation, C.P.-O., L.M.V.-C. and A.D.-P.; Writing—Review and Editing, C.P.-O., L.M.V.-C., A.D.-P., J.R.-R. and J.D.M.-S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially funded by Centro de Investigaciones en Optica.

Informed Consent Statement

Informed Consent Statement: Informed consent was obtained from all subjects involved in the study.

Acknowledgments

We are thankful with the Artificial Vision Laboratory CIO Aguascalientes for their support in the generation of this work, allowing the contributors to work in their facilities, especially Gustavo Acevedo for his invaluable support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Flannagan, M.J.; Sivak, M.; Traube, E.C. Effects of large-radius convex rearview mirrors on driver perception. SAE Trans. 1997, 106, 1441–1447. [Google Scholar]
  2. Rahmah, F.; Kusumawardhani, A.; Setijono, H.; Hatta, A.M. Radial line method for rear-view mirror distortion detection. In International Seminar on Photonics, Optics, and Its Applications (ISPhOA 2014); Nasution, A., Ed.; International Society for Optics and Photonics, SPIE: Bellingham, DC, USA, 2015; Volume 9444, pp. 70–74. [Google Scholar] [CrossRef]
  3. Mazzae, E.N.; Garrott, W.R.; Baldwin, G.H.S.; Andrella, A.; Smith, L.A. Vehicle Rearview Image Field of View and Quality Measurement; Technical Report; National Highway Traffic Safety Administration: Washington, DC, USA, 2011. [Google Scholar]
  4. Tampubolon, B.D.; Suminto, S.; Mulyono, A.B.; Ayuningtyas, U. Ketersediaan Sni Dan Lembaga Penilaian Kesesuaian Serta Kesiapan Industri Sektor Otomotif Menghadapi Regulasi Unece. J. Stand. 2014, 16, 235–246. [Google Scholar] [CrossRef]
  5. Pratama, D.Y.; Kusumawardhani, A.; Nasution, A.M.; Rahmadiansyah, A.; Achmadi, A. Distortion Inspection System Development of Rearview Mirror using Radial Line Method Based on Image Processing. IPTEK J. Proc. Ser. 2016. [Google Scholar] [CrossRef]
  6. Khan, A.I.; Lokhande, S. Automated Calculation of Distortion Factor for Convex Mirror Using Image Processing Technique. Int. J. Sci. Res. 2015, 7, SUB156265. [Google Scholar]
  7. Musleh, B.; Martín, D.; Armingol, J.M.; De la Escalera, A. Pose self-calibration of stereo vision systems for autonomous vehicle Applications. Sensors 2016, 16, 1492. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Herrera-Navarro, A.M.; Jiménez-Hernández, H.; Terol-Villalobos, I.R. Framework for characterizing circularity based on a probability distribution. Measurement 2013, 46, 4232–4243. [Google Scholar] [CrossRef]
  9. Liao, K.; Lin, C.; Zhao, Y.; Gabbouj, M. DR-GAN: Automatic radial distortion rectification using conditional GAN in real-time. IEEE Trans. Circuits Syst. Video Technol. 2019, 30, 725–733. [Google Scholar] [CrossRef]
  10. Haralick, R.M. A measure for circularity of digital figures. IEEE Trans. Syst. Man Cybern. SMC 1974, 4, 334–336. [Google Scholar] [CrossRef]
  11. Ritter, N.; Cooper, J. New resolution independent measures of circularity. J. Math. Imaging Vis. 2009, 35, 117–1274. [Google Scholar] [CrossRef]
  12. Dev, V.; Pathak, V.K.; Dey, R.; Mazumder, M.; Rai, A.K.; Das, S.S. Calcareous peloids in the north-western Arabian Sea: Implications of late Quaternary marine sedimentation and paleoclimate. Arab. J. Geosci. 2022, 15, 1–16. [Google Scholar] [CrossRef]
  13. Herrera-Navarro, A.M.; Jiménez-Hernández, H.; Peregrina-Barreto, H.; Manríquez-Guerrero, F.; Terol-Villalobos, I.R. A new measure of circularity based on distribution of the radius. Comput. Y Sist. 2013, 17, 515–526. [Google Scholar]
  14. Heikkila, J. Geometric camera calibration using circular control points. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1066–1077. [Google Scholar] [CrossRef] [Green Version]
  15. Goh, T.Y.; Basah, S.N.; Yazid, H.; Aziz Safar, M.J.; Ahmad Saad, F.S. Performance analysis of image thresholding: Otsu technique. Measurement 2018, 114, 298–307. [Google Scholar] [CrossRef]
  16. Benens, C.; Jenné, R.; Van Impe, J. Evaluation of different shape parameters to distinguish between flocs and filaments in activated sludge images. Water Sci. Technol. 2002, 45, 85–91. [Google Scholar] [CrossRef]
  17. Foresto, P.; D Arrigo, M.; Carreras, L.; Cuezzo, R.E.; Valverde, J.; Rasia, R. Evaluation of red blood cell aggregation in diabetes by computarized image analysis. Med.-Buenos Aires 2000, 60, 570–572. [Google Scholar]
  18. Chatzis, V.; Kaburlasos, V.G.; Theodorides, M. An image processing method for particle size and shape estimation. In Proceedings of the 2nd International Scientific Conference on Computer Science, Chalkidiki, Greece, 30 September–2 October 2005; Volume 30. [Google Scholar]
  19. Paredes-Orta, C.A.; Mendiola-Santibañez, J.D.; Manriquez-Guerrero, F.; Terol-Villalobos, I.R. Method for grain size determination in carbon steels based on the ultimate opening. Measurement 2019, 133, 193–207. [Google Scholar] [CrossRef]
  20. Pegna, J.; Guo, C. Computational metrology of the circle. In Proceedings of the Computer Graphics International (Cat. No. 98EX149), Hannover, Germany, 26 June 1998; pp. 350–363. [Google Scholar]
  21. Bose, P.; Morin, P. Testing the quality of manufactured disks and balls. Algorithmica 2004, 38, 161–177. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Example of an image of a lateral-view mirror. (a) Normal mirror image. (b) Mirror image with distortion.
Figure 1. Example of an image of a lateral-view mirror. (a) Normal mirror image. (b) Mirror image with distortion.
Micromachines 13 00401 g001
Figure 2. Setup to perform the distortion measurement according to JIS-554321 standard: (a) radial line pattern and (b) lateral-view setup.
Figure 2. Setup to perform the distortion measurement according to JIS-554321 standard: (a) radial line pattern and (b) lateral-view setup.
Micromachines 13 00401 g002
Figure 3. Block diagram of the proposed DCMIP.
Figure 3. Block diagram of the proposed DCMIP.
Micromachines 13 00401 g003
Figure 4. Experimental setup for image acquisition: (a) lateral view and (b) frontal view.
Figure 4. Experimental setup for image acquisition: (a) lateral view and (b) frontal view.
Micromachines 13 00401 g004
Figure 5. ROI selection and the resulting image. (a) Input image. (b) ROI selection. (c) Resulting image.
Figure 5. ROI selection and the resulting image. (a) Input image. (b) ROI selection. (c) Resulting image.
Micromachines 13 00401 g005
Figure 6. Segmented image. (a) Resulting image after the thresholding process. This image is denoted as I b , (b) inverted binary image I b , (c) this image is obtained after extract the first circle by applying next operator I b J 0 .
Figure 6. Segmented image. (a) Resulting image after the thresholding process. This image is denoted as I b , (b) inverted binary image I b , (c) this image is obtained after extract the first circle by applying next operator I b J 0 .
Micromachines 13 00401 g006
Figure 7. Circle extraction. (a) First circle partially extracted after erosion operation. (b) First circle completely reconstructed. (c) Second circle extracted.
Figure 7. Circle extraction. (a) First circle partially extracted after erosion operation. (b) First circle completely reconstructed. (c) Second circle extracted.
Micromachines 13 00401 g007
Figure 8. Example of a shape and its parameters. (a) Shape definition. (b) Best-fitted circle.
Figure 8. Example of a shape and its parameters. (a) Shape definition. (b) Best-fitted circle.
Micromachines 13 00401 g008
Figure 9. Radius distribution of the shape shown in Figure 8a.
Figure 9. Radius distribution of the shape shown in Figure 8a.
Micromachines 13 00401 g009
Figure 10. Case in which the ratio between the areas is an issue: (a) distribution given by f n ( θ ) and (b) area under the curve.
Figure 10. Case in which the ratio between the areas is an issue: (a) distribution given by f n ( θ ) and (b) area under the curve.
Micromachines 13 00401 g010
Figure 11. Distribution of the differences and the areas ratio. In “green”, the difference between shape and the ideal circle can be appreciated, while in “pink”, the difference between the ideal circle and the increased one is shown.
Figure 11. Distribution of the differences and the areas ratio. In “green”, the difference between shape and the ideal circle can be appreciated, while in “pink”, the difference between the ideal circle and the increased one is shown.
Micromachines 13 00401 g011
Figure 12. Representative calculation the distortion factor of M1. (a) Reflected circular pattern. (b) Extraction of the first circle. (c) Distribution of the difference between the extracted circle and the ideal one.
Figure 12. Representative calculation the distortion factor of M1. (a) Reflected circular pattern. (b) Extraction of the first circle. (c) Distribution of the difference between the extracted circle and the ideal one.
Micromachines 13 00401 g012
Figure 13. Distortion factor of 5 rearview mirrors using the DCMIP.
Figure 13. Distortion factor of 5 rearview mirrors using the DCMIP.
Micromachines 13 00401 g013
Figure 14. Examples of two circles of M2. (a) Shape of the first segmented circle. (b) Characteristic points to measure the distortion of the first circle, according to the standard. (c) Graphical representation of the distribution (first circle). (d) Shape of the second segmented circle. (e) Characteristic points to measure the distortion of the second circle, according to the standard. (f) Graphical representation of the distribution of distances (second circle).
Figure 14. Examples of two circles of M2. (a) Shape of the first segmented circle. (b) Characteristic points to measure the distortion of the first circle, according to the standard. (c) Graphical representation of the distribution (first circle). (d) Shape of the second segmented circle. (e) Characteristic points to measure the distortion of the second circle, according to the standard. (f) Graphical representation of the distribution of distances (second circle).
Micromachines 13 00401 g014
Figure 15. Rotation examples of the second circle of M2: (a) 0 , (b) 15 , (c) 30 , and (d) 45 .
Figure 15. Rotation examples of the second circle of M2: (a) 0 , (b) 15 , (c) 30 , and (d) 45 .
Micromachines 13 00401 g015
Figure 16. Comparative analysis of the deformation of the second circle of M2 by means of the JIS-D-5705 standard and the proposed DCMIP.
Figure 16. Comparative analysis of the deformation of the second circle of M2 by means of the JIS-D-5705 standard and the proposed DCMIP.
Micromachines 13 00401 g016
Table 1. Results of the distortion calculation of the mirrors using the JIS-D-5705 standard and the DCMIP.
Table 1. Results of the distortion calculation of the mirrors using the JIS-D-5705 standard and the DCMIP.
MirrorJIS-D-5705 Standard. Distortion Factor (%)≤5%Proposed DCMIP. Distortion Factor≤1
M13.1660.485
M22.7981.183
M31.5080.439
M41.8890.350
M51.1390.231
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Paredes-Orta, C.; Valentin-Coronado, L.M.; Díaz-Ponce, A.; Rodríguez-Reséndiz, J.; Mendiola-Santibañez, J.D. Distortion Calculation Method Based on Image Processing for Automobile Lateral Mirrors. Micromachines 2022, 13, 401. https://doi.org/10.3390/mi13030401

AMA Style

Paredes-Orta C, Valentin-Coronado LM, Díaz-Ponce A, Rodríguez-Reséndiz J, Mendiola-Santibañez JD. Distortion Calculation Method Based on Image Processing for Automobile Lateral Mirrors. Micromachines. 2022; 13(3):401. https://doi.org/10.3390/mi13030401

Chicago/Turabian Style

Paredes-Orta, Carlos, Luis M. Valentin-Coronado, Arturo Díaz-Ponce, Juvenal Rodríguez-Reséndiz, and Jorge Domingo Mendiola-Santibañez. 2022. "Distortion Calculation Method Based on Image Processing for Automobile Lateral Mirrors" Micromachines 13, no. 3: 401. https://doi.org/10.3390/mi13030401

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop