원시데이터 수집 시스템
선정목록으로

A Novel Active Imaging Model to Design Visual Systems: A Case of Inspection System for Specular Surfaces

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(12) 증착 필름

기본 정보

저자
  1. Jorge Azorín-López — Department of Computer Technology, University of Alicante, Carretera San Vicente s/n, San Vicente del Raspeig, Alicante 03690, Spain
  2. Andrés Fuster-Guilló — Department of Computer Technology, University of Alicante, Carretera San Vicente s/n, San Vicente del Raspeig, Alicante 03690, Spain
  3. Marcelo Saval-Calvo — Department of Computer Technology, University of Alicante, Carretera San Vicente s/n, San Vicente del Raspeig, Alicante 03690, Spain
  4. Higinio Mora — Department of Computer Technology, University of Alicante, Carretera San Vicente s/n, San Vicente del Raspeig, Alicante 03690, Spain
  5. Juan Manuel García‐Chamizo — Department of Computer Technology, University of Alicante, Carretera San Vicente s/n, San Vicente del Raspeig, Alicante 03690, Spain
DOI
10.3390/s17071466
저널
Sensors
발행년도
2017
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
7
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s17071466
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W2646230122

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (12) 증착 필름
R&D 측면
분석·모델링
확신도
0.70
근거 용어
automated visual inspection, specular surfaces, quality control, surface defects, virtual imaging simulation
판단 근거
이 논문은 제조 공정 중 정밀한 품질 관리를 위해 빛 반사가 심한(specular) 표면의 결함을 검출하는 비전 검사 모델 및 시뮬레이션 기술을 다룹니다. 이는 코오롱인더스트리의 컴파운드(23)나 자동차 소재(3) 등 다양한 산업용 제품의 표면 결함 및 품질 관리 공정에 응용될 수 있는 기술입니다.
R&D 활용 포인트
고기능성 필름(12)이나 자동차 내장재(3), 엔지니어링 플라스틱(23) 제품의 제조 공정 중 표면 결함(스크래치, 색상 불량 등)을 자동 검출하는 비전 시스템의 알고리즘 및 시뮬레이션 모델 개발에 활용 가능합니다.
평가 입력
본문 109,617자 중 30,032자 발췌

초록

The use of visual information is a very well known input from different kinds of sensors. However, most of the perception problems are individually modeled and tackled. It is necessary to provide a general imaging model that allows us to parametrize different input systems as well as their problems and possible solutions. In this paper, we present an active vision model considering the imaging system as a whole (including camera, lighting system, object to be perceived) in order to propose solutions to automated visual systems that present problems that we perceive. As a concrete case study, we instantiate the model in a real application and still challenging problem: automated visual inspection. It is one of the most used quality control systems to detect defects on manufactured objects. However, it presents problems for specular products. We model these perception problems taking into account environmental conditions and camera parameters that allow a system to properly perceive the specific object characteristics to determine defects on surfaces. The validation of the model has been carried out using simulations providing an efficient way to perform a large set of tests (different environment conditions and camera parameters) as a previous step of experimentation in real manufacturing environments, which more complex in terms of instrumentation and more expensive. Results prove the success of the model application adjusting scale, viewpoint and lighting conditions to detect structural and color defects on specular surfaces.

본문 109,617자

본문 펼치기
# _sensors_ _Article_ ## A Novel Active Imaging Model to Design Visual Systems: A Case of Inspection System for Specular Surfaces Jorge Azorin-Lopez *, Andres Fuster-Guillo, Marcelo Saval-Calvo, Higinio Mora-Mora and Juan Manuel Garcia-Chamizo Department of Computer Technology, University of Alicante, Carretera San Vicente s/n, San Vicente del Raspeig, Alicante 03690, Spain; fuster@dtic.ua.es (A.F.-G.); msaval@dtic.ua.es (M.S.-C.); hmora@ua.es (H.M.-M.); juanma@dtic.ua.es (J.M.G.-C.) * Correspondence: jazorin@dtic.ua.es; Tel.: +34-96-590-3681 Received: 29 March 2017; Accepted: 20 June 2017; Published: 22 June 2017 Abstract: The use of visual information is a very well known input from different kinds of sensors. However, most of the perception problems are individually modeled and tackled. It is necessary to provide a general imaging model that allows us to parametrize different input systems as well as their problems and possible solutions. In this paper, we present an active vision model considering the imaging system as a whole (including camera, lighting system, object to be perceived) in order to propose solutions to automated visual systems that present problems that we perceive. As a concrete case study, we instantiate the model in a real application and still challenging problem: automated visual inspection. It is one of the most used quality control systems to detect defects on manufactured objects. However, it presents problems for specular products. We model these perception problems taking into account environmental conditions and camera parameters that allow a system to properly perceive the specific object characteristics to determine defects on surfaces. The validation of the model has been carried out using simulations providing an efficient way to perform a large set of tests (different environment conditions and camera parameters) as a previous step of experimentation in real manufacturing environments, which more complex in terms of instrumentation and more expensive. Results prove the success of the model application adjusting scale, viewpoint and lighting conditions to detect structural and color defects on specular surfaces. Keywords: visual inspection; specular surfaces; structured lighting; quality control 1. Introduction Scientific models and theories aimed at explaining the behaviour of specular reflections are sufficiently consolidated. However, the automatic processing, using artificial vision techniques, of scenes where there are specular surfaces, has problems that have not been solved yet. Vision systems designed to deal with specular objects must cope with the optical difficulties associated with this type of material [1]. The surfaces have a high reflection coefficient which causes undesired reflections and shine, concealing, in some cases, chromatic, morphological and topographical information about the object. Most artificial vision techniques ignore specular reflections and focus on the diffuse component of the interaction of light with objects. Thus, these techniques, which are conceived to deal with Lambertian surfaces, produce wrong results when other surfaces are in the visual scene [2,3]. The solutions put forward in the literature adopt opposite ways of approaching the problem: developing methods to detect specularities in images, in order to take advantage of existing artificial vision techniques; and designing new vision techniques that explicitly deal with these surfaces. _Sensors_ 2017, _17_, 1466; doi:10.3390/s17071466 [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2017, _17_, 1466 2 of 30 The methods designed for detecting specularities in the scene differ depending on the vision level in which they are approached. They take advantage of certain phenomena and characteristics of light to separate the contribution of diffuse and specular reflection: spectral distribution of reflections [4–7], polarization [8–11], analysis of the behaviour of specularities in several images [12–16], and combinations of them [17–19]. They are used either to avoid or to remove specularities in the original image. The solutions in the last case are at the low level of vision systems because reflections and shine are considered as noise to be removed. They offer a filtered image to be processed at higher levels. Designing new vision techniques allows specular reflections to be considered as a peculiar characteristic of the surface, which allows better performance of the vision process [20–26]. They use mechanisms of active vision that, in some cases, are modifications or refinements of classic techniques. They are generally focused on the extraction of the object shape [27–38]. The techniques developed to deal with specular surfaces, either for detecting specularities or for extracting the object shape, must fulfill certain requirements, making them only viable in specific applications: for example, requirements related to specific electromagnetic characteristics of objects (i.e., specific methods for metallic or dielectric objects), having previous knowledge of the geometry of the scene or of the surface reflectance, etc. Specifically, automated visual inspection is the most used tool for testing products in industry due to their ease of use and its cost [39–42]. However, there are very few vision systems that deal with the surface inspection of specular products. They share the same aforementioned drawback of the generic vision system for specular objects: they are very specific as they assume specific constraints. The lighting of the scene and the acquisition equipment are determinant factors in the proposed solutions since they help the detection of defects in images [43–47]. Techniques that use structured lighting appear in few systems cited in the literature. They are considered to be the most reliable and suitable for inspecting the 3D shape of products [36,48–50]. Moreover, they have advantage over other techniques including laser, time of flight or LIDAR because the same sensor is used to determine colour information instead of acquiring colour and shape information in an independent manner. Techniques differ in the way they acquire the lighting pattern by means of projecting on the surface [51–53] or focusing the system on the reflection [36,48,54,55] (assuming the object as part of optical system where lighting patterns are projected); the equipment used to generate patterns [56–58] (screens, projectors, etc.); and, in the method used to codify patterns [59–63]. Proposed solutions try to satisfy specific requirements by means of adapting to the application domain and to specific constraints of the products. A system designed to satisfy the quality control of a product generally cannot be applied to another system. As a consequence, the contribution of this paper is to provide an active vision model able to explain the problem of inspecting specular surfaces and able to help in designing vision systems for this purpose. Moreover, the paper proposes a method based on the model that is able to minimize the negative effects of specular surfaces in visual inspection and able to take advantage of specular reflections as a peculiar characteristic. The method is focused on controlling the acquisition conditions (e.g., lighting angles, viewpoints, chromaticity and other lighting characteristics, etc.) to maximize the likelihood of detecting defects. Particular characteristics of the inspection problem make control of the acquisition conditions possible. In order to validate the model the use of simulation is proposed as an inspection system design methodology that could be systematically applied, studying conditions in which the inspection has to be carried out and designing solutions in a flexible way. Virtual inspection makes use of the virtual manufacturing technology to model and simulate the inspection process, and the physical and mechanical properties of the inspection equipment, to provide an environment for studying the inspection methodologies [64]. Simulation based on virtual imaging enables the rendering of realistic images, providing a very efficient way to perform tests compared to the numerous attempts of manual experiments [65]. The introduction of simulation provides a flexible and low-cost method (compared _Sensors_ 2017, _17_, 1466 3 of 30 with experimentation in the laboratory) of testing original hypotheses and the benefits that can be drawn from this research. The rest of this paper is organized as follows. Section 2 describes the active vision model. The method based on the model for inspecting specular surfaces is developed in Section 3. Sections 5 and 6 evaluate the proposed method by controlling image acquisition conditions. Finally, Section 7 concludes the paper. 2. Active Vision Model to Deal with Specular Surfaces We are interested in modeling the automatic process of artificial vision in order to provide solutions to the problem of inspecting specular surfaces. First of all, a model describing the image formation and the variables that take part in this process is presented. An image _I_ is defined as a two-dimensional representation provided by _F_ . Let _F_ a function that models a visual acquisition system, _VAS_ . It includes all equipment and scene configuration to capture an image: lighting, positions, viewpoints, cameras, etc. Let _ρ_ a vector made up of _scene magnitudes_ that contribute to the formation of _I_ Equation (1). Each vector _ρ_ is an element of a representation space _P_ related to optical magnitudes of the visual perception phenomenon. _I_ ( _x_, _y_ ) := _F_ ( _ρ_ ), _ρ_ = ( _ρ_ 1, _ρ_ 2, _ρ_ 3, ..., _ρn_ ) _∈_ _P_ (1) The components _ρi_ of the vector of _scene magnitudes_ are measurable physical values involved in the process of image formation. They could be, in practice: scale, viewpoint, light intensity, frequency, saturation, etc. Each component could be modeled as a function depending on three inputs Equation (2): the subject of interest, _m_, in the scene (e.g., the object to be inspected), the environment, _e_, in which the subject is placed and, finally, the camera, _c_, that captures images from the scene. _ρi_ = _ρi_ ( _m_, _e_, _c_ ) (2) The contribution of each element ( _m_, _e_ and _c_ ) can be expressed as three vectors made up of magnitudes: _µi_ related to the object Equation (3), _ϵi_ related to the environment Equation (4) and _γi_ related to the camera Equation (5). Intensity and wavelength of light sources, medium of transmission, relative position between scene and vision device, are examples of environment variables _ϵi_ . Regarding the camera contribution _γi_, the variables are related to the sensor characteristics, optical and electronic elements: zoom, focus, diaphragm, size of the sensor, signal converters, etc. Finally, the reflectance, colour, shape, topography of the object are examples of object variables _µi_ . The values of each vector establish elements of the set _M_ for the object, _E_ for the environment and Γ for the camera. In Diagram 1 an outline of the magnitudes can be found. _M_ = _{m_ 0, _m_ 1, _m_ 2, ... _}_, _mi_ = ( _µ_ 1, _µ_ 2, ..., _µm_ ) (3) _E_ = _{e_ 0, _e_ 1, _e_ 2, ... _}_, _ei_ = ( _ϵ_ 1, _ϵ_ 2, ..., _ϵn_ ) (4) Γ = _{c_ 0, _c_ 1, _c_ 2, ... _}_, _ci_ = ( _γ_ 1, _γ_ 2, ..., _γl_ ) (5) To define our model, it is worth to remember the sensitivity as an important static characteristic of a sensor. The sensitivity is the slope of the calibration curve (see Figure 1). First, we can define the calibration curve as the function that maps a physical scene magnitude and its representation in the image space. Depending on the camera parameters the calibration curve will have a different function for different scene magnitudes. For instance, a camera with large depth of field will have a smoother calibration curve for intensity measurement (along a larger set of scene magnitudes for intensity, the camera will be able to distinguish between them) than a camera with short depth of field which will have a very abrupt calibration curve for the same scene magnitude (only a small set of intensity values will be distinguishable). With this function, sensitivity indicates the detectable output _Sensors_ 2017, _17_, 1466 4 of 30 change for the minimum change of the measured magnitude. As a naive example, the detectable output could be the ability to perceive two different color that are actually different in the real scene. If the color change is too small, the sensor would return the same value of intensity. In our case, the detectable output in F for the minimum change of the _scene magnitudes_ : _I_ = _F_ ( _ρ_ ) _sensitivity_ = <sup><u>∆</u></sup> <sup>_<u>F</u>_</sup> <sup><u>(</u></sup> <sup>_<u>ρ</u>_</sup> <sup><u>)</u></sup> (6) ∆ _ρ_ Equation (1) c Equation (5) c _γ_ 1 . . . _γl_ _· · ·_ _ρn_ ( _m_, _e_, _c_ ) Equation (2) ( _m_, _e_, _c_ ) e Equation (4) m _µ_ 1 . . . _µm_ _ρ_ 1 ( _m_, _e_, _c_ ) e _ϵ_ 1 . . . _ϵn_ m _µ_ 1 . . . _µm_ e _ϵ_ 1 . . . _ϵn_ c _γ_ 1 . . . _γl_ m Equation (3) Diagram 1: Levels of magnitudes involved in the formation of the image. The image function as the most abstract level on the top, then each scene magnitude, the three elements that composes _ρ_, and the individual measurements of each element on the bottom of the tree. Usually, the camera parameters are calibrated to a set of values _γi_ so that the sensitivity is optimized for all variables of _ρ_ simultaneously with respect to a single metric (not necessarily maximized for each variable _ρi_ ). For example, a camera could be calibrated using a specific zoom, focus and sensor size optimizing the sensitivity of the system to perceive the colour of a subject in a wide range of object distances and viewpoints but the system is not optimized separately for distances or viewpoints. However, a given camera _c_ has maximum sensitivity for a value of each _ρi_ . For convenience, we are going to define the _tuning point_ as the corresponding point _ρs_ in the _scene_ _magnitudes_ space _P_ for each camera of the set Γ in which the sensitivity of the _VAS_ is the optimum (see Figure 1) . The sensitivity decreases in general for values of _ρ_ differently from _ρs_ . F(ρ) ∆F(ρ) ### χ ∆ρ S <sup>ρ</sup> s <sup>ρ</sup> t ρ Figure 1. Calibration curve ( red ) and sensitivity ( green ) for the visual acquisition system ( _VAS_ ) including _tuning ρs_ and _working point ρt_ . In the same way, since the _VAS_ depends on the contribution of the environment _e_, for each value of the set _E_, the corresponding point _ρt_ in the _scene magnitudes_ will be named as the _working_ _point_ . The detected output of this point is related to the sensitivity curve of the _VAS_ for each of the magnitudes _ρi_ because it restricts the limits where the system can work. In average conditions or in simple approaches to vision problems, its effect is usually considered to be negligible because perception takes place close to _ρs_ . This simplification is unacceptable in the case of adverse conditions as it occurs, for example, in dark environments, remote objects from the camera, or in the presence of specular objects that limit the capability of the _VAS_ to perceive the scene. _Sensors_ 2017, _17_, 1466 5 of 30 Acquisition of the scene and representation on a plane carried out by _F_ Equation (1) cause situations, related to vision in adverse conditions, where it is not possible to distinguish between the different scene magnitude vectors _ρ_ that contribute to an image. The capacity to discern elements of _P_ is related to the measurement in the image _I_ of the magnitudes _m_, _e_, and/or _c_, that contribute to each of the components _ρi_ . A specific application could be interested in knowing the intensity lighting of a scene from the environment _e_, or the focal length from the camera _c_, for calibration purposes. However, generally, the contribution of the object _m_ to the image, and, therefore, its magnitudes _µi_, is the aim of the measurement. For example, as we can see in Figure 2, a _VAS_ used to perceive color ( _µ_ 2) of objects is able to distinguish the different objects in the scene. However, if it is used to perceive shape ( _µ_ 1) using the same camera (including all variables _γi_ ), neither objects _m_ 8 and _m_ 9 nor _m_ 10 and _m_ 11 could be distinguished each other (as we mentioned above, a given camera has maximum sensitivity for a specific value of each _ρi_ ). Hence, capacity to discern magnitudes that contribute to the vector _ρ_ can be delimited to distinguish elements of set _M_ in the image (e.g., the colour of a region of an object, or the shape of a surface, or both, etc.). It is important to understand that the scene magnitudes are continuous, not discrete. The representation in the Figure 2 shows a set of magnitudes that are distinguishable in the space of the image _I_ = _F_ ( _ρ_ ), but it is an example of the certain magnitudes in the continuous space of magnitudes _P_ . An object could be distinguishable from another one in the _VAS_ when they are distinguishable in the measurement performed in _F_ (i.e., in the vertical axis of Figures 1 and 2A). Let Ω _mi_ be the set of objects that can be distinguished for an specific object _mi_, and let _χ_ the minimum difference perceptible by the system (sensitivity), then Ω _mi_ could be established as: Ω _mi_ = - _mj_ _∈_ _M_ : ( _∃χ >_ 0)� _|F_ ( _mj_ _ρ_ ) _−_ _F_ ( _mi_ _ρ_ ) _| ≥_ _χ_ �� (7) Figure 2B, shows the measurement performed in _F_ analysed from the point of view of the object space _M_ considering just colour and shape. Objects close to _m_ 1, in the yellow area, are not distinguishable, for that object in this example. However, they are distinguishable for the object _m_ 2 (light green area). Following this example, _m_ 10 _∈_ Ω _m_ 9 but _m_ 10 _̸_ _∈_ Ω _m_ 11, if the measurement performed in _F_ takes into account both colour and shape. A _VAS_ has to deal with different situations that are a consequence of the subsets of _P_ delimited by the problem to be solved (e.g., delimited by objects or by their characteristics to be analysed, or by environments, or by the cameras, etc.). A minimum value of sensitivity _χ_ can be established in which any object is distinguishable from another considered in the acquisition (see Figure 1). The values of the vector of magnitudes _ρ_ in which sensitivity is higher than a threshold _χ_ conform the subset _S_ of _P_ defined by Equation (8). - _<u>|F</u>_ <u>(</u> _<u>ρi</u>_ <u>)</u> _<u>−F</u>_ <u>(</u> _<u>ρi−</u>_ <u>1)</u> _<u>|</u>_ <u>∆</u> _ρ_ _≥_ _χ →_ _mj_ _∈_ Ω _mk_ �� (8) _S_ = _ρi_ : ( _∃χ >_ 0)( _∀mk_, _∀mj_ _∈_ _M_ ) There are no perception difficulties for situations of the subset _S_ _⊂_ _P_ . They involve values of environment and camera, in addition to characteristics of objects, that make up magnitudes _ρ_ of the set _S_ Equation (8). In other words, it is possible to distinguish the images of two different objects ( _mi_ and _mj_ in Equation (9)) from the acquisition performed by _F_ if the _VAS_ is working on points of _S_ ( <sup>_mi_</sup> _ρ_ denote a scene magnitude vector whose component _m_ is the object _mi_ ). ( _∃_ <sup>_mi_</sup> _ρ_, <sup>_mj_</sup> _ρ ∈_ _S_ )( _∀mi_, _mj_ _∈_ _M_ ) �( _mi̸_ = _mj_ ) _→|F_ ( _mi_ _ρ_ ) _−_ _F_ ( _mj_ _ρ_ ) _| >_ 0� (9) _Sensors_ 2017, _17_, 1466 6 of 30 ∆F(ρ) F(ρ) m2 m11 m10 <u>m9</u> m8 m7 <u>m6</u> <u>m5</u> <u>m4</u> <u>m3</u> colour (µ2) m1 ρ(e,m1,c) ρ(e,m2,c) ρ(e,m5,c) ∆ρ ρ(e,m11,c) m3 m4 m6m7 A) B) Figure 2. ( A ) Example of calibration curves for a _VAS_ aimed to measure shape ( green ) and colour ( red ); ( B ) Measurement performed in _F_ transformed to the object space _M_ considering shape _µ_ 1 and colour _µ_ 2. In this example, the colour of the objects _m_ 10 and _m_ 11 can be distinguishable but their shape cannot. Vision systems working on _scene_ _magnitudes_ of the complementary of _S_, _S_ <sup>c</sup>, ( _P_ _\_ _S_ ) present the aforementioned adverse conditions to distinguish characteristics of objects from images. Hence, solutions have to be provided to achieve distinct images from different objects that the camera perceives as the same one. These solutions should be able to compensate the low sensitivity in _S_ <sup>c</sup> (sensitivity less than _χ_ in Figure 1). Among the three variables that provide values to the _scene magnitudes_, object is a constant due to them being the subject of interest. However, environment conditions and camera characteristics could be modified to set up _scene magnitudes ρ_ of the subset _S_ . Thus, the _VAS_ is going to be able to have different images from different objects in the scene in order to distinguish them Equation (9). For this purpose, we propose two complementary alternatives (Diagram 2): _•_ _System Calibration_ (calibrating the system). This alternative tries to minimize the distance between the _working point ρt_ and the _tuning point ρs_ . _•_ _Measurement Enhancement_ (conditioning the measurement). Enhance the target measurements or parameters. This alternative can be considered as conditioning the measurement performed by the _VAS_ . _System Calibration_ consists of shifting one of the points so that the _working point_ be an element of the set _S_ . The goal could be generating a new image of the object _mi_ by a transformation Υ _S_ Equation (10) in which the _working point_ ( _ρ_ <sup>_mi_</sup> _k_ <sup>) be close enough to the</sup> <sup>_tuning point_</sup> <sup>.</sup> <sup>Do not confuse</sup> calibrating the system with calibrating the camera. The alternative presented here could be calibrating the sensor as well as changing other parameters of environment or object of interest. Hence, to carry out this alternative it is necessary to adjust the environment to shift the _working point_, for example moving the object closer to the camera, adjusting lighting conditions, etc. (Figure 3 shows an outline of this process). On the other hand, in order to shift the _tuning point_ (see Figure 4), the camera could be recalibrated or new acquisition equipment can be used (traditionally this is done by replacing the camera with a more suitable one). In this case, subset _S_ of _P_ changes for the new camera from _So_ to _Sn_ . ( _∃_ Υ _S_ )( _∃ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> _∈_ _S_ )( _∀ρ_ <sup>_mi_</sup> _∈_ _P_ ) - _F_ ( _ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>) =</sup> <sup>Υ</sup> <sup>_S_</sup> - _F_ ( _ρ_ <sup>_mi_</sup> )�� (10) _Sensors_ 2017, _17_, 1466 7 of 30 Solution alternatives _System Calibration_ Υ _S_ (Equation (10)) _Measurement Enhancement_ Υ _C_ (Equation (12)) Moving working point (Figure 3) _Adjust lights_, _· · ·_ Moving tuning point (Figure 4) _Calibration_, _· · ·_ Amplify perception _Signal_ _ampli f ication_, _· · ·_ Increasing differences of input magnitudes (Figure 5) _Light_ _pattern_, _· · ·_ Diagram 2: Diagram with the different alternatives to improve the system perception. For the second alternative, _Measurement Enhancement_ aims to directly influence the sensitivity curve of the acquisition system. In a nutshell, it tries to somehow highlight or enhance the parameters _ρ_ which want to be perceived. It can be carried out by means of two new alternatives. First, the output signal of the perception system can be amplified. That is, the classic conception of measurement system amplification at the signal conditioning step. Limitations of this technique are related to increasing the amplitude of the signal in ranges of minimal sensitivity (both minimum and maximum of the range of the sensor because the contribution of the object in the output signal is insignificant, the signal-to-noise ratio is very low). In this way, acquisition system improvements are limited because they are only applied in ranges of intermediate sensitivity. F( ) F( e1 e2 e3 e4 S ……………. en <sup>ρ</sup> k <sup>mi</sup> ρtmi ρs <sup>ρ</sup> k <sup>mi</sup> ρt ρs <sup>ρ</sup> k <sup>mi</sup> ρt ρs <sup>ρ</sup> k <sup>mi</sup> ρtmi Figure 3. Outline for a _System Calibration_ Υ _S_ shifting the _working point_ to _S_ . The initial _working point_ _ρ_ <sup>_m_</sup> _t_ <sup>_i_</sup> ( light green ) has been moved to _ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> ( dark green ) after transformation is applied. The new _working_ _point ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>is close enough to the</sup> <sup>_tuning point ρs_</sup> <sup>.</sup> <sup>_m_</sup> _t_ <sup>_i_</sup> ( light green ) has been moved to _ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>is close enough to the</sup> <sup>_tuning point ρs_</sup> <sup>.</sup> The other alternative of enhancing the target measurement is increasing the differences of the values of the input magnitudes. This is to operate with large differences ( _η_ ) of the input ( _ρ_ ) to increase the differences of the output _F_ for different objects ( _mi_ and _mj_ ) until the differences are perceptible at the output ( _mj_ _∈_ Ω _mi_ ). Figure 5 schematically shows this concept. Elements used as input magnitudes of the set _P_ to get large differences of the input make up the subset _A_ in Equation (11). The goal is to reduce the number of possibilities that the _VAS_ has to deal with; for example, restricting camera positions, viewpoints or lighting characteristics (in this paper, a lighting pattern has been used to inspect specular surfaces). _mj_ _l_ �� ��� _≥_ _η_ - _→_ _mj_ _∈_ Ω _mi_ (11) _mj_ _∈_ _P_ ) _l_ ��( _mi̸_ = _mk_ ) _∧_ ��� _ρkmi_ <sup>_−_</sup> <sup>_ρ_</sup> _A_ = - _ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> : ( _∃η_ _>_ 0)( _∀ρ_ _Sensors_ 2017, _17_, 1466 8 of 30 We model the transformation able to increase the differences of the values of the input magnitudes as Υ _C_ : ( _∃_ Υ _C_ )( _∃ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>_m_</sup> _k_ <sup>_i_</sup> _∈_ _A_ )( _∀ρ_ <sup>_mi_</sup> _∈_ _P_ ) - _F_ ( _ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>) =</sup> <sup>Υ</sup> <sup>_S_</sup> <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρmi_</sup> <sup>))</sup> - (12) F(ρ) <u>∆</u> <u>F(ρ)</u> ΥS(F( ))ρ <sup>mi</sup> <u>∆ρ</u> <u>ΥS(F( ))ρ</u> <sup>mi</sup> ### χ <u>∆ρ</u> F( ))ρ <sup>mi</sup> _e1_ _e2_ _e3_ _e_ 4 So ……………. Sn _en_ ρs ρn <sup>ρ</sup> k <sup>mi</sup> ρi(e,mi,c) _e1_ _e2_ _e3_ _e_ 4 So ……………. Sn _en_ ρi(e,mi,c) ρs ρn <sup>ρ</sup> k <sup>mi</sup> Sn ρn <sup>ρ</sup> k <sup>mi</sup> Figure 4. Outline for a transformation Υ _S_ shifting the _tuning point_ to the _working point ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>.</sup> <sup>Dotted line</sup> curve and light red area represents the old calibration and _So_ respectively. Red line curve and blue area represent the new calibration curve and the new _Sn_ . The old _tuning point ρs_ has been consequently moved to the new one _ρn_ after transformation is applied. The techniques are not exclusive and can be used together for designing vision system in which images of different objects can be distinguished. An example of the use could be a system which needs to perceive two colliding objects separately through a sensor with a fisheye lens. First, a Υ _S_ transformation by means of calibrating the camera to reduce the distortion could be applied. After, Υ _C_ could mean to colorize the objects to enlarge the perceived difference between them. <u>ΥC(F( ))ρ</u> <sup>mi</sup> <u>∆ρ</u> ƞ ΥC (F( ))ρ <sup>mi</sup> ∆F(ρ) ∆F(ρ) F(ρ) ∆ρ χ Sn ρn <sup>ρ</sup> k <sup>mi</sup> _e1_ _e2_ _e3_ _e_ 4 So ……………. Sn _en_ ρs ρn <sup>ρ</sup> k <sup>mi</sup> <sup>ρ</sup> k <sup>mi</sup> ρi(e,mi,c) _e1_ _e2_ _e3_ _e_ 4 So ……………. Sn _en_ ρi(e,mi,c) ρs ρn <sup>ρ</sup> k <sup>mi</sup> Sn ρn Figure 5. Outline for a transformation Υ _C_ able to increase differences of input magnitudes values until the change is perceptible in the output _F_ . Dotted line curve and light red area represents the old calibration and _So_ respectively of the _VAS_ . Red line curve and blue area represent the new calibration curve and the new _Sn_ . The vertical dotted red lines represent values of the set _A_ that allow perceptible changes in the output (horizontal dotted red lines). 3. Method for Inspecting Specular Surfaces In this section, we are going to use the previous model to specify a method for inspecting specular surfaces. The objective of an automated visual inspection system, _AVI_, aims to determine if a product differs from the manufacturer’s specifications. This implies the _AVI_ has to measure the object magnitudes in the scene in order to compare them with values of the magnitudes established in the design step of the product (e.g., reflectance, colour, shape, topography). Two sets of objects are considered for modelling the _AVI_ : _MP_ and _MI_ . The first one is composed of objects that are made up by magnitudes _µi_ defined in the manufacturing specifications. The set _Sensors_ 2017, _17_, 1466 9 of 30 _MI_ is composed by objects to be inspected looking for any deviation from objects of the set _MP_ . These deviations cause, depending on the magnitude, different defects: morphological, chromatic, topographic defects, etc. The union of _MP_ and _MI_ is the subset _MS_ = _{MP ∪_ _MI} ⊂_ _M_ Equation (3) of the possible objects that the inspection system must consider. The inspection goal could be modelled as in Equation (13). The _AVI_ has to decide whether an object _mi_ of the set _MI_ could be distinguished (9) from an object _mj_ of the set _MP_ if any of the _mj_ magnitudes _µi_ differ in some value _η_ from the original _µi_ <sup>_mk_</sup> <sup>.</sup> <sup>The object</sup> <sup>_mj_</sup> <sup>is considered the object</sup> model of _mi_ and contains the manufacturing specifications. magnitudes _µ_ _imj_ differ in some value _η_ from the original _µi_ <sup>_mk_</sup> (13) ��� _≥_ _η_ _→_ _mj_ _∈_ Ω( _mk_ ) ( _∃i_ )( _∃η_ _>_ 0)( _∀mj_ _∈_ _MI_ )( _∀mk_ _∈_ _MP_ ) ���� _µimj_ _−_ _µi_ <sup>_mk_</sup> In order for the deviations ( _η_ ) of the object magnitudes _µi_ from _µi_ <sup>_mk_</sup> to be detected in the image Equation (13), contributions from the environment and the camera to _ρ_ must allow a suitable sensitivity to the _AVI_ . Since it was previously shown that the sensitivity of the _VAS_ ( _AVI_ in this specific case) is optimized simultaneously for all variables of _ρ_, _AVI_ sensitivity is not necessarily maximized for each variable _ρi_ . It is not maximized for each object _m_ and each of its variables _µi_ . Moreover, generally an _AVI_ is designed for performing a measurement of a subset of the object magnitudes _µi_ in the image (i.e., colour, shape). Therefore, the sensitivity of the _AVI_ can be very low for some of the magnitudes _µi_ to be measured. That is, it is possible that the perception be suitable for measuring the surface colour or shape but it could not be suitable for both together. In other words, the intended measurement determines the perception capacity of the _AVI_ . Calibration parameters or environment conditions must be adjusted to adequately perceive magnitudes _µi_ . This process requires great knowledge of the problem and accuracy for the solution. For specular surfaces, the difficulty to perceive in _scene magnitudes_ of _S_ <sup>c</sup> is a consequence of the surface reflectance. The environment conditions produce an effect in the perception of the object being more important than other types of surfaces (e.g., Lambertian surfaces). For example, if it is considered that the calibration parameters _γi_ are the same for two different images, the difficulty to perceive with different environment conditions is given by: In order for the deviations ( _η_ ) of the object magnitudes _µ_ _imj_ from _µi_ <sup>_mk_</sup> Since it was previously shown that the sensitivity of the _VAS_ ( _AVI_ in this specific case) is optimized simultaneously for all variables of _ρ_, _AVI_ sensitivity is not necessarily maximized for each variable _ρi_ . It is not maximized for each object _m_ and each of its variables _µi_ . Moreover, generally an _AVI_ is designed for performing a measurement of a subset of the object magnitudes _µi_ in the image (i.e., colour, shape). Therefore, the sensitivity of the _AVI_ can be very low for some of the magnitudes _µi_ to be measured. That is, it is possible that the perception be suitable for measuring the surface colour or shape but it could not be suitable for both together. In other words, the intended measurement determines the perception capacity of the _AVI_ . Calibration parameters or environment conditions must be adjusted to adequately perceive magnitudes _µi_ . This process requires great knowledge of the problem and accuracy for the solution. _•_ The mirror itself: a given camera can be confused so that it cannot distinguish between the environment and the object. The spatial modulation of the environment contribution creates the illusion of the objects in a scene. _•_ The lighting of the environment can cause shine on the surface and confuse the two images with different objects. For example, the image formed by a grey surface with a high reflection coefficient illuminated by white lights can be confused with the image of a lighter surface object. The specular reflection causes the _working point ρt_ be easily located at the limit of the range of the _VAS_, at the maximum value of _ρ_ that can be measured. Sensitivity is very low for the perception of objects in these conditions because specularity saturates the camera sensor. The viable solution for compensating the lack of sensitivity produced in the ranges of the _scene_ _magnitudes ρ_ (in order to obtain an improved image) is related to the _System Calibration_ that performs the perception system (see Section 2). It is necessary to increase the differences in the values of the input magnitudes, ∆ _ρ_, to raise the differences of the output magnitude until they can be measured (Equation (12)). In other words, using the resolution (another important sensor characteristic that indicates the smallest change in the magnitude being measured that the sensor can detect, e.g., the smallest feature size of an object or the smallest change in colour that the _VAS_ can distinguish), since the resolution in those ranges is very low, it is necessary to force large differences at the input. Thus, it is necessary to work using a subset of _scene magnitudes_ _A_ _⊂_ _P_ in order the perception will be suitable in the points around the _tuning point_ and it will be facilitated in the ranges of sensor saturation. Differences in _F_ will _Sensors_ 2017, _17_, 1466 10 of 30 enable the perception among objects using the set _SA_ in Equation (14). The elements do not necessarily correspond to those of subset _S_ Equation (8). - <u>∆</u> _<u>F</u>_ <u>(</u> _<u>ρi</u>_ <u>)</u> <u>∆</u> _ρ_ _≥_ _χ →_ _mj_ _∈_ Ω _mi_ �� (14) _SA_ = _ρi_ _∈_ _A_ : ( _∃χ >_ 0)( _∀mi_ _∈_ _MP_ )( _∀mj_ _∈_ _MI_ ) In addition, if the _Measurement Enhancement_ is not sufficient to discern the defects in the inspection, the distance between the _working_ _point_ _ρt_ and the _tuning_ _point_ _ρs_ must be minimized using the Equation (10). In this case, minimization is performed on the input magnitudes of the set _A_ . Therefore, the transformation Υ _S_ operates with the values of the input magnitudes _SA_ Equation (14). In consequence, Equation (15) models the proposed solution for inspecting specular surfaces combining the two proposed transformations Υ _S_ and Υ _C_ according to the objects to be inspected and the possible defects to be detected (see Figure 6). <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>,</sup> <sup>_ρ_</sup> _l_ <sup>_ml_</sup> ( _∃_ Υ _C_ )( _∃_ Υ _S_ )( _∃χ_, _η_ _>_ 0)( _∃ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> ( _∃_ Υ _C_ )( _∃_ Υ _S_ )( _∃χ_, _η_ _>_ 0)( _∃ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>,</sup> <sup>_ρ_</sup> _l_ <sup>_ml_</sup> _∈_ _A ⊂_ _P_ ) ( _∃ρ_ <sup>_m_</sup> _o_ <sup>_i_</sup> <sup>,</sup> <sup>_ρ_</sup> _mq_ _j_ _∈_ _SA_ )( _∀ρ_ <sup>_mi_</sup>, _ρ_ <sup>_mj_</sup> _∈_ _P_ ) ( _∃ρ_ <sup>_m_</sup> _o_ <sup>_i_</sup> <sup>,</sup> <sup>_ρ_</sup> _mq_ _j_ _∈_ _SA_ )( _∀ρ_ <sup>_mi_</sup>, _ρ_ <sup>_mj_</sup> _∈_ _P_ ) _F_ ( _ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>) =</sup> <sup>Υ</sup> <sup>_C_</sup> <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρmi_</sup> <sup>)),</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> _ml_ _j_ <sup>) =</sup> _F_ ( _ρ_ <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>) =</sup> <sup>Υ</sup> <sup>_C_</sup> <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρmi_</sup> <sup>)),</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> _ml_ _j_ <sup>) =</sup> <sup>Υ</sup> <sup>_C_</sup> <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρmj_</sup> <sup>))</sup> _F_ ( _ρ_ <sup>_m_</sup> _o_ <sup>_i_</sup> <sup>) =</sup> <sup>Υ</sup> _S_ <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρm_</sup> _k_ <sup>_i_</sup> <sup>)),</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> _q_ <sup>_mi_</sup> <sup>) =</sup> <sup>Υ</sup> _S_ <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> _ml_ _j_ <sup>))</sup> <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>) =</sup> <sup>Υ</sup> <sup>_C_</sup> <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρmi_</sup> <sup>)),</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> _F_ ( _ρ_ <sup>_m_</sup> _o_ <sup>_i_</sup> <sup>) =</sup> <sup>Υ</sup> _S_ <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρm_</sup> _k_ <sup>_i_</sup> <sup>)),</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> _q_ <sup>_mi_</sup> <sup>) =</sup> <sup>Υ</sup> _S_ <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> _ml_ _j_ <sup>))</sup> _mj_ ( _mi̸_ = _mj_ ) _∧_ ��� _ρkmi_ <sup>_−_</sup> <sup>_ρ_</sup> _l_ ��� _≥_ _η_ _→_ ��� _F_ ( _ρomi_ <sup>)</sup> <sup>_−_</sup> <sup>_F_</sup> (15) <sup>_m_</sup> _k_ <sup>_i_</sup> <sup>)),</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> _q_ <sup>_mi_</sup> <sup>) =</sup> <sup>Υ</sup> _S_ <sup>(</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> ��� _≥_ _η_ _→_ ��� _F_ ( _ρomi_ <sup>)</sup> <sup>_−_</sup> <sup>_F_</sup> <sup>(</sup> <sup>_ρ_</sup> ��� _≥_ _χ_ Image ��� _ρkmi_ <sup>_−_</sup> <sup>_ρ_</sup> _mj_ _l_ _mj_ _q_ <sup>)</sup> Conditioning the measurement ϒC Conditioning the Minimizing distance between Objects measurement ϒC tuning and working point ϒS ϒC tuning and working point ϒS Defects Figure 6. Method for inspecting specular surfaces. According to objects and defects, transformations Υ _S_ and Υ _C_ are selected to provide an image in which defects can be detected using computer vision techniques. 4. AVI Method Controlling Environmental Parameters As it was previously shown, increasing the differences of the input magnitude values ∆ _ρ_ can be performed by means of the control of the environmental conditions or of the camera parameters. These are two input parameters of the components _ρi_ Equation (2) that contribute to the formation of the image I Equation (1) and are variables that can be affected by the system. The third input parameter, the object, is considered as a constant because it is the object to be inspected. It is known that the camera, as a photoelectric transducer, provides a measurement related to the scene radiance (see Figure 7). It is a function of environment and object magnitudes. The contribution of interest to the radiance is the radiance coming from the inspected object. This radiance, _LR_, is related to the object reflectance, _fR_ [66] and the irradiance _E_ incident on the surface according to Equation (16). _LR_ = _fREi_ (16) Reflectance _fR_ contributes the necessary information about the behaviour of the light interacting surface of the object. Irradiance, the second factor of Equation (16), is related to the environment variables, in fact, to be precise, to the electromagnetic radiation that reaches the surface of the object. These magnitudes affect the contribution of the object in the camera. Controlling the luminous energy of the environment, a function of the lighting sources and the transmission modulations, is a way of working directly with input magnitudes of the system. Without _Sensors_ 2017, _17_, 1466 11 of 30 considering any other perception characteristics, irradiance is the key. Structuring the energy that reaches the object is a method of affecting the environment or the object. It enables areas of the surface of the object to be isolated, the contrast in the camera to be increased or decreased, etc. Thus, this variable allow us to force large differences at the input to perceive changes in the output image. lighting sources Lf(s,Λ,ξ,t) LR=fREi image object (fR) irradiance (Ei) Figure 7. Parameters involved in the scene radiance _LR_ : object reflectance ( _fR_ ) and irradiance ( _E_ ) incident on the surface. _Measurement Enhancement_ is the task of the transformation Υ _C_ Equation (15). In this paper, we propose a instance ΥΦ of Υ _C_ focused on lighting conditions of the environment. The transformation ΥΦ structures the lighting in order to establish regions on the object radiated by different spectral powers Φ. Areas of different radiances are formed in this way. The regions can be formed by means of spatial modulation, forming a grid. Also, a sequence of lightings using temporal modulation or a combination of both can be used. The regions contribute with different radiances to the input of the camera establishing independent areas in the image. The increasing of the differences at the input of the system is produced in space or time domain Equation (12). In this paper, the transformation ΥΦ is carried out by means of spatial modulation (space domain). The different areas in the image are formed with characteristics proportional to the irradiance _E_ . The object irradiance _E_ actively affects the perception process. The environment parameters are established so that great lighting gradients on the object are formed. The projection of the radiance _L_, which arrives at the optics, forms an image with regions. The projection of the radiance L, which arrives at the optics, forms an image with regions. The gradient of the image is a function of the one generated on the object. The greater the gradient of the pattern, the greater the gradient formed on the photodetectors. Then, a larger difference among adjacent photodetectors is obtained. Therefore, each photodetector has a spectral power associated in an instant (that is the function of irradiance and object characteristics). Structuring the lighting enables the projection of a pattern on the surface object. This pattern is deformed by the object characteristics. It may be considered that the irradiance _E_ is modulated by the object. Then, any other object modulates the generated pattern in a different way, and, therefore, modulates the spectral power, which is received in the space or the time by each photodetector, in a different way (in terms of inspection systems, any object with defects will modulate the generated pattern in a different way than the same object without defects). Controlling the input values of the perception system, for each photodetector, enables a reduction in the elements of the set of _scene_ _magnitudes_ that the system has to deal with. In addition, the pattern has to be configured so that the differences of the output are perceptible according to the magnitudes of the object (shape, colour, topology, etc.) to be perceived. Control of energy that reaches the surface of the object is needed in order to design a certain pattern. The task depends on the number of environment lights, the spatial distribution of lighting, the wavelengths that conform each of the sources, the time, the modulations of transmission, etc. Moreover, the pattern of spectral power Φ could be different in order to inspect a specific magnitude _µi_ of the object _m_ . Then to this purpose, the transformation ΥΦ will determine the spectral power Φ _∈_ _P_ as a function of _µi_ _∈_ _U_ and _m ∈_ _M_ : _Sensors_ 2017, _17_, 1466 12 of 30 ΥΦ : _M × U_ _→_ _P_ (17) For practical considerations, it is interesting that the function of energy establishing the spectral power Φ is established in terms of the field radiance _L f_ by considering four parameters: _s ∈_ _S_, ∆ _∈_ _D_, _ξ_ _∈_ _X_ and _t ∈_ _R_ (see Figure 8). _L f_ : _S × D × X × R →_ _P_ (18) Hence, the transformation ΥΦ could be defined by: ΥΦ( _m_, _µi_ ) := _L f_ ( _s_, ∆, _ξ_, _t_ ) (19) The regions of lighting _ROL_ on the surface of the object can be determined from the parameter _s_ . It is a function that establishes the morphology of the regions of the pattern formed on the surface. Parameter ∆ determines the set of lighting characteristics that radiates each of the established regions _ROL_ . The function _ξ_ determines the spatial configuration of energy reached by the object. The task of the function is to distribute the lighting characteristics of the set ∆ over each of the regions determined by _s_ . Finally, the function depends on time _t_ . If the structured lighting is temporal, it is necessary to generate a sequence of patterns. Moreover, for practical reasons, we define _ROG_ as the regions of lighting on the source. In the same way as _ROL_, the _ROG_ is the morphology of the regions of the pattern conformed on the lighting source, in this case (see Figure 8). ROG ϒΦ(m,µi)=Lf (s,Λ,ξ,t) Λ ξ ROL s Figure 8. Parameters _s_, ∆, _ξ_ of the transformation ΥΦ. 5. Experiments In this section, experiments performed by simulations to validate the model to deal with specular surfaces are presented. Specifically, the objective is to prove whether the transformation ΥΦ is able to compensate for the lack of sensitivity that takes place in certain values of the magnitudes of the scene. In other words, probing whether the transformation _Measurement Enhancement_, by actively controlling the lightning pattern, is able to detect object characteristics (e.g., defects in visual inspection) that are not detected in other conditions. The experiments are mainly based on the scale of perception and the point of view as magnitudes of the scene. We propose the use of simulation based on virtual imaging as an efficient way to perform a large battery of tests (different environment conditions and camera parameters) as a previous step of experimentation in real manufacturing environments, more complex in terms of instrumentation, and thus more expensive. Then, in this section, experiments performed by simulations to validate the model to deal with specular surfaces are presented. _Sensors_ 2017, _17_, 1466 13 of 30 _5.1._ _Experimental Setup_ An extensive explanation of the experimental setup is shown. It integrates the simulator, the subject of interest, and the environmental parameters that allow to design the lighting patterns. 5.1.1. Simulator A simulator has been implemented considering the model presented in Section 2. It is able to synthesize images by _F_ ( _ρ_ ) Equation (1). The components of _ρi_ Equation (2) of the _scene magnitudes_ (scale, viewpoint, light intensity, etc.) are modelled by the characteristics of the subject of interest, _m_, the environment, _e_, and, finally, the camera, _c_ (see Diagram 1). According to the characteristics _µi_ of the subject of interest _m_, the simulator is basically interested in the reflection characteristics of the surfaces. The light reflection on an object depends on the atomic nature of the surface material and on the scattering and dispersion that takes place when the light contacts it. Consequently, in order to determine the reflected flow densities, the spatial configuration of the surface _µS_ and its electromagnetic properties, which determine the type of material, are taken into account. These properties provide the refraction index _µn_ of the surface, which represents the macroscopic optical properties required. Regarding the environment _e_, the problem of specifying it is limited to the specific application of inspection. Therefore, in the process of transmitting the light signal from generating sources to the image, the different lighting sources are considered together with the modulations that the signal experiences, with the exception of those referring to the object to be inspected and those of the acquisition system. As environment variables, a distinction will be made between those related to lighting sources (that make up the fundamental element in the environment magnitudes) and the relative positions of the different elements involved in the scene. In order to carry out the study of local light reflection, the Bidirectional Reflectance Distribution Function (BRDF) presented by Cook and Torrance [67] has been used because different studies show its great capacity to adapt to reflectance extracted from objects [68]. Finally, variables related to the characteristics of the perception system include both the functions that define the optics and those related to the sensor itself. The aim of this research is to study the influence of environmental conditioning on the perception of the object. Then, controlled experimentation aimed to measure the radiance coming from the subject of interest is performed. Therefore, an ideal perception system is considered (images without noise, constant sensitivity for all spectral powers, constant diaphragm, etc.). It influences the radiometric measurement only with geometric variables like the focal distance and the size of the sensor. The other variables have been set to be constant. 5.1.2. Subject of Interest Plane objects are considered in the experiments. They permit a simple control of the angle formed by the elements involved in the scene on all regions of the object. Control is necessary due to that fact that one of the aims of experimentation is to carry out a thorough test of the viewpoint. The set _MP_ of the objects defined in the manufacturing specifications is made up of planes of 12 mm _×_ 12 mm. The function _µS_ establishes the points in a coordinate system that is local to the object independently of microscopic shape. The surface roughness is calculated by means of the Beckmann distribution model [69] by coherence with the BRDF model used. The root mean square is assigned to 0.1 (rms, or m in [67]). According to electromagnetic characteristics, there are two types of plane: dielectric and metallic. Dielectric planes have a refraction index _µn_ of 1.6 and metallic ones (base on chromium) have a refraction index _µn_ of 2.8 and an extinction index _µni_ of 3.2 using the Fresnel equations. Also, other variables of the Cook-Torrance model such as a specularity coefficient ( _s_ in [67]) of 0.75 and a constant diffuse component ( _Rs_ ) associated to a RGB of (0.6,0.6,0.6) have been considered. _Sensors_ 2017, _17_, 1466 14 of 30 The set _MP_ to be inspected is made up of objects with the same characteristics of _MP_ but including defects. Three types of defects have been distributed over these planes (see Figure 9): two changes in topography (a 0.6 mm-diameter crack or crater in Figure 9a,b and a change in colour (an area of 0.6 mm _×_ 0.6 mm in Figure 9c). In this last case, a constant diffuse component _Rs_ associated to a RGB of (0.4,0.4,0.4) on a surface measuring 0.6 mm _×_ 0.6 mm is established. In total, for each plane in _MP_, 3 planes (1 per type of defect) with 25 defects have been considered in _MP_ . Table 1 summarizes the data used in the experiments. 12 mm 0.6 mm ( a ) Crater 12 mm 0.6 mm ( b ) Crack 12 mm 0. ~~6~~ m ~~m~~ ( c ) Change of colour Figure 9. Defects considered in the experiments. 5.1.3. Environment Environment characteristics play an important role in validating the transformation ΥΦ Equation (19). Specifically, the goal is to study the transformation that configures the lighting of the scene to establish regions on the object surface radiated by different spectral powers by means of spatial modulation. Therefore, we have considered different spatial configurations of the energy that reaches the object surface according to different gradients by considering different _s_, ∆ and _ξ_ . Since the objects are planes, the regions of lighting _ROL_ formed by _s_ are established on a plane. In the experiments, the parameters are established from the lighting source domain using the _ROG_ (see Figure 8). The set of lights conform a grid so that the whole lighting extension can be defined for different conditions. Different areas of the regions of grid _ROG_ are considered 0.1 mm _×_ 0.1 mm, 0.2 mm _×_ 0.2 mm, 0.3 mm _×_ 0.3 mm and 0.6 mm _×_ 0.6 mm to determine the influence of the size of the regions inside the areas of defects. Then, the ratios between the size of the region and the size of the defect in one of the dimensions (0.6 mm) are: 6 (0.6/0.1), 3 (0.6/0.2), 2 (0.6/0.3) and 1 (0.6/0.6). The set ∆ Equation (20) is made up of lighting sources using the same characteristics (polarization, power, etc.) except the wavelengths, _δi_, to conform different spectral powers, Φ _δ_ . The wavelengths used are from the visible electromagnetic spectrum. Also, lighting sources only radiate for specific wavelengths (monochromatic lights). - (20) ∆ = �Φ _δ_ 0, Φ _δ_ 1, Φ _δ_ 2, ... Finally, the function _ξ_ determines the spatial configuration of energy emitted by the lighting. The lighting characteristics of the set ∆ are distributed over each of the regions _ROL_ determined by _s_ establishing different gradients: spatial and amplitude. In the experiments, for practical considerations, the _ROG_ composed of a squared grid has been used (Figure 10). In this paper, four different configurations of lighting are considered: two for spatial gradients ( _ξx_ and _ξxy_ ) and two for amplitude gradients ( _ξ_ _L_ and _ξ_ _I_ ). Regarding the former two, the function _ξ_ establishes spectral powers of ∆ Equation (20) into two different spatial distributions. Specifically, _Sensors_ 2017, _17_, 1466 15 of 30 in the experiments the spatial gradient established by _ξ_ is organized in one direction, _ξx_, and in two directions, _ξxy_, (see Figure 11). Let _ROG_ ( _x_, _y_ ) be the region of column _x_ and row _y_ of the lighting grid and let _Nx_, _Ny_ be the column and row of neighbouring regions of the grid. A function _ξ_ will be defined as _ξx_ if it only sets up different lighting characteristics in adjacent positions of an axis of the grid (Figure 10a) and the same ones in adjacent positions of the other axis of the grid. Then, any region in the grid _ROG_ is assigned an element of the set ∆ such that: - _ROG_ ( _x_, _y_ ), ∆ - _ROG_ ( _x_, _y_ ) �, ∆ = Φ _δi_ _∧_ _ξ_ _Nx_ - _ROG_ ( _x_, _y_ ) �, ∆ = Φ _δi_ (21) _ξx_ - = Φ _δi_ _∈_ ∆ : _ξ_ _Ny_ For the second spatial gradient, a function _ξ_ will be defined as _ξxy_ if sets up different lighting characteristics in all adjacent positions of a region of the grid (Figure 10b). Any region in _ROG_ is assigned to an element of the set ∆ Equation (20) such that: - _ROG_ ( _x_, _y_ ), ∆ _Nx_ - _ROG_ ( _x_, _y_ ) �, ∆ = Φ _δi_ _∧_ _ξ_ _Ny_ _Nx_ - _ROG_ ( _x_, _y_ ) �, ∆ = Φ _δi_ (22) _ξxy_ - = Φ _δi_ _∈_ ∆ : _ξ_ _Ny_ _ROG(x,y)_ _ROG(x,y)_ ( a ) _ξx_ ( b ) _ξxy_ Figure 10. Spatial distribution considered for function _ξ_ in the experiments. Regarding the amplitude gradients, two configurations are also considered for _ξ_ : _Linear_, _ξ_ _L_, and _Interlaced_, _ξ_ _I_ . A function _ξ_ will be defined as _ξ_ _L_ if sets up lighting characteristics with close wavelengths in adjacent positions _N_ of the regions of the lighting grid _ROG_ (see Figure 11a) whereas the _Interlaced_, _ξ_ _I_, configuration maximize the differences among wavelengths in these positions (see Figure 11b). Then, in case of _ξ_ _L_, any region in _ROG_ is assigned to an element of the set ∆ Equation (20) such that: _ξ_ _L_ - _ROG_ ( _x_, _y_ ), ∆ - = argmin Φ _δi_ _ξ_ - _N_ - _ROG_ ( _x_, _y_ ) �, ∆ - _−_ Φ _δi_ subject to ∑ _ξ_ ( _N_ ( _ROG_ ( _x_, _y_ )), ∆) _−_ Φ _δi_ _>_ 0 (23) In case of any function that is considered as an _Interlaced_ function, _ξ_ _I_, the _ROG_ is assigned such that: - _ROG_ ( _x_, _y_ ) �, ∆� _−_ Φ _δi_ (24) _ξ_ _I_ ( _ROG_ ( _x_, _y_ ), ∆) = argmax Φ _δi_ _ξ_ - _N_ _Sensors_ 2017, _17_, 1466 16 of 30 Φδo Φδ2 Φδ3 Φδ4 … Φδn Δ Iξ ( b ) Interlaced. _ξ_ _I_ Δ Lξ Φδo Φδ2 Φδ3 Φδ4 … Φδn ( a ) Linear _ξ_ _L_ Figure 11. Amplitude distribution considered for function _ξ_ in the experiments. Different transformations ΥΦ are formed using combinations of functions _ξ_ accomplishing different spatial and amplitude gradients: _Linear_ _X_ ( _ξ_ _L_, _x_ ), _Interlaced_ _X_ ( _ξ_ _I_, _x_ ), _Linear_ _XY_ ( _ξ_ _L_, _xy_ ), and _Interlaced XY_ ( _ξ_ _I_, _xy_ ) to carry out the experiments (see Table 2). The function _Linear X_ ( _ξ_ _L_, _x_ ) is made up by using a function meeting a spatial gradient in one axis of the grid Equation (21) and an amplitude gradient formed by _Linear_ configuration Equation (23). This function uses an ordered sequence ∆ <sup>_L_</sup> of the set ∆. Let Φ _δi_ be an element of ∆ that radiates energy with the wavelenght _δi_ . Let _δ_ <sup>_i_</sup> and _δ_ <sup>_e_</sup> be the minimum and maximum values and let _δ_ <sup>_n_</sup> be the number of wavelengths considered in the sequence, then ∆ <sup>_L_</sup> is: - _<u>δ</u>_ <sup>_e_</sup> _<u>−δ</u>_ <sup>_i_</sup> _δ_ <sup>_n−_</sup> <sup>1</sup> (25) ∆ <sup>_L_</sup> = �Φ _δ_ 0, Φ _δ_ 1, Φ _δ_ 2, ..., Φ _δn−_ 1 - : _n ≥_ 2, _δ_ <sup>_e_</sup> _≥_ _δ_ <sup>_i_</sup>, _δi_ = _δ_ <sup>_i_</sup> + _mod_ ( _i_, _δ_ <sup>_n_</sup> ) An element of the sequence ∆ <sup>_L_</sup> is assigned to the region ( _x_, _y_ ) of the grid lighting _ROG_ by the function _ξ_ <sup>_x_</sup> : _ξ_ <sup>_x_</sup> ( _ROG_ ( _x_, _y_ ), ∆ <sup>_L_</sup> ) = ∆ <sup>_L_</sup> <sup>�</sup> _mod_ ( _x_, _n_ ) - (26) The differences of wavelengths among neighbouring regions are constant in one of the axes of the grid. The function _Interlaced X_ ( _ξ_ _I_, _xy_ ) is made up by a function that accomplishes a spatial gradient in one axis of the grid Equation (21) and an amplitude gradient formed by the ‘ _Interlaced_ ’ configuration Equation (24). In this paper, this function uses an ordered sequence ∆ <sup>_E_</sup> of the set ∆ in which a maximum difference of the wavelengths between adjacent positions is established. Let ∆ _t_ and ∆ _b_ be the top half and bottom half of ∆ <sup>_L_</sup> Equation (25). ∆ _t_ = �Φ _δ_ 0, Φ _δ_ 1, ..., Φ _δi−_ 1�, ∆ _b_ = �Φ _δi_, Φ _δi_ +1, ..., Φ _δn−_ 1 ∆ _t_ = �Φ _δ_ 0, Φ _δ_ 1, ..., Φ _δi−_ 1 �Φ _δi_, Φ _δi_ +1, ..., Φ _δn−_ 1 ∆ _b_ = �Φ _δi_, Φ _δi_ +1, ..., Φ _δn−_ 1� : _i_ = _⌈n_ /2 _⌉_, ∆ _t ∪_ ∆ _b_ = ∆ <sup>_L_</sup> (27) Table 1. Characterists of the objects to be generated in the experiments. Characteristic Metallic Dielectric Surface roughness (rms) 0.1 Refraction index 2.8 1.6 Extinction index 3.2 0 Specularity coefficient 0.75 Diffuse component (RGB) (0.6,0.6,0.6) Diffuse component defect (RGB) (0.4,0.4,0.4) Object size (mm) 12 _×_ 12 Defect size (mm) 0.6 diameter or side _Sensors_ 2017, _17_, 1466 17 of 30 Table 2. Lighting configuration using combinations of the spatial and amplitude gradients. Spatial Gradient X ( _ξ_ _x_ ) XY ( _ξ_ _xy_ ) Linear ( _ξ_ _L_ ) Amplitude gradient Interlazed ( _ξ_ _I_ ) _ξ_ _L_, _x_ _ξ_ _L_, _xy_ _ξ_ _I_, _x_ _ξ_ _I_, _xy_ Then, the sequence ∆ <sup>_E_</sup> combines ∆ _t_ and ∆ _b_ in an interlaced manner: ∆ <sup>_E_</sup> = [ _δ_ 0, _δ_ 1, ..., _δn−_ 1] : (28) _δi_ = ∆ _t_ ( _⌊i_ /2 _⌋_ ) if ( _i_ mod 2) = 0 ∆ _b_ ( _⌊i_ /2 _⌋_ ) if ( _i_ mod 2) = 1 An element of the sequence ∆ <sup>_E_</sup> is assigned to the region (x,y) of the grid by the function _ξ_ <sup>_x_</sup> Equation (26). The function ‘ _Linear XY_ ’ accomplish a spatial gradient in two axes of the grid Equation (22) and an amplitude gradient formed by the ‘ _Linear_ ’ configuration Equation (23). This function uses the ordered sequence ∆ <sup>_L_</sup> Equation (25) of the set ∆. An element of the sequence ∆ <sup>_L_</sup> is assigned to the region (x,y) of the lighting grid by the function _ξ_ <sup>_xy_</sup> : _ξ_ <sup>_xy_</sup> ( _ROG_ ( _x_, _y_ ), ∆) = <sup><u>∆(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>mod</u></sup> <sup>_<u>n</u>_</sup> <sup><u>) + ∆(</u></sup> <sup>_<u>y</u>_</sup> <sup><u>mod</u></sup> <sup>_<u>n</u>_</sup> <sup><u>)</u></sup> (29) 2 Finally, the function ‘ _Interlaced XY_ ’ is defined as meeting a spatial gradient in two axes of the grid Equation (22) and an amplitude gradient formed by the _Interlaced_ configuration Equation (24). This function uses the ordered sequence ∆ <sup>_E_</sup> Equation (28) of the set ∆. An element of the sequence ∆ <sup>_L_</sup> is assigned to the region (x,y) of the grid by the function _ξ_ <sup>_xy_</sup> Equation (29). Also, a reference lighting configuration is defined. It permits the comparison of the improvement produced by enhancing the target parameters to measure. In this case, all the regions of the grid have the same characteristics. The set ∆ is built with one element (monochromatic or polychromatic lights). ∆ = _δ_, _ξ_ ( _ROG_ ( _x_, _y_ )) = _δ_ (30) The parameters used in the transformations ΥΦ are summarized below (see Table 3). The lighting covers the whole surface (12 mm _×_ 12 mm). The areas of _ROL_ s generated by _s_ are 0.1 mm _×_ 12 mm, 0.2 mm _×_ 12 mm, 0.3 mm _×_ 12 mm and 0.6 mm _×_ 12 mm for the functions ‘ _Linear X_ ’ and _Interlaced X_ . The ‘ _Linear XY_ ’ and ‘ _Interlaced XY_ ’ functions from _ROL_ have areas of 0.1 mm _×_ 0.1 mm, 0.2 mm _×_ 0.2 mm, 0.3 mm _×_ 0.3 mm and 0.6 mm _×_ 0.6 mm. According to lighting characteristics ∆, ‘ _Linear X_ ’ and ‘ _Linear XY_ ’ use the sequence ∆ <sup>_L_</sup> Equation (25) with 10 elements for all cases whereas _Interlaced X_ _Sensors_ 2017, _17_, 1466 18 of 30 and ‘ _Interlaced XY_ ’ use the sequence ∆ <sup>_E_</sup> Equation (28) with 120, 60, 40 and 20 wavelengths uniformly distributed from the visible electromagnetic spectrum (380 nm to 780 nm). Finally, the function _ξ_ <sup>_xy_</sup> is used for ‘ _Linear XY_ ’ and ‘ _Interlaced XY_ ’. It establishes (120 _×_ 120), (60 _×_ 60), (40 _×_ 40) and (20 _×_ 20) _ROL_ s on the plane. ‘ _Linear X_ ’ and _Interlaced X_ are made up using the function _ξ_ <sup>_x_</sup> establishing 120, 60, 40 and 20 _ROL_ s according to the areas of the regions considered. Figure 12 shows the different lighting patterns used in the experiments. Table 3. Parameters for the transformations ΥΦ used in experiments. Characteristics Linear X Linear XY Interlazed X Interlazed XY _s_ : _ROL_ areas (mm) _s_ : _ROG_ areas (mm) 0.1 _×_ 12 0.1 _×_ 0.1 0.1 _×_ 12 0.1 _×_ 0.1 0.2 _×_ 12 0.2 _×_ 0.2 0.2 _×_ 12 0.2 _×_ 0.2 0.3 _×_ 12 0.3 _×_ 0.3 0.3 _×_ 12 0.3 _×_ 0.3 0.6 _×_ 12 0.6 _×_ 0.6 0.6 _×_ 12 0.6 _×_ 0.6 0.1 _×_ 0.1 0.2 _×_ 0.2 0.3 _×_ 0.3 0.6 _×_ 0.6 ∆ (# wavelenghts) 10 <u>120</u> <u>60</u> <u>40</u> 20 _<u>Linear X</u>_ _<u>Linear XY</u>_ _<u>Interlaced X</u>_ _<u>Interlaced XY</u>_ Figure 12. Samples of lighting patterns generated by the transformation _υ_ Φ used in the experimentation. _5.2._ _Performance Results_ In order to obtain the performance results, the components _ρi_ Equation (2) considered are scale _ρE_, angle _ρθ_ and intensity lighting _ρI_ . They are the most influential scene variables in the image formation and in the characteristics of the visual inspection systems. _Sensors_ 2017, _17_, 1466 19 of 30 The system is tuned to a set of scale values _ρE_ : 1 pixel/mm, 2 pixels/mm, 5 pixels/mm, 10 pixels/mm and 15 pixels/mm. The set of the component angle _ρθ_, as the angle formed by the surface normal and the camera normal, is formed by the sequence from 0 <sup>_◦_</sup> to 90 <sup>_◦_</sup> with an increase of 10 <sup>_◦_</sup> (10 different angles in total). Finally, the intensity lighting _ρI_ is the basic parameter measured by the camera and is related to the solution proposed for increasing the perception capacity of the system. A large set of camera, environment and object variables take part in the formation of this magnitude. The goal of the tests is to study the intensity lighting according to environment values related to the proposed transformations ΥΦ and not to influence any other variables. However, the angle formed by the surface normal and the lighting plane normal is very important in the design of inspection systems. It affects the intensity lighting _ρI_ . Therefore, it is considered as this parameter. The values contemplated in the tests are from 0 <sup>_◦_</sup> to 90 <sup>_◦_</sup> with differences of 10 <sup>_◦_</sup> (10 different angles in total). In order to measure the effectiveness of the transformation ΥΦ to inspect, the performance is calculated as the number of different pixels between the image of an object without defects and the image of the same object with defects. Specifically, this difference divided by the estimated number of pixels containing the defects, for a specific resolution, measures the success rate. The calculation of this rate is performed in all the possible combinations of the variables _ρi_ contemplated previously. A total of 68,000 images have been synthesized. That is, 17,000 images from objects without defects _MP_ and 51,000 (17,000 _×_ 3 types of defects) images from inspection objects _MI_ with 3 types of defects (2 in topography and 1 in colour). The 17,000 images are the images of 17 lighting configurations (4 ΥΦ functions of environment condition using 4 different lighting areas defined by _s_ and a reference lighting configuration Equation (30)) conditioning the measure of 2 objects (dielectric and metallic) for 500 values of vector _ρ_ (5 _ρE_, 10 _ρθ_ and 10 _ρI_ ). The experimental results of the average success rates for scale _ρE_, angle _ρθ_, lighting _ρI_ and the influence of the size of lighting _s_ regions are detailed in the next sections. 5.2.1. Scale of Perception The study of the perception scale makes discerning the influence of the size of the defects in the image possible. Figure 13a shows the success rates according to the dielectric object. The function ’ _Interlaced_ _XY_ ’ offers the best success rates whereas the ‘ _Linear X_ ’ offers the minimum of the transformations ΥΦ. The average difference between the best function and the reference is 4.33%. The data from functions (’ _Linear XY_ ’ and ’ _Interlaced X_ ’) that uses only one of the maximum proposed gradients, scale or amplitude, is very similar. The average difference is only 0.16%. The differences in success rates according to metallic object are more noticeable (see Figure 13a). The function ’ _Interlaced XY_ ’ shows similar success rates to the case of dielectric material. The values are practically independent of the type of material. However, the success rates of the reference lighting significantly decrease to values between 46% and 57.9%. This is an average difference of 5.85% lower than the success rate of the dielectric case. Therefore, the improvement of the capacity of perception of the system is better using the alternative _Measurement Enhancement_ . It differs more than 10% using the best function ( _Interlaced XY_ ). Also, the results show an increase in sensitivity using spatial distributions organized in two directions ( _ξ_ <sup>_xy_</sup> ). It is interesting to consider the shape of the curve in Figure 13a. The graph represents the success rate of the system as a function of the scale. This is pixels per millimetre and not pixels per defect. The defects used in the tests have a maximum size of 0.6 mm for one of their three dimensions. Therefore, the scale values _ρE_ correspond to 0.6, 1.2, 3, 6 and 9 pixels per dimension of the defect. For the minimum scale (1 pixel/mm), a crack or crater defect is projected into 0.28 pixels <sup>2</sup> and a chromatic defect is projected into 0.36 pixels <sup>2</sup> . This corresponds to an area of 7.065 and 9 pixels <sup>2</sup> respectively in the image of a defective plane (25 defects, see Figure 9). Then, the differences of 1 pixel in the image suppose that success rates vary 11.11% or 14.15%. The ratio of success rate to pixel is very large. Conditions for the next scale (2 pixels/mm) are similar. In this case, differences of 1 pixel in the _Sensors_ 2017, _17_, 1466 20 of 30 image means the detection or not of a defect. The topographic defects are projected into an area of 1.13 pixels <sup>2</sup> and the chromatic ones into an area of 1.44 pixels <sup>2</sup> . Differences of 1 pixel for the rest of the scale values mean a lesser impact on the detection. a) c) e) 70 65 60 55 50 45 100 90 80 70 60 50 40 30 20 10 0 70 60 50 40 30 20 10 0 Homogéneoρ θ (degrees) Modo entrelazado X <u>Modo entrelazado XY</u> <u>Modo lineal X</u> <u><mark>Mo</mark></u> <u>do lin</u> <u><mark>ea</mark></u> <u>l XY</u> f) 70 65 60 55 50 45 b) χ 1 3 5 7 9 11 13 15 ~~χ~~ Homogéneo ρρ EE (pixels/m (pixels/m ~~<u><mark>m)m)</mark></u>~~ Modo entrelazado XModo lineal X Modo entrelazado XYρ E (pixels/mm) HomogéneoModo entrelazado XYρρ EE (pixels/m (pixels/m ~~<u><mark>m)m)</mark></u>~~ Modo entrelazado XModo lineal X ~~Modo lineal XY~~ d) 100 90 80 70 60 50 40 30 20 10 0 ρρ EE (pixels/m (pixels/m ~~<u><mark>m)m)</mark></u>~~ 1 3 5 7 9 11 13 15 HomogéneoModo entrelazado XYρ E (pixels/mm) Modo entrelazado XModo lineal X <u>Modo lineal XY</u> ~~χ~~ <u>χ</u> 0 10 20 30 40 50 60 70 80 90 Homogéneo ρ θ (degrees) Modo entrelazado X Modo entrelazado XYρ θ (degrees) <u>Modo lineal X</u> 70 60 50 40 30 20 10 0 0 10 20 30 40 50 60 70 80 90 HomogéneoModo entrelazado XYρ θ (degrees) Modo entrelazado XModo lineal X ~~Modo lineal XY~~ 0 10 20 30 40 50 60 70 80 90 0 10 20 30 40 50 60 70 80 90 ρ I (degrees) ρ I (degrees) Homogeneous Linear XY Linear X Interlaced XY Interlaced X Figure 13. Success rates for the dielectric ( a, c, e ) and metallic ( b, d, f ) material according to scale ( a, b ), angle ( c, d ) and intensity lighting ( e, f ). In short, the average success rates show higher scale _ρE_, more capacity of perception of the defects both for dielectric and metallic materials, avoiding short scales (1 pixel/mm and 2 pixels/mm) due to the characteristics mentioned in the previous paragraph. Comparing the functions ΥΦ and the reference function, according to the capacity of perception, the data shows that a greater adjustment of the scale is required using the latter lighting. For example, if the minimum threshold _χ_ for determining the defect in the dielectric material (this parameter will depend on the type of application) is 55%. Using the reference lighting, approximately more than 2 pixels/mm are necessary to perceive the defects whereas with ’ _Interlaced_ _XY_ ’ lighting only 1 pixel/mm is needed. In the case of metals, greater adjustment of the system is required. For the same threshold _χ_, more than 9 pixels/mm would be necessary using reference lighting and only 2 pixel/mm _Sensors_ 2017, _17_, 1466 21 of 30 for each of the functions ΥΦ proposed. The best lighting, ’ _Interlaced XY_ ’, makes a system tune to only 1 pixel/mm to detect the possible defects. 5.2.2. Angle of Perception The success rates of the different transformations ΥΦ according to the perception angle _ρθ_ are shown in Figure 13c,d, for the dielectric and metallic objects respectively. The study of the average of the success rates shows that the best conditions to perceive according to _ρθ_ are in the interval [0 <sup>_◦_</sup>, 40 <sup>_◦_</sup> ] for all lighting configurations. The function ‘ _Linear_ _X_ ’ offers the worst results of the transformations ΥΦ even though their differences are minimum, an average of 2.85%. The functions ‘ _Linear XY_ ’ and ’ _Interlaced X_ ’ present a similar behaviour. The average difference between them is 0.77% and it reaches a maximum of 1.12% for an angle of 20 <sup>_◦_</sup> . The best results are provided by the function ‘ _Interlaced XY_ ’. The improvement in the capacity of perception reaches the maximum differences, an average difference of 11.4%, in the interval [10 <sup>_◦_</sup>, 40 <sup>_◦_</sup> ] compared to using the reference lighting. According to the material type in this interval, the differences are 6.84% and 16.05% for the dielectric and metallic case respectively. This is due to the fact that the success rates significantly decrease from inspecting dielectrics materials to metallic one, an average of 8.99% in the interval. Also, the differences in the success rates between the transformations ΥΦ that light the metallic objects are more noticeable. An angle of 20 <sup>_◦_</sup> formed by the surface normal and the camera normal sets the maximum success rate. Using the function ’ _Interlaced XY_ ’ for this angle, similar results are obtained according to the type of material: 95.05% for dielectric materials and 95.19% for metallic one. Furthermore, for the metallic object in this angle, the difference between the ’ _Interlaced XY_ ’ and the lighting reference is 16.53%. The success rate and the differences between the transformations and reference lighting decrease from 40 <sup>_◦_</sup> to reach 8.2% at 90 <sup>_◦_</sup> . In the latter case, it is only possible to detect convex defects. Comparing the functions ΥΦ and the reference function, according to the capacity of perception, the data shows that the increase in the number of the magnitudes of a scene which the system is able to perceive is more significant than in the study of the scale. For example, if the minimum threshold _χ_ for determining the defect in the dielectric material is 80% using the reference lighting, the angle _ρθ_ must be less than 30 <sup>_◦_</sup> to perceive the defects. In this case, using the ‘ _Interlaced XY_ ’ lighting, the angle can increase by up to approximately 43 <sup>_◦_</sup> . Hence, the increase is more than 10 <sup>_◦_</sup> . Assuming a threshold of 75%, the angle formed by the surface normal and the camera normal can be established in the interval [10 <sup>_◦_</sup> –25 <sup>_◦_</sup> ] for determining the defect in the metallic material using the reference lighting. Using any transformation ΥΦ, the angle tuning can be established in the interval [0 <sup>_◦_</sup> –45 <sup>_◦_</sup> ]. Then, the increase is about 30 <sup>_◦_</sup> . 5.2.3. Intensity Lighting Regarding the intensity lighting _ρI_ as the angle formed by surface normal and lighting plane normal, the success rates of the different lighting configurations are shown in the Figure 13e,f, for the dielectric and metallic objects respectively. The function ‘ _Interlaced XY_ ’ provides the maximum success rate and the greatest increase in the capacity of perception of the system. The study of the inspection capacity considering the material type shows the limited sensitivity for perceiving metallic objects using angles _ρI_ close to 0 <sup>_◦_</sup> and the reference lighting. The characteristics of the lighting sources and of the metallic reflection cause sensor saturation in the angle interval [0 <sup>_◦_</sup>, 10 <sup>_◦_</sup> ]. The decreasing of the success rate, compared to the dielectric material, is considerably marked with values close to 20% (concretely 19.72% for 0 <sup>_◦_</sup> and 20.77% for 10 <sup>_◦_</sup> ). Also, transformations using minimum spatial differences show differences of more than 3% between metallic and dielectric in that interval: ’ _Interlaced X_ ’ 3.30% (0 <sup>_◦_</sup> ) and 4.36% (10 <sup>_◦_</sup> ), ‘ _Linear X_ ’ 3.47% (0 <sup>_◦_</sup> ) and 3.30% (10 <sup>_◦_</sup> ). However, if the transformations with spatial distributions in two dimensions are used, sensor saturation is not important. The differences are 0.33% (0 <sup>_◦_</sup> ) and 0.45% (10 <sup>_◦_</sup> ) for the function ‘ _Interlaced XY_ ’ and 0.73% _Sensors_ 2017, _17_, 1466 22 of 30 (0 <sup>_◦_</sup> ) and 0.37% (0 <sup>_◦_</sup> ) for ‘ _Linear XY_ ’. The success rate is independent of the material and the differences are not significant for the rest of the lighting angles. The success rate shows a low gradient for the intensity lighting _ρI_ according to lighting angle. The magnitude has an almost constant behaviour in the interval [0 <sup>_◦_</sup>, 60 <sup>_◦_</sup> ]. The standard deviation is lower than 2 for the transformations ΥΦ whereas the value is 4.21 for the reference lighting for all angles due to the behaviour in the initial values of the metallic plane (the standard deviation for the dielectric plane is 1.44). 5.2.4. Size of Lighting Regions The influence of the size of the lighting regions _ROL_ defined by _s_ on the capacity of perception according to the scale is indicated on the left of Figure 14 and according to the angle on the right of the Figure 14. The size of _ROL_ is represented by the minimum dimension of the region. <u>1</u> <u>2</u> <u>5</u> <u>10</u> <u>15</u> ~~1~~ ~~2~~ ~~5~~ ~~10~~ ~~15~~ 1 2 5 10 15 a) b) c) 70 65 60 55 50 45 40 35 85 80 75 70 65 60 55 65 60 55 50 45 5070 40 3065 2060 10 550 100105 0 9090 458080 4707 0 6060 355050 4040 3030 2020 1010 100 90 80 70 60 50 40 30 20 10 0 d) e) f) 100 90 80 70 60 5070 40 3065 2060 10 550 100105 0 550 00 ~~0~~ ~~<u><mark>10</mark></u>~~ ~~<mark>20</mark>~~ ~~<mark>30</mark>~~ ~~<mark>40</mark>~~ ~~50~~ ~~60~~ ~~70~~ ~~80~~ ~~90~~ ~~Homogéneo~~ ~~Modo entrelazado X~~ ~~<mark>Modo</mark>~~ ~~e~~ ~~<mark>ntrelaza</mark>~~ ~~do XY~~ ~~Modo lineal X~~ ~~Modo lineal XY~~ ~~<u><mark>0</mark></u>~~ ~~<u><mark>10</mark></u>~~ ~~<u><mark>20</mark></u>~~ ~~<u>30</u>~~ ~~<u>40</u>~~ ~~<u>50</u>~~ ~~<u>60</u>~~ ~~<u>70</u>~~ ~~<u>80</u>~~ ~~<u>90</u>~~ ~~Homogéneo~~ ~~Modo entrelazado X~~ ~~Modo entrelazado XY~~ ~~Modo lineal X~~ ~~Modo lin~~ ~~<mark>eal XY</mark>~~ <u>1</u> <u>2</u> <u>5</u> <u>1</u> <u><mark>0</mark></u> <u>15</u> ~~Homogéneo~~ ~~Modo entrelazado X~~ ~~Modo e~~ ~~<mark>ntrelaza</mark>~~ ~~do XY~~ ~~Modo lineal X~~ ~~Modo lineal XY~~ 00 1010 2020 3030 4040 5050 6060 7070 8080 9090 ρ E ROL (mm) / (pixels/mm) ρ E E ρ θ ROL (mm) / ρ θ (degrees) θ HomogéneoHomogéneo Modo entrelazado XModo entrelazado X Modo entrelazado XYModo entrelazado XY Homogeneous Linear XY Linear X I ~~<u>nterl</u>~~ aced XY HomogéneoModo lineal XHomogéneModo lineal Xo I ~~<u>nt</u>~~ ~~<u><mark>er</mark></u>~~ ~~<u>la</u>~~ ced X Modo lineal XModo lineal X Modo lineal XYModo lineal XY Figure 14. Success rates for inspecting a crater ( a, d ), crack ( b, e ) and chromatic defect ( c, f ) according to size of lighting regions and scale ( a - c ) and angle of perception ( d - f ). Increasing the size of _ROL_ decreases the rate of the regions inside the defect. This fact decreases the success rates of inspecting topographic defects using the transformations ΥΦ for all perception scales and angles. The average differences vary from 4% to 5% in the scale case. According to angle, the average differences are about 7% for the crack defect (Figure 14e) in the interval of the maximum sensitivity [10 <sup>_◦_</sup>, 40 <sup>_◦_</sup> ]. The behaviour for the crater defect (Figure 14d) is analogous; it establishes an average difference of sensitivity in that interval of 5%. The differences decrease as the perception angle increases until they are 0 for 90 <sup>_◦_</sup> . The capacity to modulate irradiance in the defect is inversely proportional to its size. In the extreme case where the size of the bands is greater than the size of the defects, the irradiance function will not be able to modulate the reflectance of the object, so it would behave in the same way as a the reference lighting. _Sensors_ 2017, _17_, 1466 23 of 30 The analysis of the chromatic defect shows that the size of lighting regions is independent of the success rate (see Figure 14c,f). In this case, it is practically constant. Therefore, a considerable increase in the perception capacity of the system is obtained. 6. Case Study: Automobile Logo Simulation, as a previous step of experimentation in real manufacturing environments, allows a preliminary study that can be used to discern the best acquisition path planning or the equipment characteristics to perform the inspection of the specular surfaces. Finally, in this section an example of the application of the experimental results of the scale _ρE_ and angle _ρθ_ of perception on specular surface acquisition for inspecting a 100 mm diameter Mercedes Benz metallic logo is shown. The area to be inspected is 4676.15 mm <sup>2</sup> . Given that the minimum threshold _χ_ depends on the application, in this case a value of 80% is assumed. The inspection conditions are restricted to only 5 values of the scene magnitudes _ρi_ for a metallic object with an unstructured lighting (reference lighting). As can be seen in Figure 15 considering scale and angle ( _ρθ_, _ρE_ ), the scene magnitudes are the following: (0 <sup>_◦_</sup>, 2 pixels/mm), (10 <sup>_◦_</sup>, 10 pixels/mm) and those with the considered highest scale ([0 <sup>_◦_</sup>, 10 <sup>_◦_</sup>, 20 <sup>_◦_</sup> ], 15 pixels/mm). The best lighting configuration, ΥΦ ‘ _Interlaced_ _XY_ ’, permits increase the tuning of the scene magnitudes system up to 20 points (see Figure 15): ([20 <sup>_◦_</sup>, 40 <sup>_◦_</sup> ], 1 pixel/mm), ([0 <sup>_◦_</sup>, 10 <sup>_◦_</sup>, 20 <sup>_◦_</sup>, 30 <sup>_◦_</sup> ], 2 pixels/mm), ([10 <sup>_◦_</sup>, 20 <sup>_◦_</sup>, 30 <sup>_◦_</sup>, 40 <sup>_o_</sup> ], 5 pixels/mm), ([0 <sup>_◦_</sup>, 10 <sup>_◦_</sup>, 20 <sup>_◦_</sup>, 30 <sup>_◦_</sup>, 40 <sup>_◦_</sup> ], [10, 15] pixels/mm). Reference lighting Interlaced XY 80 80 0 15 ~~5~~ 80 160 0-80 0 15 ~~5~~ ~~1~~ ρ θ (degrees) ρ E (pp/mm) ρ θ (degrees) ~~1~~ ρ E (pp/mm) 80 80 0 15 ~~5~~ ρ θ (degrees) ~~1~~ ρ E (pp/mm) ρ θ (degrees) ~~1~~ ρ E (pp/mm) 0 15 ~~5~~ Figure 15. Success rates for the dielectric and metallic surfaces according to lighting of reference and the transformation ΥΦ with best results (‘ _Interlaced XY_ ’). The choice of the conditions (scale, angles, etc.) to capture the whole object for inspection is a complex problem. It is necessary to take into account the particularities of each solution. In this case as example, the scale _ρE_ is established at 15 pixels/mm. Therefore, according to the previous scene magnitudes, the perception angle can deviate by up to 20 <sup>_◦_</sup> using the reference lighting and by up to 40 <sup>_◦_</sup> using the function ‘ _Interlaced XY_ ’. In other words, the angle formed by the vector normal to the camera and the normal vector of the surface to be inspected must be from 0 <sup>_◦_</sup> up to 20 <sup>_◦_</sup> using the reference ligthing and from 0 <sup>_◦_</sup> up to 40 <sup>_◦_</sup> in case of ‘ _Interlaced XY_ ’ lighting is used. _Sensors_ 2017, _17_, 1466 24 of 30 In consequence, in order to apply the results, any point on the surface can be viewed as a point on a plane whose normal vector is the normal of the surface at that point. For example, Figure 16a shows an outline of this assumption. In this way, the surface can be analysed as a set of planes (a plane per point on the surface). Then, the experimental results (calculated for planes) can be extrapolated to calculate the perception scale and angle of surfaces of different curvature for any point on the surface. The use of planes for any point on the surface could be computationally expensive. Hence, as the function _µS_ establishes the points on the surface in a coordinate system that is local to the object, in practice the function _µS_ is defined as a triangle mesh: a collection of triangles that defines the surface shape of a polyhedral object in 3D computer graphics. The use of a triangle mesh allows the system to discretize the surface geometry as a reduced collection of planes. The number of planar faces will be determined by the geometry of the surface and the resolution used in the experiments (in this case more than 4000 polygons, although less triangles are enough, high details are not needed due to angle perception is discretized each 10 <sup>_◦_</sup> ). ( a ) Outline of the plane discretizing ( b ) Considered variables for the inspection plan Figure 16. Essential considerations for transferring the conclusions of experimental values to a specific inspection of an object. Since the scene magnitudes are a function of the characteristics of the object, the environment and the camera, it is required to make decisions about the appropriate magnitudes to infer to provide them. In other words, it is necessary to decide which magnitudes of the environment or the camera have to be modified to establish the adequate values of scale and angles calculated in the experiments. The scale will be determined by the number of pixels available to the sensor by setting the camera position at a focus distance and at a constant focal length. The conditions of the angle of perception will be established by the movement on the _X_ and _Y_ axis of the origin of coordinates located in the center of the of the object: the Yaw and Pitch movements of the camera (see Figure 16b). Due to select the variables is a complex problem, an approximation to the optimum solution is proposed in order to determine the appropriate angles between camera and object surface. This increases the captured area of the logo and reduces the images to be captured. For this purpose, a search tree was designed using a branch and bound algorithm, in which the solutions space of each node is reduced to a maximum of five children and a maximum temporal processing level is established. The logo inspection requires 26 captures (see Figure 17a and Table 4) using the lighting reference and a camera of 1452 _×_ 1452 pixels to acquire a surface area of 4619.96 mm <sup>2</sup> (98.79% of the logo). Some captures can be made using a lower resolution of up to 510 _×_ 510 pixels. According to the function ‘ _Interlaced XY_ ’, only 9 images are necessary (see Figure 17b and Table 5). The camera resolution varies between 826 _×_ 826 and 1455 _×_ 1455 in order to cover a total surface area of 4675.05 mm <sup>2</sup> (99.9%). The first capture obtains 45% of the total inspection of the logo whereas only 8.17% is obtained using _Sensors_ 2017, _17_, 1466 25 of 30 the reference lighting. This fact shows how the lighting system allow to perceive in more scene magnitudes. Specifically, more points on the surface accomplish the angle of perception _ρθ_ . Table 4. Environment and camera characteristics to acquire 26 images needed to inspect the metallic logo using the reference lighting. Yaw/Pitch CCD Image Area Inspected Area Accumulated Area Inspected (degrees) (pixels) (mm <sup>2</sup> ) (mm <sup>2</sup> ) (mm <sup>2</sup> ) (%) (0, 0) 1452 _×_ 1452 9377.45 381.97 381.97 8.17% (30, _−_ 30) 1218 _×_ 1218 6588.08 769.21 1151.19 24.62% (0, 40) 1186 _×_ 1186 5982.37 761.16 1912.35 40.90% ( _−_ 30, _−_ 30) 1215 _×_ 1215 6503.9 758.21 2670.56 57.11% (40, 20) 1167 _×_ 1167 5691.68 222.63 2893.19 61.87% ( _−_ 40, 20) 1166 _×_ 1166 5680.73 220.89 3114.07 66.60% (0, _−_ 80) 550 _×_ 550 707.26 143.46 3257.53 69.66% ( _−_ 60, 70) 570 _×_ 570 1038.1 142.98 3400.51 72.72% (30, 80) 510 _×_ 510 630.42 142.09 3542.6 75.76% (80, 40) 519 _×_ 519 1127.5 141.35 3683.95 78.78% ( _−_ 60, _−_ 70) 570 _×_ 570 1015.71 140.94 3824.89 81.80% ( _−_ 20, 80) 493 _×_ 493 620.97 138 3962.89 84.75% (0, _−_ 40) 1137 _×_ 1137 4144.17 137.76 4100.66 87.69% (50, _−_ 80) 543 _×_ 543 615.36 131.11 4231.77 90.50% ( _−_ 30, _−_ 80) 560 _×_ 560 705.12 88.05 4319.82 92.38% ( _−_ 80, _−_ 20) 576 _×_ 576 1075.71 67.33 4387.15 93.82% (50, 60) 635 _×_ 635 1744.96 47.76 4434.91 94.84% (0, 80) 550 _×_ 550 695.4 45.85 4480.76 95.82% (20, _−_ 70) 526 _×_ 526 1213.01 32.72 4513.49 96.52% (10, 30) 1280 _×_ 1280 6672.88 31 4544.48 97.18% (60, _−_ 60) 630 _×_ 630 1538.01 29.37 4573.85 97.81% ( _−_ 30, 40) 1133 _×_ 1133 5565.17 25.12 4598.97 98.35% ( _−_ 50, 70) 586 _×_ 586 1177.92 11.57 4610.55 98.60% (40, _−_ 30) 1164 _×_ 1164 5933.79 4.83 4615.37 98.70% ( _−_ 40, _−_ 20) 1192 _×_ 1192 6175.95 4.41 4619.79 98.80% (10, 60) 749 _×_ 749 1970.75 0.17 4619.96 98.80% Table 5. Environment and camera characteristics to acquire nine images needed to inspect the metallic logo using ‘ _Interlaced XY_ ’ lighting. Yaw/Pitch CCD Image Area Inspected Area Accumulated Area Inspected (degrees) (pixels) (mm <sup>2</sup> ) (mm <sup>2</sup> ) (mm <sup>2</sup> ) (%) (0, 0) 1455 _×_ 1455 9410.15 2079.07 2079.07 44.46% ( _−_ 10, _−_ 60) 1219 _×_ 1219 4252.76 581.96 2661.04 56.91% ( _−_ 10, 60) 1221 _×_ 1221 4234.16 580.29 3241.33 69.32% (60, 10) 1263 _×_ 1263 4574.35 560.57 3801.9 81.30% ( _−_ 70, 0) 1174 _×_ 1174 2899.19 480.71 4282.61 91.58% (40, _−_ 60) 1187 _×_ 1187 4118.58 197.45 4480.06 95.81% (30, 50) 1279 _×_ 1279 5563.56 121.89 4601.95 98.41% ( _−_ 80, 50) 826 _×_ 826 2711.22 36.55 4638.5 99.20% ( _−_ 80, _−_ 70) 923 _×_ 923 1695.65 36.55 4675.05 99.98% _Sensors_ 2017, _17_, 1466 26 of 30 a) b) Figure 17. Images of a metallic logo to be inspected using the reference lighting ( a ) and the function ‘ _Interlaced XY_ ’ ( b ). 7. Conclusions A novel active imaging model able to increase the perception capacity of the visual system is presented. The model provides solutions to vision problems in which it is difficult to perceive. It describes the parameters involved in a visual sensorization system in three main aspects: target object to perceive, environmental conditions, and sensor parameters. Each of them is individually parameterized as object size, color, etc.; environment parameters as light, objects-sensor orientations,...; and sensor parametrization such as focal length, monochrome/RGB/3D, etc. Moreover, the model describes the perception capabilities and the limits, and present solutions to these limits. In particular, the model is instantiated for the specular object inspection, as an example of a challenging situation for visual sensor perception. The specular surfaces problem means the device must operate in the intervals of low perception, related to reflections and shine. Traditionally, automated visual inspection requires a thorough analysis of the problem where solutions include everything from the acquisition equipment to the algorithm to recognize the possible defects. As a consequence, these vision systems are oriented to concrete applications and cannot be generalized. The model presented here deals with this lack by providing a general representation of vision systems and solutions for the perception limitations. The solution proposal of the problem related to specular surfaces provides a normalization of the image in which different objects perceived as the same can be distinguished. First, _Measurement_ _Enhancement_ increasing the differences of the input magnitudes is performed. In this paper, the enhancement of measurements is carried out using environment variables, concretely controlling the lighting conditions. This enhancement spatially structures the lighting in order to set up regions on the surface of the object radiated using different spectral powers forming a grid. Finally, the system is tuned in order for the magnitudes of the scene (scale, angles, intensity lighting, etc.) to be properly perceived. _Sensors_ 2017, _17_, 1466 27 of 30 According to thorough analysis of the problem characteristics, use of virtual imaging simulations as a preliminary method step for validating hypotheses of the visual inspection systems is proposed. The validation of the conditions (point of view, scale, lighting, etc.) in which the inspection has to be performed, can be carried out in a flexible and low cost manner justifying the use of simulations in an early warning step of the system viability. Hence, the model can be pre-validated before the system is developed. The use of simulations and knowledge bases and the generalist approach of the transformation provide a general solution that can be systematically applied. The method can be applied to the resolution of different inspection problems adapting the contents of the knowledge bases, avoiding a new design solution for each problem. A realistic simulator has been designed to carry out the experimentation. This simulator recreates the conditions of the image formation and permits the validation of the inspection systems based on the model. The test shows the use of the transformations ΥΦ improves the capacity of perception of the system compared to a homogeneous environment (only one wavelength or colour). This is both for dielectric and metallic materials with regard to the tuning of the scale, angle or lighting. The use of transformation considering maximum amplitude gradient and maximum spatial differences (‘ _Interlaced XY_ ’) obtains the best results to perceive the defects for all cases. In contrast, the function with minimum amplitude gradient and minimum spatial differences (‘ _Linear X_ ’) offers the worst results of the transformations considered to perform the _Measurement Enhancement_ . The functions (‘ _Linear XY_ ’ and ‘ _Interlaced X_ ’) that use only one of the maximum proposed gradients, scale or amplitude, generally present similar behaviour. The function that performs a homogeneous lighting of the object surface, which is used as reference, obtains the minimum success rate in all cases. Hence, the results prove the improvement in the capacity of perception for different conditions of scale, angle and intensity lighting. The proposed method enables the detection of surface defects in a greater number of values of scale, angle of perception and lighting conditions than in normal conditions using uniform lighting. The immediate repercussion is that a smaller number of captures of the scene is needed by the system. The research should continue by studying the _Measurement Enhancement_ by means of the extension of the input magnitudes: using other transformations based on structured lighting (with different patterns and using the time domain) and using other parameters like variables of the capture system to provide great gradients in the image. The simulation confirms the hypotheses. It would be wise to advance to physical experiments according to the concrete industry in which the system is to be technologically developed. Nowadays, the ‘ _Interlaced XY_ ’ function (in this case, the pattern is made up using the ordered sequence ∆ <sup>_E_</sup> of grey levels instead of using wavelengths) is being tested for increasing the perception capacity of an inspection system aimed to detect shape defects on the surfaces of ceramic tiles. Acknowledgments: This work has been supported by a grant from the University of Alicante project GRE16-28. Author Contributions: J. Azorin-Lopez, A. Fuster-Guillo and J.M. Garcia-Chamizo conceived the model and designed the experiments; J. Azorin-Lopez and M. Saval-Calvo performed the experiments; J. Azorin-Lopez, H. Mora-Mora and J.M. Garcia-Chamizo analyzed the data; All authors wrote the paper. Conflicts of Interest: The authors declare no conflict of interest. References 1. Oren, M.; Nayar, S.K. A Theory of Specular Surface Geometry. _Int._ _J. Comput._ _Vis._ 1997, _24_, 105–124. 2. Jin, H.; Soatto, S.; Yezzi, A.J. Multi-View Stereo Reconstruction of Dense Shape and Complex Appearance. _Int._ _J. Comput._ _Vis._ 2005, _63_, 175–189. 3. Kim, S.; Kweon, I.S. Automatic model-based 3D object recognition by combining feature matching with tracking. _Mach._ _Vis._ _Appl._ 2005, _16_, 267–272. 4. Klinker, G.; Shafer, S.A.; Kanade, T. The measurement of highlights in color images. _Int._ _J. Comput._ _Vis._ 1988, _2_, 7–32. _Sensors_ 2017, _17_, 1466 28 of 30 5. Bajcsy, R.; Lee, S.W.; Leonardis, A. Detection of diffuse and specular interface reflections and inter-reflections by color image segmentation. _Int._ _J. Comput._ _Vis._ 1996, _17_, 241–272. 6. Tan, R.T.; Nishino, K.; Ikeuchi, K. Separating Reflection Components Based on Chromaticity and Noise Analysis. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2004, _26_, 1373–1379. 7. Tan, R.T.; Ikeuchi, K. Separating Reflection Components of Textured Surfaces Using a Single Image. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2005, _27_, 178–193. 8. Wolff, L.B. Polarization-Based Material Classification from Specular Reflection. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 1990, _12_, 1059–1071. 9. Umeyama, S.; Godin, G. Separation of Diffuse and Specular Components of Surface Reflection by Use of Polarization and Statistical Analysis of Images. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2004, _26_, 639–647. 10. Bronstein, A.M.; Bronstein, M.M.; Zibulevsky, M.; Zeevi, Y.Y. Blind Separation of Reflections Using Sparse ICA. In Proceedings of the Symposium on Independent Component Analysis and Blind Signal Separation, Nara, Japan, 1–4 April 2003; pp. 227–232. 11. Xu, L.M.; Yang, Z.Q.; Jiang, Z.H.; Chen, Y. Light source optimization for automatic visual inspection of piston surface defects. _Int._ _J. Adv._ _Manuf._ _Technol._ 2016, doi:10.1007/s00170-016-9937-x. 12. Irani, M.; Rousso, B.; Peleg, S. Computing occluding and transparent motions. _Int._ _J. Comput._ _Vis._ 1994, _12_, 5–16. 13. Szeliski, R.; Avidan, S.; Anandan, P. Layer Extraction from Multiple Images Containing Reflections and Transparency. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Hilton Head Island, SC, USA, 15 June 2000. 14. Swaminathan, R.; Kang, S.B.; Szeliski, R.; Criminisi, A.; Nayar, S.K. On the Motion and Appearance of Specularities in Image Sequences. In _Lecture_ _Notes_ _in_ _Computer_ _Science,_ _Proceedings_ _of_ _the_ _7th_ _European_ _Conference_ _on_ _Computer_ _Vision_ _(ECCV),_ _London,_ _UK,_ _28–31_ _May_ _2002_ ; Heyden, A., Sparr, G., Nielsen, M., Johansen, P., Eds.; Springer: Berlin, Germany, 2002; Volume 2350, pp. 508–523. 15. Lin, S.; Li, Y.; Kang, S.B.; Tong, X.; Shum, H.Y. Diffuse-Specular Separation and Depth Recovery from Image Sequences. In _Lecture Notes in Computer Science, Proceedings of the 7th European Conference on Computer Vision_ _(ECCV), London, UK, 28–31 May 2002_ ; Heyden, A., Sparr, G., Nielsen, M., Johansen, P., Eds.; Springer: Berlin, Germany, 2002; Volume 2350, pp. 210–224. 16. Shah, S.M.Z.A.; Marshall, S.; Murray, P. Removal of specular reflections from image sequences using feature correspondences. _Mach._ _Vis._ _Appl._ 2017, _28_, 1–12. 17. Nayar, S.K.; Fang, X.S.; Boult, T.E. Separation of Reflection Components Using Color and Polarization. _Int._ _J._ _Comput._ _Vis._ 1997, _21_, 163–186. 18. Lin, S.; Lee, S.W. Detection of Specularity Using Stereo in Color and Polarization Space. _Comput._ _Vis._ _Image Underst._ 1997, _65_, 336–346. 19. Zhou, S.; Liang, D.; Wei, Y. Automatic detection of metal surface defects using multi-angle lighting multivariate image analysis. In Proceedings of the 2016 IEEE International Conference on Information and Automation (ICIA), Ningbo, China, 1–3 Augest 2016; pp. 1588–1593. 20. Ikeuchi, K. Determining surface orientation of specular surfaces by using the photometric stereo method. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 1981, _3_, 661–669. 21. Schultz, H.J. Retrieving Shape Information from Multiple Images of a Specular Surface. _IEEE Trans._ _Pattern_ _Anal._ _Mach._ _Intell._ 1994, _16_, 195–201. 22. Koenderink, J.J.; van Doorn, A.J. Photometric Invariants Related to Solid Shape. _J._ _Mod._ _Opt._ 1980, _27_, 981–996. 23. Zheng, J.Y.; Murata, A. Acquiring a Complete 3D Model from Specular Motion under the Illumination of Circular-Shaped Light Sources. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2000, _22_, 913–920. 24. Solem, J.E.; Aanæs, H.; Heyden, A. A Variational Analysis of Shape from Specularities using Sparse Data. In Proceedings of the 2nd International Symposium on 3D Data Processing, Visualization and Transmission, Thessaloniki, Greece, 9 September 2004; pp. 26–33. 25. Wang, J.; Dana, K.J. A Novel Approach for Texture Shape Recovery. In Proceedings of the 2nd International Symposium on 3D Data Processing, Visualization and Transmission, Thessaloniki, Greece, 9 September 2003; pp. 1374–1380. 26. Kutulakos, K.N.; Steger, E. A Theory of Refractive and Specular 3D Shape by Light-Path Triangulation. _Int. J._ _Comput._ _Vis._ 2008, _76_, 13–29. _Sensors_ 2017, _17_, 1466 29 of 30 27. Vasilyev, Y.; Adato, Y.; Zickler, T.; Ben-Shahar, O. Dense specular shape from multiple specular flows. In Proceedings of the 2008 IEEE Conference on Computer Vision and Pattern Recognition, Anchorage, AK, USA, 23–28 June 2008; pp. 1–8. 28. Savarese, S.; Chen, M.; Perona, P. Local Shape from Mirror Reflections. _Int._ _J. Comput._ _Vis._ 2005, _64_, 31–67. 29. Savarese, S.; Perona, P. Local Analysis for 3D Reconstruction of Specular Surfaces—Part II. In _Lecture Notes in_ _Computer Science, Proceedings of the 7th European Conference on Computer Vision (ECCV), London, UK, 28–31 May_ _2002_ ; Heyden, A., Sparr, G., Nielsen, M., Johansen, P., Eds.; Springer: Berlin, Germany, 2002; Volume 2351, pp. 759–774. 30. Savarese, S.; Chen, M.; Perona, P. Recovering Local Shape of a Mirror Surface from Reflection of a Regular Grid. In _Lecture_ _Notes_ _in_ _Computer_ _Science,_ _Proceedings_ _of_ _the_ _European_ _Conference_ _on_ _Computer_ _Vision (ECCV), Prague, Czech Republic, 11–14 May 2004_ ; Pajdla, T., Matas, J., Eds.; Springer: Berlin, Germany, 2004; Volume 3023, pp. 468–481. 31. Lellmann, J.; Balzer, J.; Rieder, A.; Beyerer, J. Shape from Specular Reflection and Optical Flow. _Int._ _J._ _Comput. Vis._ 2008, _80_, 226–241. 32. Fleming, R.W.; Torralba, A.; Adelson, E.H. Specular reflections and the perception of shape. _J. Vis._ 2004, _4_, 798–820. 33. Tarini, M.; Lensch, H.P.A.; Goesele, M.; Seidel, H.P. 3D acquisition of mirroring objects using striped patterns. _Graph._ _Models_ 2005, _67_, 233–259. 34. Bothe, T.; Li, W.; von Kopylow, C.; Juptner, W.P.O. High-resolution 3D shape measurement on specular surfaces by fringe reflection. _Opt._ _Metrol._ _Prod._ _Eng._ 2004, _5457_, 411–422. 35. Knauer, M.C.; Kaminski, J.; Hausler, G. Phase measuring deflectometry: a new approach to measure specular free-form surfaces. _Opt._ _Metrol._ _Prod._ _Eng._ 2004, _5457_, 366–376. 36. Perard, D. Automated Visual Inspection of Specular Surfaces with Structured-Lighting Reflection Techniques. Ph.D. Thesis, Universitat Karlsruhe, Karlsruhe, Germany, 2001. 37. Huang, P.S.; Hu, Q.; Jin, F.; Chiang, F.P. Color-encoded digital fringe projection technique for high speed three-dimensional surface contouring. _Opt._ _Eng._ 1999, _38_, 1065–1071. 38. Perard, D.; Beyerer, J. Three-dimensional measurement of specular free-form surfaces with a structured-lighting reflection technique. In Proceedings of the Three-Dimensional Imaging and Laser-Based Systems for Metrology and Inspection III, Pittsburgh, PA, USA, 14 October 1997; pp. 74–80. 39. Newman, T.S.; Jain, A.K. A Survey of Automated Visual Inspection. _Comput._ _Vis._ _Image Underst._ 1995, _61_, 231–262. 40. Malamas, E.N.; Petrakis, E.G.; Zervakis, M.; Petit, L.; Legat, J.D. A survey on industrial vision systems, applications and tools. _Image Vis._ _Comput._ 2003, _21_, 171–188. 41. Neubecker, R.; Hon, J.E. Automatic inspection for surface imperfections: Requirements, potentials and limits. In Proceedings of the Third European Seminar on Precision Optics Manufacturing, Teisnach, Germany, 12 April 2016; p. 1000907. 42. Cui, Z.; Lu, W.; Liu, J. Real-time Industrial Vision System for Automatic Product Surface Inspection. In Proceedings of the 2016 8th International Conference on Information Management and Engineering, New York, NY, USA, 2–5 November 2016; pp. 93–97. 43. Kulmann, L. On Automatic Visual Inspection of Reflective Surfaces. Ph.D. Thesis, Technical University of Denmark, Kongens Lyngby, Denmark, 1995. 44. Li, J.; Parker, J.M.; Hou, Z. An intelligent system for real time automatic defect inspection on specular coated surfaces. _Vis._ _Commun._ _Image Process._ 2005, _5960_, 596043. 45. Parker, J.M.; Cheong, Y.L.; Gnanaprakasam, P.; Hou, Z.; Istre, J. Inspection Technology to Facilitate Automated Quality Control of Highly Specular, Smooth Coated Surfaces. In Proceedings of the 2002 IEEE International Conference on Robotics and Automation, Washington, DC, USA, 11–15 May 2002; pp. 2567–2574. 46. Pernkopf, F.; O <sup>´</sup> Leary, P. Image acquisition techniques for automatic visual inspection of metallic surfaces. _NDT E Int._ 2003, _36_, 609–617. 47. Chu, H.H.; Wang, Z.Y. A vision-based system for post-welding quality measurement and defect detection. _Int._ _J. Adv._ _Manuf._ _Technol._ 2016, _86_, 3007–3014. 48. Werling, S.; Mai, M.; Heizmann, M.; Beyerer, J. Inspection of Specular and Partially Specular Surfaces. _Metrol. Meas._ _Syst._ 2009, _16_, 415–431. _Sensors_ 2017, _17_, 1466 30 of 30 49. Kammel, S.; Leon, F.P. Head-mounted display for interactive inspection of painted free-form surfaces. _Helmet-Head-Mounted Disp._ _VIII Technol._ _Appl._ 2003, _5079_, 254–264. 50. Lu, Y.; Lu, R. Using composite sinusoidal patterns in structured-illumination reflectance imaging (SIRI) for enhanced detection of apple bruise. _J. Food Eng._ 2017, _199_, 54–64. 51. Sanderson, A.S.; Weiss, L.E.; Nayar, S.K. Structured Highlight Inspection of Specular Surfaces. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 1988, _10_, 44–55. 52. Nayar, S.; Sanderson, A.C.; Weiss, L.; Simon, D. Specular surface inspection using structured highlight and Gaussian images. _IEEE Trans._ _Robot._ _Autom._ 1990, _6_, 208–218. 53. Lai, W.W.; Zeng, X.X.; He, J.; Deng, Y.L. Aesthetic defect characterization of a polymeric polarizer via structured light illumination. _Polym._ _Test._ 2016, _53_, 51–57. 54. Leon, F.P.; Kammel, S. Inspection of specular and painted surfaces with centralized fusion techniques. _Measurement_ 2006, _39_, 536–546. 55. Kammel, S.; Leon, F. Deflectometric Measurement of Specular Surfaces. In Proceedings of the 2005 IEEE Instrumentationand Measurement Technology Conference, Ottawa, ON, Canada, 16–19 May 2005; pp. 531–536. 56. Guo, H.; Feng, P.; Tao, T. Specular surface measurement by using least squares light tracking technique. _Opt. Lasers Eng._ 2009, _48_, 166–171. 57. Zhang, X.; North, W.P. Analysis of 3-D surface waviness on standard artifacts by retroreflective metrology. _Opt._ _Eng._ 2000, _39_, 183–186. 58. Zhang, X.; North, W.P. Retroreflective Grating Generation and Analysis for Surface Measurement. _Appl._ _Opt._ 1998, _37_, 2624–2627. 59. Hoefling, R.; Aswendt, P.; Neugebauer, R. Phase reflection: A new solution for the detection of shape defects on car body sheets. _Opt._ _Eng._ 2000, _39_, 175–182. 60. Hung, Y.Y.; Shang, H.M. Nondestructive testing of specularly reflective objects using reflection three-dimensional computer vision technique. _Opt._ _Eng._ 2003, _42_, 1343–1347. 61. Hung, Y.Y.; Lin, L.; Shang, H.M.; Park, B.G. Practical three-dimensional computer vision techniques for full-field surface measurement. _Opt._ _Eng._ 2000, _39_, 143–149. 62. Seulin, R.; Merienne, F.; Gorria, P. Simulation of specular surface imaging based on computer graphics: Application on a vision inspection system. _EURASIP J. Appl._ _Signal Process._ 2002, _7_, 649–658. 63. Aluze, D.; Merienne, F.; Dumont, C.; Gorria, P. Vision system for defect imaging, detection, and characterization on a specular surface of a 3D object. _Image Vis._ _Comput._ 2002, _20_, 569–580. 64. Virtual reality applications in manufacturing process simulation. _J._ _Mater._ _Proce._ _Technol._ 2004, _155–156_, 1834–1838. 65. Seulin, R.; Merienne, F.; Gorria, P. Simulation of Specular Surface Imaging Based on Computer Graphics: Application on a Vision Inspection System. _EURASIP J. Adv._ _Signal Process._ 2002, _2002_, 801489. 66. Nicodemus, F.E.; Richmond, J.C.; Hsia, J.J.; Ginsberg, I.W.; Limperis, T. _Geometrical_ _Considerations_ _and_ _Nomenclature for Reflectance_ ; Technical Report; National Bureau of Standards: Washington, DC, USA, 1977. 67. Cook, R.L.; Torrance, K.E. A reflectance model for computer graphics. In Proceedings of the 8th Annual Conference on Computer Graphics and Interactive Techniques, New York, NY, USA, 3–7 August 1981; pp. 307–316. 68. Ngan, A.; Durand, F.; Matusik, W. Experimental Analysis of BRDF Models. In Proceedings of the Sixteenth Eurographics conference on Rendering Techniques, Konstanz, Germany, 29 June–1 July 2005. 69. Beckmann, P.; Spizzichino, A. _The Scattering of Electromagnetic Waves from Rough Surfaces_ ; Artech House, Inc.: Norwood, MA, USA, 1987; p. 1987. _⃝_ c 2017 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문

섹션 본문이 없습니다.

참고문헌 58건

  1. Diffuse-Specular Separation and Depth Recovery from Image Sequences Lecture notes in computer science · Springer Science+Business Media · 2002 10.1007/3-540-47977-5_14
  2. Geometrical considerations and nomenclature for reflectance 1977 10.6028/nbs.mono.160
  3. Recovering Local Shape of a Mirror Surface from Reflection of a Regular Grid Lecture notes in computer science · Springer Science+Business Media · 2004 10.1007/978-3-540-24672-5_37
  4. On the Motion and Appearance of Specularities in Image Sequences Lecture notes in computer science · Springer Science+Business Media · 2002 10.1007/3-540-47969-4_34
  5. Phase reflection—a new solution for the detection of shape defects on car body sheets Optical Engineering · SPIE · 2000 10.1117/1.602349
  6. Photometric Invariants Related to Solid Shape Optica Acta International Journal of Optics · Taylor & Francis · 1980 10.1080/713820338
  7. Specular surface measurement by using least squares light tracking technique Optics and Lasers in Engineering · Elsevier BV · 2009 10.1016/j.optlaseng.2009.04.005
  8. Multi-View Stereo Reconstruction of Dense Shape and Complex Appearance International Journal of Computer Vision · Springer Science+Business Media · 2005 10.1007/s11263-005-6876-7
  9. Detection of Specularity Using Stereo in Color and Polarization Space Computer Vision and Image Understanding · Elsevier BV · 1997 10.1006/cviu.1996.0577
  10. Nondestructive testing of specularly reflective objects using reflection three-dimensional computer vision technique Optical Engineering · SPIE · 2003 10.1117/1.1567264
  11. Vision system for defect imaging, detection, and characterization on a specular surface of a 3D object Image and Vision Computing · Elsevier BV · 2002 10.1016/s0262-8856(02)00046-x
  12. Head-mounted display for interactive inspection of painted free-form surfaces Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2003 10.1117/12.484798
  13. A Survey of Automated Visual Inspection Computer Vision and Image Understanding · Elsevier BV · 1995 10.1006/cviu.1995.1017
  14. 3D acquisition of mirroring objects using striped patterns Graphical Models · Elsevier BV · 2005 10.1016/j.gmod.2004.11.002
  15. Virtual reality applications in manufacturing process simulation Journal of Materials Processing Technology · Elsevier BV · 2004 10.1016/j.jmatprotec.2004.04.401
  16. Determining Surface Orientations of Specular Surfaces by Using the Photometric Stereo Method IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1981 10.1109/tpami.1981.4767167
  17. High-resolution 3D shape measurement on specular surfaces by fringe reflection Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2004 10.1117/12.545987
  18. Computing occluding and transparent motions International Journal of Computer Vision · Springer Science+Business Media · 1994 10.1007/bf01420982
  19. Structured highlight inspection of specular surfaces IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1988 10.1109/34.3866
  20. Phase measuring deflectometry: a new approach to measure specular free-form surfaces Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2004 10.1117/12.545704
  21. Specular reflections and the perception of shape Journal of Vision · Association for Research in Vision and Ophthalmology · 2004 10.1167/4.9.10
  22. Detection of diffuse and specular interface reflections and inter-reflections by color image segmentation International Journal of Computer Vision · Springer Science+Business Media · 1996 10.1007/bf00128233
  23. A Theory of Refractive and Specular 3D Shape by Light-Path Triangulation International Journal of Computer Vision · Springer Science+Business Media · 2007 10.1007/s11263-007-0049-9
  24. An intelligent system for real time automatic defect inspection on specular coated surfaces Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2005 10.1117/12.632742
  25. Practical three-dimensional computer vision techniques for full-field surface measurement Optical Engineering · SPIE · 2000 10.1117/1.602345
  26. Analysis of 3-D surface waviness on standard artifacts by retroreflective metrology Optical Engineering · SPIE · 2000 10.1117/1.602350
  27. Color-encoded digital fringe projection technique for high-speed three-dimensional surface contouring Optical Engineering · SPIE · 1999 10.1117/1.602151
  28. Retroreflective grating generation and analysis for surface measurement Applied Optics · Optica Publishing Group · 1998 10.1364/ao.37.002624
  29. A survey on industrial vision systems, applications and tools Image and Vision Computing · Elsevier BV · 2003 10.1016/s0262-8856(02)00152-x
  30. Polarization-based material classification from specular reflection IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1990 10.1109/34.61705
  31. Separating reflection components based on chromaticity and noise analysis IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2004 10.1109/tpami.2004.90
  32. Separating reflection components of textured surfaces using a single image IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2005 10.1109/tpami.2005.36
  33. Specular surface inspection using structured highlight and Gaussian images IEEE Transactions on Robotics and Automation · Institute of Electrical and Electronics Engineers · 1990 10.1109/70.54736
  34. Image acquisition techniques for automatic visual inspection of metallic surfaces NDT & E International · Elsevier BV · 2003 10.1016/s0963-8695(03)00081-1
  35. Shape from Specular Reflection and Optical Flow International Journal of Computer Vision · Springer Science+Business Media · 2008 10.1007/s11263-007-0123-3
  36. The measurement of highlights in color images International Journal of Computer Vision · Springer Science+Business Media · 1988 10.1007/bf00836279
  37. Local Analysis for 3D Reconstruction of Specular Surfaces — Part II Lecture notes in computer science · Springer Science+Business Media · 2002 10.1007/3-540-47967-8_51
  38. Simulation of Specular Surface Imaging Based on Computer Graphics: Application on a Vision Inspection System EURASIP Journal on Advances in Signal Processing · Springer Science+Business Media · 2002 10.1155/s1110865702203030
  39. &lt;title&gt;Three-dimensional measurement of specular free-form surfaces with a structured-lighting reflection technique&lt;/title&gt; Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 1997 10.1117/12.294443
  40. Separation of diffuse and specular components of surface reflection by use of polarization and statistical analysis of images IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2004 10.1109/tpami.2004.1273960
  41. INSPECTION OF SPECULAR AND PARTIALLY SPECULAR SURFACES 2009
  42. Dense specular shape from multiple specular flows 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2008 10.1109/cvpr.2008.4587685
  43. Retrieving shape information from multiple images of a specular surface IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1994 10.1109/34.273732
  44. Inspection of specular and painted surfaces with centralized fusion techniques Measurement · Elsevier BV · 2006 10.1016/j.measurement.2005.12.007
  45. Acquiring a complete 3D model from specular motion under the illumination of circular-shaped light sources IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2000 10.1109/34.868691
  46. Local Shape from Mirror Reflections International Journal of Computer Vision · Springer Science+Business Media · 2005 10.1007/s11263-005-1086-x
  47. Automatic model-based 3D object recognition by combining feature matching with tracking Machine Vision and Applications · Springer Science+Business Media · 2005 10.1007/s00138-005-0174-9
  48. A reflectance model for computer graphics 1981 10.1145/800224.806819
  49. A vision-based system for post-welding quality measurement and defect detection The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2016 10.1007/s00170-015-8334-1
  50. Aesthetic defect characterization of a polymeric polarizer via structured light illumination Polymer Testing · Elsevier BV · 2016 10.1016/j.polymertesting.2016.05.011
  51. Automatic inspection for surface imperfections: requirements, potentials and limits Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2016 10.1117/12.2235863
  52. Using composite sinusoidal patterns in structured-illumination reflectance imaging (SIRI) for enhanced detection of apple bruise Journal of Food Engineering · Elsevier BV · 2016 10.1016/j.jfoodeng.2016.12.008
  53. Real-time Industrial Vision System for Automatic Product Surface Inspection 2016 10.1145/3012258.3012276
  54. Light source optimization for automatic visual inspection of piston surface defects The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2016 10.1007/s00170-016-9937-x
  55. Automatic detection of metal surface defects using multi-angle lighting multivariate image analysis 2016 10.1109/icinfa.2016.7832072
  56. Removal of specular reflections from image sequences using feature correspondences Machine Vision and Applications · Springer Science+Business Media · 2017 10.1007/s00138-017-0826-6
  57. (제목 없음) International Journal of Computer Vision · Springer Science+Business Media · 1997 10.1023/a:1007954719939
  58. (제목 없음) International Journal of Computer Vision · Springer Science+Business Media · 1997 10.1023/a:1007937815113