Image Anal Stereol 2001;20:199-202 Original Research Paper ESTIMATION OF FIBRE ORIENTATION FROM DIGITAL IMAGES Salme Kärkkäinen1 and Eva BVedel Jensen2 1Department of Mathematics and Statistics, University of Jyväskylä, P.O. Box 35 (MaD), FIN-40351 Jyväskylä, Finland, 2Laboratory for Computational Stochastics, Department of Mathematical Sciences, Ny Munkegade, DK-8000 Aarhus C, Denmark e-mail: samk@maths.jyu.fi, eva@imf.au.dk (Accepted August 24, 2001) ABSTRACT In this paper, estimation of fibre orientation is studied for fibre systems observable as a blurred greyscale image. The estimation method is based on scaled variograms observed along a set of sampling lines in different directions. The parameters of the orientation distribution are obtained numerically. Simulated data are used to study the statistical properties of the method. Keywords: Boolean model, digitization, fibre orientation, image analysis, simulation, stereology. INTRODUCTION Fibre orientation is one of the important quality factors of fibrous materials affecting the physical properties of the material. Our objective is to estimate the orientation distribution from digital images of paper samples where the fibre structure is a blur and not visible. The fibres are described as a Boolean model of ‘thick’ fibres, cf. Matheron (1972), Mecke and Stoyan (1980) and Molchanov and Stoyan (1994), and the orientation distribution is modelled using the rose of directions of a fibre process (Mecke and Stoyan, 1980). The observed digital image is either binary or multicoloured. In the latter case, a digitized dead leaves model, cf. Jeulin (1989), possibly with additional blurring, is used to describe the image. The stereological estimation of the rose of directions is well-known when the counts of intersections between the fibre system and sampling lines in different directions can be observed, cf. Mecke and Stoyan (1980). In our case instead, the data consist of scaled variograms of grey values on the lines observed from the digital image without knowing the intersection counts. The stereological estimation method has been extended to the case of digital greyscale image data in Kärkkäinen et al. (2001b). Following Jeulin (2000) and Kärkkäinen et al. (2001a), an approximative proportionality between the expected counts of intersections and scaled variograms has been used in the estimation procedure together with a digitization correction. Assuming a parametric rose of directions this leads to nonlinear estimation equations and the parameters are obtained numerically. In order to further enlarge the applicability of this approach, especially for strongly anisotropic fibre processes, we suggest here an improvement to the proportionality model. This approach is applied to an image from a paper sample and simulated images. An alternative approach to the estimation of the orientation distribution from greyscale images can be found in Serra (1982). In the literature of paper manufacturing, the determination of fibre orientation is studied, e.g. in Forgacs and Strelis (1963), Paakkari et al. (1984), Hutten (1994), and in Erkkilä et al. (1998) where the method based on greyscale images is considered. THE IMAGE MODEL Fig. 1 (lower right) shows a digital video camera image of a layer extracted from a paper sample, cf. Erkkilä et al. (1998). The layer has been obtained from separation by a tape stripping technique. The underlying fibre system is degraded due to thickness, overlapping and optical properties of fibres, reflection of light and non-fibrous materials in the sample and also due to digitization. We model the fibre system by a Boolean model (Matheron, 1972) o = u:n1(xn + rn), (1) where {xn} is a stationary Poisson point process with intensity A and {Tn} an i.i.d sequence of line segments with random length l (mean l) and with orientation distribution given by the density f^ of rose of directions M. Furthermore, {rn} is independent of {xn}. Then, the intensity of O is LA = Xl ¯. In paper technology, f^ is often modelled by an elliptic distribution (Forgacs and Strelis, 1963) c fAa;%,K)= ^, 0 < a < n, 1-K2cos2(a-z) (2) 199 Kärkkäinen S et al: Estimation of fibre orientation from digital images where c is the normalizing constant, the preferred direction of fibres t G [0, p is orthogonal to the machine direction and the strength of anisotropy k G (0,1) describes deviation from the circular model (k = 0). A simulated realization from this model is shown in the upper left image of Fig. 1. In practice, we observe a random field (Z(x) h(x;F), x G }, where h is a complex unknown degradation function. In the simplest case, fibres are allowed to have thickness leading to (Z(x) = 1 X(x)} with X — Un1 \xn + Xn) (3) Here X n is a ‘thick’ version of G n. In the upper middle of Fig. 1, a realization of a digitized version of Z = 1X is shown, with X n equal to a flat ellipse with major axis G n. In more complex cases, a greyscale image is observed. We have here used a dead leaves model with finite time (Jeulin, 1989). Each point of the greyscale image has either the background colour or the colour of the fibre fallen most recently on that point. Blur has been modelled by moving average filtering. Used iteratively, it approximates Gaussian filtering (e.g. Glasbey and Horgan, 1995). Simulations are shown in the upper right and lower left image of Fig. 1. THE ESTIMATION METHOD The estimation of the orientation distribution f^, is based on stereological data. The image is intersected by lines in different directions and the variation of grey level is observed as a scaled variogram along each line. The estimation is based on a well-known formula, concerning intersections of the fibre process F and the sampling line L b at an angle b G [0,p to the x-axis. The orientation distribution is related to the intensity PL 0 b of the point process LflF according to P0b=LA p\sin(a-b\f^a)da, (4) J0 cf, e.g. Mecke and Stoyan (1980). In a degraded case the intersection points are not observable. Instead ofP0b we suggest the use of the scaled variogram of grey values VL{ ,b E\Z(x)-Z(y)\ (5) Fig. 1. Simulation from four different image models and an image of a paper sample (lower right). The size of the simulated images is 250 x 200. Upper left is a Boolean fibre model with intensity l = 0.014 and fibres equal to line segments with uniform length l in (20,60) and elliptic orientation distribution with parameters t k = (1.603,0.888). Upper middle is the digital image of the corresponding ’thick’ fibre model of ellipses (3) with 250 x 200 pixels. The minor axis of the ellipses is always 1. Upper right is the digital greyscale image of a realization of the corresponding dead leaves model with finite time. The background has grey value 50, the first layer’ of fibres 130, the second 170 and the third 210, respectively. Lower left is the digital greyscale image obtained by additional blurring, using a moving average filter of size (2m + 1) x (2m +1), with m=1, a total of four times. This approximates a Gaussian filter with s2 = 4/3 (m2 + m). Lower right is a digital greyscale image of size 216 x 200 pixels (10.2 mmx 9.4 mm) from a layer of a paper sample. Resolution is 47 mm. 200 Image Anal Stereol 2001;20:199-202 where x, y G R2 are points on L b at the distance d = \\x — y\\. In what follows, let the typical segment and its thick version be denoted by G 0 and X0, respectively, cf. (1) and (3). Then, under mild regularity conditions we have for a binary random field {Z(x) = 1 X(x)} and small d, cf. Kärkkäinen et al. (2001a), VL(d,b*(1-dP0b/2)PL 1 b (6) where PL 1 b is the intensity of L b D¶ X. This intensity is related to PL 0 b by (Kärkkäinen et al, 2001a;b; Molchanov and Stoyan, 1994) Eha(X 0) PL 1 b = exp(-l E n2(X0)) 2 Eh±^-P0b (7) where n2 denotes the two-dimensional Lebesgue measure. If Eh bX0) Ehb(G0) (8) meaning that the thickness of fibres is small compared to the length of fibres, then approximately for small d VL(d,b*x(1-dPL 0 b2)PL 0 b (9) where x = 2exp(—l E n2(X0)). For sufficiently small d, (1-dPL 0 b/2) « 1 and thus VL(d,b » xP0Lb. The results can be extended to a dead leaves model, cf. Jeulin (2000). However, note that x is not any more the same as in (9) because the dead leaves model concerns multicoloured images. In practice, the scaled variogram (5) is observed from a digitalimage {z(l,m) : l,m integers} along a digital line L ¯ b chosen to be a pixel sequence of 8-connected pixels in different directions b. When the pixels (l,m),(l',m') are neighbours, the distance d = 11 (l, m) — (l', m') 11 is either 1 for horizontal and vertical neighbours, or \2 for the diagonal ones. We use the estimator V ˆLb J(l,m),(l',m')eL ¯ b )6L ¯ b \z(l,m)-z(l,m') åil,mUl>m)eL ¯ blim)-(l'im') (10) cf. Kärkkäinen et al. (2001a;b). We consider 8 directions. The main directions b 1 = 0,b 3 = p4 = 0.785, b5 = p2 = 1.571,b7 = 3p4 = 2.356 with distances between neighbour pixels d1 = 1, d3 = 1/2, d5 = 1, d7 = \/2, respectively, and the intermediate directions b2 = 0.464, b 4 = 1.107, b6 = 2.034, b8 = 2.678. Let us define Fiq= p\sin(a-b i)\f^a;qda (11) J0 in all directions while Giq,LA)=Fiq 1-diLAFiq/2] (12) holds for i = 1,3,5,7 and Giq,LA) *i-1 -1+d+1 d i1 + d i-1 +d i1 Gi-1 q,LA) -Gi 1 qLA) (13) for i = 2,4,6,8. Then according to Kärkkäinen et al. (2001a) EVLb i) * xLAGiqLA (14) for i = 1,...,< In the estimation of the parameters q = t k , using these eight directions, we can eliminate the unknown x and use a least square estimation procedure. It leads to numerical minimization of the sum of weighted squares, compare to Kärkkäinen et al. (2001b), c ˆ q,LA) = åWi i=2 V ˆ L b i)-V ˆ L b 1) GiqLA) G1q,LA) (15) where Wi = LiL1/(Li + L1) for i = 2,...,8, Li is the total length of the sampling line in direction b i. In the ideal situation where PL 0 b can be estimated the formula (Kärkkäinen et al., 2001b) c ˆ q = åWi i=2 P ˆ L 0 b i-PimF q (16) should be used instead of (15). Note that in a general use of the formula (16), the directions and the number of sampling lines can differ from the collection {b i, i = 1,...,8}. RESULTS AND PERSPECTIVES We have estimated the orientation parameters of the elliptic distribution using data from each of the five images shown in Fig. 1. For the image of line segments (upper left of Fig. 1), the data consist of estimated point intensities Pˆ L b i. For the binary (0,1)-valued image, the dead leaves simulation, the blurred image and the paper image, the data are scaled variograms V ˆLb i, VL dl b i, VLb i and VLpaper b i, respectively, calculated from (10). The data are shown in Table 1, together with t ˆ and k obtained from (16) for point intensities and from (15) for scaled variograms. From 201 Kärkkäinen S et al: Estimation of fibre orientation from digital images the paper image in Fig. 1 the estimated parameters are t ˆ k ˆ = (1.603,0.888), the same values used in simulation of the four other images. In the cases of simulated data the estimates obtained from scaled variograms should be compared with the ones obtained from the estimated point intensities. The estimates are quite similar except in the blurred case where k is somewhat smaller. The ratios VL b i V ˆL b i) show a diagonal effect which partly explains the differences in the estimates. We have also estimated the parameters, using the simplified relation (Kärkkäinen et al, 2001b) VL(d,b*xP0b (17) compared with (9). Quite similar estimates were obtained in this example. With more pronounced anisotropy or larger d it might, however, be important to use the refined relation (9). ACKNOWLEDGEMENTS This work has been supported by Academy of Finland (MaDaMe-project No 50139), INTAS-project No 0537 and NorFA-project No 000519. The authors also thank professors Antti Penttinen, Nikolai G. Ushakov, Alexandra P. Ushakova and Dominique Jeulin for cooperation. Table 1. In eight different directions b i theoretical and estimated point intensities PL 0 b i, variograms VL b i, VL b i), VL b i), VL b i are shown for the binary, the dead leaves, paper image of Fig. 1, respectively. Estimates of t and k are also shown. P ˆ L 0 bi) and scaled the blurred and the b i PL 0 b i) P ˆ L 0 b i V ˆ L b i) V ˆ Ldl b i blur V ˆ L b i ) -'-'paper N '' 0.000 0.401 0.419 0.266 38.51 8.072 11.573 0.464 0.388 0.406 0.239 35.04 7.753 10.745 0.785 0.364 0.377 0.223 32.80 7.522 10.163 1.107 0.335 0.346 0.220 32.52 7.298 9.697 1.571 0.311 0.320 0.217 32.07 6.988 9.262 2.034 0.330 0.334 0.217 31.93 7.214 9.599 2.356 0.358 0.359 0.216 31.79 7.378 10.036 2.678 0.384 0.390 0.237 34.64 7.668 10.666 t ˆ 1.603 1.655 1.658 1.671 1.639 1.603 k 0.887 0.910 0.901 0.876 0.773 0.888 REFERENCES Erkkilä A-L, Pakarinen P, Odell M (1998). Sheet forming studies using layered orientation analysis. Pulp and Paper Canada 99:T39-T43. Forgacs OL, Strelis J (1963). The measurement of the quantity and orientation of chemical pulp fibres in the surfaces of newsprint. Pulp and Paper Mag. of Canada 64T3-T13. Glasbey CA, Horgan GW (1995). Image Analysis for the Biological Sciences. Chichester: Wiley. Hutten IM (1994). Paper machine evaluation by fiber orientation profile analysis. Tappi Journal 77:187-192. Jeulin D (1989). Morphological modeling of images by sequential random functions. Signal Processing 16:403-431. Jeulin D (2000). Variograms of the dead leaves model. Research Report N-31/00/MM, Paris School of Mines Publication. Kärkkäinen S, Jensen EBV, Jeulin D (2001a). On the orientational analysis of Boolean fibres from digital images. Research Report 15, Laboratory for Computational Stochastics, Department of Mathematical Sciences, University of Aarhus. Submitted. Kärkkäinen S, Penttinen A, Ushakov NG, Ushakova AP (2001b). Estimation of orientation characteristic of fibrous material. Adv Appl Prob 33:559-575. Matheron G (1972). Ensembles fermés aléatoires, ensembles semi-Markoviens et polyèdres poissoniens. Adv Appl Prob 4:508–41. Mecke J, Stoyan D (1980). Formulas for stationary planar fibre processes I - general theory. Math Operationsforsch Statist, Ser Stat 11:267-79. Molchanov I, Stoyan D (1994). Directional analysis of fibre processes related to Boolean models. Metrika 41:183– 199 Paakkari T, Serimaa R, Hattula T, Ahtee M (1984). Determination of fibre orientation in a paper sample using x-ray diffraction. Paperi Ja Puu 66: 569-75. Serra J (1982). Image Analysis and Mathematical Morphology. London: Academic Press. 202