• Tidak ada hasil yang ditemukan

Directory UMM :Data Elmu:jurnal:S:Sensor Review:Vol20.Issue4.2000:

N/A
N/A
Protected

Academic year: 2017

Membagikan "Directory UMM :Data Elmu:jurnal:S:Sensor Review:Vol20.Issue4.2000:"

Copied!
8
0
0

Teks penuh

(1)

Surface texture

inspection using

conventional

techniques applied to a

photometrically

acquired bump map

M.L. Smith

A.R. Farooq

L.N. Smith and

P.S. Midha

Numerous manufacturing and processing operations involve the manipulation of surface properties, such as three-dimensional shape (Smith and Midha, 1998), surface topographic texture (Koelsch, 1994), and two-dimensional surface coloured patterns (Boukouvalaset al., 1997). Often such surface attributes may be subject to specific functional or aesthetic constraints, and hence require strict control. Increasingly industrialists recognise that the application of automated visual inspection may offer significant opportunity for improved product quality, reduced scrap, and the provision of valuable insight into important process control variables. Yet despite this, and perhaps somewhat surprisingly, relatively little published literature exists on the development of machine vision techniques specifically for surface quality control.

What is surface texture?

The absence of any formal methodology is partly evident in the loose and occasionally ambiguous terminology often used to specify surface characteristics. The requirement to undertake some form of surface assessment occurs in many manufacturing processes, and this rather broad base of application has perhaps contributed to some confusion in nomenclature. In particular, the term ``surface texture'' may itself have quite differing interpretations, which will depend on the particular application under

consideration. For example, a ``surface texture'' may refer to a random or regular variation in the intensity or the geometry of a two-dimensional surface reflectance pattern, where the geometry describes the

arrangement of the reflectance or albedo pattern (Haralick, 1979). Alternatively, a ``surface texture'' may be taken to represent the three-dimensional geometry of small structural features within the surface (BS 1134, 1961), such as depressions or protrusions, sometimes referred to as the surface topography. Hence, a surface texture may constitute a two-dimensional

photometric, or three-dimensional geometric object property, or, as may often be the case, a mixture of both. In addition,

three-The authors

M.L. Smithis a Senior Lecturer,A.R. Farooqis a Research Assistant,L.N. Smithis a Senior Lecturer and

P.S. Midhais a Reader, all in the Faculty of Engineering, University of the West of England, Bristol, UK.

Keywords

Machine vision, Inspection

Abstract

The paper presents a new approach to texture analysis. The need for a more formal definition of the term surface texture is first identified, and an appropriate texture taxonomy proposed. A method of analysis is described, synthesising innovative elements of machine vision and computer graphics to achieve an object-centred inspection technique, which is both robust and flexible in

application. A selection of experimental results is presented in the paper.

Electronic access

The research register for this journal is available at http://www.mcbup.com/research_registers/aa.asp

The current issue and full text archive of this journal is available at

http://www.emerald-library.com

Received: 5 July 2000 Accepted: 17 July 2000 Sensor Review

(2)

dimensional surface features may also be subject to quite differing interpretation at differing scales, and Koenderink and van Doorn (1996) have usefully defined a classification of three distinct structural feature classes ± that of megastructure, mesostructure and microstructure, where each classification differs by one or two orders of magnitude. Here, megastructural features are considered to define object shape or base geometry, while mesostructural features represent surface topographic texture, and microstructural features are associated with microscopic material properties (usually too small to be resolved by an industrial imaging system, except at very high magnification). It is interesting to correlate this classification with established disciplines, from which it may be observed that megastructural features appertain to the study of metrology, while metallurgists generally concern themselves with features on a microscopic scale. However, comparatively less well developed are techniques specifically for the study of mesostructural features, and this represents the developing domain of surface topographic texture analysis that is the subject of the present research.

Given the absence of a clear distinction between surface reflectance and surface geometry, or topographic features, a specific texture taxonomy is proposed, in which the term ``topographic texture'' will be used to refer to three-dimensional textural (i.e. mesostructural) surface features, while ``albedo texture'' will be used to refer to two-dimensional reflectance (i.e. photometric) surface features. The term ``surface

microstructure'' will be used to refer to any three-dimensional surface detail which affects the manner in which incident light is

reflected, but which is too small to be resolved by the imaging system.

What are surface defects?

Surface defects may take the form of an irregularity in the reflectance and/or variation in three-dimensional surface shape. Godinez (1987) divides the task of surface topographic inspection into two categories. The first relates to the detection of isolated defects, where the task is to ignore normal shapes, and find abnormal/undesirable shapes called flaws. The second category is concerned

with pattern inspection, where the whole surface may be considered subject to a topographic pattern, and an attempt is made to categorise or recognise various undesired variations in the pattern. This definition is useful in the context of the current study, as it introduces the concept of a topographic defect or flaw as an abnormality in nominal shape.

An alliance of machine vision and

computer graphics in texture

analysis

An innovative, object-centred technique, has been developed for surface inspection, which combines novel elements of machine vision and computer graphics to create an entirely new approach to surface analysis. Specifically, a method is proposed for the extraction, separation and the analysis of topographic and albedo surface textural data.

Surface images produced using conventional imaging techniques are actually a

representation based on a number of variables, including, the object, the object pose, together with the lighting and camera configuration used. The resulting relationship between the object surface and its image may be described in terms of an ``imaging system transfer function'' ± comprising these various interacting parameter variables. It follows, therefore, that in using such a model, extracted surface feature descriptors actually describe the image, and not the object, where the object features are merely ``implicit'', and related by the imaging system transfer function.

Consequently, in order to simplify the task, the transfer function is most often configured as a constant, by rigorous structuring of the acquisition environment. This is achieved in practice by fixing the object pose, lighting, and camera configuration, etc. As a result, existing machine vision systems are almost always highly inflexible and limited in

(3)

The bump map as an object-centred

topographical texture description

The concept of a bump map has been described by Blinn (1978) for the application of a detailed surface structural texture during the rendering phase of synthetic computer generated images. In the context of this previous work, the technique is used to simulate a complex wrinkled or dimpled surface appearance, without the need for associated geometric modelling. The technique is based upon the realisation that the effect of small topographic features, such as, for example, wrinkles or scratches, on the perceived intensity of a surface region, is primarily due to their effect on the direction of the local surface normal (and thus the light reflected), rather than their effect on the local position of the surface. Hence, bump mapping involves the application of a

modification, usually in a procedural fashion, to the direction of the given surface

normals, as shown by Figure 1, in a manner which serves to mimic a more complex underlying surface geometric description. The result is to alter the appearance of a given surface, without recourse to detailed modelling of the complex surface geometry.

The bump map, which essentially comprises a topographical description, can readily be applied to, or wrapped around, almost any base geometrical form. In the context of the current investigation, it is desired to utilise this powerful concept in reverse, in order to extract a detailed bump map description of a surface from the acquired visual data. The extracted surface bump map may be considered separate and isolated from the smooth underlying object base geometry.

The original concept of synthesising acquired three-dimensional surface normal data with surface bump map modelling, in order to undertake surface inspection, was first described by Smithet al.(1997). Related work, in this now developing area, has

included that by Rushmeieret al.(1997) into bump map capture for the graphical

re-rendering of existing objects, work by Smith into pose invariant texture analysis (Smith, 1999; Smith et al., 1999) and techniques for texture classification (Leung and Malik, 1999; McGunnigle and Chantler, 1999). Essentially, the original concept involved the application of an adaptation of the photometric stereo method to acquire a dense array of surface normal vectors, i.e. one for each image pixel. By comparing the acquired normal data with nominal megastructural geometry, a mesostructural topographic description, defined as the surface bump map, may be extracted. An albedo image, describing the surface reflectance at each pixel location, is also simultaneously generated. Hence, the two acquired descriptions comprise a three- and two-dimensional representation of the observed surface, and can be used to isolate three-dimensional topographic patterns from concomitant two-dimensional surface coloured patterns.

Given that the extracted three-dimensional textural description is modelled as a surface bump map, it may readily be subject to conventional synthetic rendering using existing virtual lighting models (e.g. the Phong (1975) lighting model), under arbitrary viewing and lighting conditions (Smith et al., 1997). Furthermore,

adaptations (or enhancements) of standard image processing techniques may be

applied to the bump map, in order to analyse the three-dimensional data, and this novel aspect will be further discussed later in this paper.

Photometric stereo

The technique of photometric stereo, first described by Woodham (1978), involves a number of separate images, captured from a fixed location, under a sequence of controlled illumination conditions. The local intensity data within each image are then used to derive a dense array of surface normal vectors across the observed surface. A similar approach has been utilised here in order to recover a surface topographic description as an array of perturbed normals, known as a surface bump map. Earlier work has often aimed to recover full three-dimensional shape (using methods

(4)

of integration), for which the technique has not proved to be particularly satisfactory, largely due to limitations in recoverable surface orientation, and the cumulative effects of errors during surface reconstruction. However, in the current application, the nominal underlying low frequency base geometry (megastructure) is assumed to be known, while the superimposed high frequency three-dimensional topographic surface form (mesostructure) is to be derived. The idealised, prototypical form of the base geometry, and the topographic map, together with the surface albedo, may be stored as a CAD model.

Hornet al.(1978) have defined the scene radiance, seen by an observer, as the product of the incident illumination, or irradiation, and surface reflectance, where reflectance is defined as a function of the direction of the surface normal. Assuming orthographic projection and a Lambertian reflection model (for a distant light source), the intensity (I) at image location (x, y) is given by

IˆP…S:N=jSjjNj† ˆP…S:N†; …1†

whereP is the unknown surface reflectance factor, or surface albedo, andSandNare the light source and surface normal unit vectors, respectively. In practice, the assumption of a Lambertian reflectance function is not as restrictive as it might first appear (Pentland, 1984). Many manufacturing forming and finishing processes produce surfaces with predominately diffuse reflection

characteristics, and even highly specular surfaces are approximately Lambertian outside the specular region.

In general, at any particular surface location, three unknowns may be considered to exist; the surface reflectance, or albedo, and the two degrees of freedom describing surface orientation. Hence, by utilising three separate images acquired using three differing lighting configurations, it should be possible to derive both the unknown surface

reflectance, and the unknown local surface orientation. Figure 2 shows a suitable configuration, in which the known location of three illuminates is described by three unit source vectors (S1,S2,S3) and the unknown surface normal by the unit normal vector (N). Using this approach, three separate images are acquired (I1,I2,I3), one for each illuminate. The situation may usefully be

expressed using the following three simultaneous equations: the unknown surface albedo, andNx,Ny,Nz the unknown components of the surface normal.

Using a more concise notation, equation (2) becomes

IˆP‰SŠN; …

whereIrepresents the image intensity vector, Srepresents the light source matrix, andNis the surface normal component vector.

From which the unknown albedoPis given by

P ˆ j‰SŠÿ1Ij; …

in which, for [S]-1to exist, the three light sources and the surface location of interest must not lie in a plane. In practice, the light source vectors are obtained by positioning the illuminates at measured locations, most usefully expressed in terms of three-dimensional rectangular Cartesian co-ordinates.

The unknown surface normal vectorN is then obtained from

Nˆ …1=P†‰SŠÿ1I: …

Hence, equations (4) and (5) provide two separate and significant results:

(1) the local surface albedo; (2) the local surface orientation.

Given that both the surface albedo and normal vector may be derived at each pixel location within the image plane, the

(5)

technique may be considered able to generate a dual surface description. This consists of a detailed surface reflectance map or albedo image, and a separate surface shape model, in the form of a dense matrix of high frequency gradient data. The surface gradient data may be considered as a pattern of perturbations applied to the nominal surface normals. This pattern of normal perturbations, known here as a bump map, effectively serves to describe the topographic texture (mesostructure) of the surface.

Experimental work

Isolation of surface topographic and albedo texture

Plate 1a, b and c shows an example of a particularly difficult surface inspection

problem. The acquired image shows the surface of a ceramic tile composed of a regular

three-dimensional topographic surface relief pattern, concomitant with a random albedo pattern. During inspection it is necessary to assess the integrity of the concealed topographic form. From the acquired image it can be seen how the albedo pattern tends to obscure the topographic pattern, making inspection using conventional image analysis highly problematic. The plate shows how the application of the technique is readily able to separate the surface albedo from the obscured surface topography. A virtual light source has been positioned at the bottom left-hand corner of the rendered synthetic image. It is important to appreciate that no initial training was required, and the tile pose was not subject to constraint.

Adaptation of conventional methods of image analysis to the acquired bump map

In conventional image processing and analysis tasks, various computational algorithms may

(6)

be applied to the acquired pixel intensity or chromatic data, which are usually represented as a discretised array of quantised intensity values. Hence, a typical grey-scale image of 512512 pixels at 256 grey levels may be represented as a two-dimensional matrix of 262,144 integer values. Established

algorithms can be used to isolate, characterise or quantify structural features present within the acquired intensity array. Using methods of photometric stereo it has been shown that both intensity and, in addition, orientation or gradient data may be acquired at each pixel location, the latter in the form of a bump map. Figure 3 schematically depicts a pixelated region in which intensity is represented by the vector length or magnitude, and orientation by the vector direction or sense.

The richer content of the acquired data, afforded by photometric stereo acquisition, offers opportunity for significantly enhanced processing and analysis operations, based on both intensity and directional gradient information. The majority of currently established global and local methods of image processing, traditionally applied to intensity data, may be adapted to the acquired bump map description. For example, methods of thresholding, based upon degree of vector normal perturbation, can be used to generate binary images of isolated topographic

features. Similarly, other well-established techniques, including segmentation,

convolution (i.e. filtering and edge detection), and Hough space transformations, may readily be applied to the bump map description. In this manner it becomes feasible, for example, to isolate and use

three-dimensional surface texture attributes in object recognition and other tasks, by first defining stable texture features.

Bump map analysis

Tile inspection

The binary image of Figure 4 shows the segmented topographic features of the ceramic tile depicted in Plate 1, and has been generated by application of a perturbation threshold to the recovered bump map array. Surface normals perturbed by an angle greater than two degrees from the nominal are shown in black. This represents a simple example of the application of conventional image analysis to the acquired surface bump map array. The segmented features may subsequently be analysed using conventional morphological techniques.

Punched character isolation at unconstrained pose Figure 5 shows a section of a gas turbine blade including a number of alphanumeric

characters, which it is desired to machine read. The characters are applied as a rectangular matrix (57) of circular dot-punched depressions, which locally alter the topography of the blade surface. The impressions made by the punch markings are generally discernible in terms of the local disruption caused in the light reflected from the object surface. As a result, the complex topography of the punch depressions causes incident light to be

scattered. Under suitably structured conditions, as in Figure 5(a), this diffuse behaviour tends to contrast well with the more specular behaviour of the surrounding metal surface, rendering the individual characters clearly visible. However, if the attitude of the blade is altered by only a few degrees, as shown by Figure 5(b), the

characters become almost illegible. Therefore,

(7)

in using conventional structured lighting techniques, it becomes necessary to precisely fix the position and orientation of the component blade relative to the incident illumination. However, by considering the character

markings as a surface bump map, applied to the underlying planar geometry of the turbine blade, it becomes feasible to separate the characters from the base geometry. In this manner, the characters are apparent as perturbations in the nominal surface normals, and by using the object-centred approach described here, it is possible to reliably isolate the characters at almost any position or attitude of the blade. Figure 5(c) shows the isolated and binarised surface bump map.

Wood product inspection

Figure 6(a) shows an acquired image of a region of wood possessing a number of albedo features together with an obscured localised topographic defect feature. In this case the topographic feature of interest takes the form of a fine saw mark. Figure 6(b) and (c) show the isolated synthetic rendered bump map

and albedo images respectively. Both a scattered fine surface roughness structure (sanding marks) and the thin contiguous saw mark are more clearly visible with the surface albedo removed, as shown in the enhanced synthetic view of the bump map. Figure 6(d) illustrates the subsequent application of a 3 3 convolution mask to the bump map vector array, in order to isolate the linear

topographic feature. An edge detection operator has thus been used to isolate discontinuities in the matrix of normal perturbations. This process of analysis is analogous to the detection of a relatively abrupt change in a conventional grey level

Figure 4Thresholded bump map showing segmented topographic features (normal perturbation > 2 degrees)

Figure 5Isolation of punched alphanumeric characters

(8)

intensity array, caused by the presence of an edge, although it has been applied here to detect a three-dimensional topographic textural feature.

Conclusions

A definition of surface texture in terms of both two-dimensional albedo and three-dimensional topographic texture has been proposed. An appropriate methodology for surface texture analysis, synthesising photometric stereo acquisition with surface bump map modelling, has been described. Experimental work has shown how the surface topographic bump map can be isolated from coincident surface colouring and be subject to analysis. The technique is object-centred, and thus largely pose invariant.

References

Blinn, J.F. (1978), ``Simulation of wrinkled surfaces'', Computer Graphics, Vol. 12 No. 3, pp. 286-92. Boukouvalas, C., Kittler, J., Marik, R. and Petrou, M.

(1997), ``Automatic color grading of ceramic tiles using machine vision'', ``Letters to the Editor'',IEEE Transactions on Industrial Electronics, Vol. 44 No. 1. BS 1134 (1961),Centre-line-average Height Method for

the Assessment of Surface Texture, British Standards Institute.

Godinez, P.A. (1987), ``Inspection of surface flaws and textures'',Sensors, June, pp. 27-32.

Haralick, R.M. (1979), ``Statistical and structural approaches to texture'',Proceedings of the IEEE, Vol. 67 No. 5, pp. 786-803.

Horn, B.K.P., Woodham, R.J. and Silver, W.M. (1978), ``Determining shape and reflectance using multiple images'',MIT AI Laboratory Memo, No. 490.

Koelsch, J.R. (1994), ``Troubleshooting finish problems'', Manufacturing Engineering, Vol. 113 No. 3, pp. 53-5.

Koenderink, J.J. and van Doorn, A.J. (1996), ``Illuminance texture due to surface mesostructure'',Journal of the Optical Society of America A, Vol. 13 No. 3. Leung, T. and Malik, J. (1999), ``Representing the visual

appearance of materials using three-dimensional textons'', submitted to theInternational Journal of Computer Vision, December.

McGunnigle, G. and Chantler, M.J. (1999), ``Rotation invariant classification of rough surfaces'',IEEE Proceedings on Vision, Image and Signal Processing, Vol. 146 No. 6, pp. 345-52. Pentland, A.P. (1984), ``Local shading analysis'',IEEE

Transactions on Pattern Analysis and Machine Intelligence, Vol. PAMI-6 No. 2.

Phong, B.T. (1975), ``Illumination for computer generated pictures'',Communications of the ACM, Vol. 18 No. 6, pp. 311-17.

Rushmeier, H., Taubin, G. and Gueziec, A.M. (1997), ``Applying shape from lighting variation to bump map capture'',Proceedings of 8th European Rendering Workshop, pp. 35-44.

Smith, L.N. and Midha, P.S. (1998), ``Computer simulation and analysis of irregular particles for automatic control of powder densities'',The International Journal of Powder Metallurgy, Vol. 34 No. 3, pp. 47-55.

Smith, M.L. (1999), ``The analysis of surface texture using photometric stereo acquisition and gradient space domain mapping'',Image and Vision Computing Journal, Vol. 17 No. 14, pp. 1009-19.

Smith, M.L., Hill, T. and Smith, G. (1997), ``Surface texture analysis based upon the visually acquired perturbation of surface normals'',Image and Vision Computing Journal, Vol. 15 No. 12, pp. 949-55. Smith, M.L., Smith, G. and Hill, T. (1999), ``Gradient space

analysis of surface defects using a photometric stereo derived bump map'',Image and Vision Computing Journal, Vol. 17 No. 3-4, pp. 321-32. Woodham, R.J. (1978), ``Photometric stereo'',MIT AI

Referensi

Dokumen terkait

(1) Penentuan tipe hutan kota sebagaimana dimaksud dalam Pasal 13 sesuai dengan fungsi yang ditetapkan dalam Rencana Tata Ruang Wilayah Perkotaan atau Rencana Tata Ruang

Sumber informasi , antara lain: Statuta, Renstra, laporan tahunan, buku pedoman pengembangan kurikulum, hasil studi pelacakan, statuta, Renstra, kebijakan pimpinan,

prevalence of short stature in Saudi school-age children and

Sum of Squares df Mean Square F Sig. The results of hypotheses 1, 2, and 4 can be interpreted as suggesting that the characteristics of organizational structure types should

Proses lumpur aktif aerobik lebih cocok untuk mengolah limbah Laboratorium Mikrobiologi Industri, dengan penurunan COD Mn sebesar 56% dalam waktu 7 jam untuk MLSS 4000

[r]

Penelitian ini merupakan penelitian observasional dengan metode pengumpulan data secara potong lintang dengan tujuan untuk mengetahui hubungan antara gangguan tidur dan

Adapun judul yang diangkat penulis adalah “ ANALISIS DESKRIPTIF PERILAKU KEWIRAUSAHAAN PADA PENGUSAHA INDUSTRI MOCHI DI KOTA SUKABUMI ”. 1.2 Rumusan