| Literature DB >> 25859424 |
Jennifer Salau1, Ulrike Bauer2, Jan H Haas1, Georg Thaller1, Jan Harms2, Wolfgang Junge1.
Abstract
With increasing herd sizes, camera based monitoring solutions rise in importance. 3D cameras, for example Time-Of-Flight (TOF) cameras, measure depth information. These additional information (3D data) could be beneficial for monitoring in dairy production. In previous studies regarding TOF technology, only standing cows were recorded to avoid motion artifacts. Therefore, necessary conditions for a TOF camera application in dairy cows are examined in this study. For this purpose, two cow models with plaster and fur surface, respectively, were recorded at four controlled velocities to quantify the effects of movement, fur color, and fur. Comparison criteria concerning image usability, pixel-wise deviation, and precision in coordinate determination were defined. Fur and fur color showed large effects (η (2)=0.235 and η (2)=0.472, respectively), which became even more considerable when the models were moving. The velocity of recorded animals must therefore be controlled when using TOF cameras. As another main result, body parts which lie in the middle of the cow model's back can be determined neglecting the effect of velocity or fur. With this in mind, further studies may obtain sound results using TOF technology in dairy production.Entities:
Keywords: Automated monitoring; Dairy cow; Fur color; Image processing; Time-of-flight
Year: 2015 PMID: 25859424 PMCID: PMC4387134 DOI: 10.1186/s40064-015-0903-0
Source DB: PubMed Journal: Springerplus ISSN: 2193-1801
The numbers of recorded images ( ), the number of images that passed all quality tests that had been integrated in the developed software ( ), and the ratios for the plaster cast as well as the fur-covered model and all velocities
|
|
| |||||
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
| Standstill | 2155 | 1882 | 0.87 | 2138 | 2138 | 1.00 |
| 10 cm/s | 542 | 371 | 0.68 | 411 | 141 | 0.34 |
| 20 cm/s | 482 | 321 | 0.66 | 356 | 21 | 0.06 |
| 30 cm/s | 370 | 231 | 0.62 | 267 | 4 | 0.015 |
Figure 1Behavior of HQIratio with increasing velocity in comparison between models. HQIratio is the quotient of the number of high quality images to the number of recorded images. The circles belong to the actual HQIratio values (olive: fur-covered model, red: plaster cast). For both models two types of functions have been fitted to the original values in a least square sense: a polynomial of degree two (purple: fur-covered model, green: plaster cast) and a Gaussian exponential function (cyan: fur-covered model, blue: plaster cast). The approximation that showed less goodness-of-fit is illustrated as dotted line, respectively.
Descriptive statistics of pixel-wise added differences (SumDiff) and pixel-wise standard deviation (pwStd) in depth values for plaster cast as well as fur-covered model recorded in standstill
|
|
|
| ||||
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
| median “Interior” | 10903 | 0.004 | 0.003 | 7920 | 0.006 | 0.006 |
| median “Boundary” | 505 | 0.006 | 0.029 | 425 | 0.013 | 0.017 |
| max | 0.678 | 0.673 | 0.688 | 0.678 | ||
| “Interior” | 0.678 | 0.072 | 0.579 | 0.670 | ||
| “Boundary” | 0.676 | 0.673 | 0.688 | 0.678 | ||
| min | 0 | 0.002 | 0.001 | 0.002 | ||
| “Interior” | 0.002 | 0.002 | 0.002 | 0.002 | ||
| “Boundary” | 0 | 0.003 | 0.001 | 0.004 | ||
| mean | 0.004 | 0.013 | 0.004 | 0.014 | ||
| “Interior” | 0.008 | 0.009 | 0.007 | 0.008 | ||
| “Boundary” | 0.049 | 0.099 | 0.097 | 0.141 | ||
| Effect sizes | ||||||
| Grouping Variable | SumDiff | pwStd | ||||
| region | Plaster Cast | 0.013 | 0.111 | |||
| region | Fur-cov. M. | 0.017 | 0.096 | |||
| model | “Interior” | 0.232 | 0.235 | |||
| model | “Boundary” | 0.006 | 0.006 | |||
The area of both models had been disjointed in “Interior” and “Boundary”. The numbers of pixel belonging to each group are given in column 2 and 5. Since the data (SumDiff, pwStd) is skewed, the median is preferable as a measure of center. Nevertheless, the means are given for the sake of completeness. The differences in medians of SumDiff and pwStd are significant (p=0.02) both between regions “Interior” and “Boundary” for the two models and between models for the regions “Interior” and “Boundary”. Effect sizes η 2 are given in rows 13, 14 for the grouping after “Interior”/“Boundary” and in rows 15, 16 for the grouping after models, respectively.
Descriptive statistics of pixel-wise added depth value differences (SumDiff) and standard deviation (pwStd) for the fur-covered model recorded in standstill to compare between black and white fur
|
|
|
|
|
|---|---|---|---|
| median “Interior White” | 6362 | 0.003 | 0.002 |
| median “Interior Black” | 1558 | 0.007 | 0.006 |
|
| 0.472 | 0.472 | |
| max | 0.579 | 0.670 | |
| “White” | 0.008 | 0.051 | |
| “Black” | 0.579 | 0.670 | |
| min | 0.002 | 0.002 | |
| “White” | 0.002 | 0.002 | |
| “Black” | 0.003 | 0.003 | |
| mean | 0.007 | 0.008 | |
| “White” | 0.003 | 0.003 | |
| “Black” | 0.008 | 0.009 |
The numbers of pixel belonging to “Interior White” and “Interior Black” are given in column 2. Since the data is skewed, the median is preferable as a measure of center. The means are given for the sake of completeness. The differences in medians of SumDiff and pwStd between “Interior White” and “Interior Black” are significant (p=0.001). Effect sizes η 2 are given in row 4.
Range per number of values calculated for X-coordinates at different velocities RpV , where is the number of images with determined X-coordinates at the corresponding velocity (standstill, cm/s, cm/s, cm/s)
|
|
|
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|---|
| Isc.Tub., L | 0.008 | 0.038 | 0.044 | 0.061 | 0 | 0.008 | 0.96 | |
| Dish, L | 0.014 | 0.062 | 0.072 | 0.1 | -0.01 | 0.013 | 0.96 | |
| plaster | Tail | 0.014 | 0.062 | 0.069 | 0.087 | -0.01 | 0.012 | 0.95 |
| cast | Dish, R | 0.013 | 0.067 | 0.069 | 0.1 | -0.01 | 0.018 | 0.92 |
| Isc.Tub.,R | 0.018 | 0.039 | 0.046 | 0.065 | 0 | 0.006 | 0.97 | |
| BB30 | 0.0011 | 0.0108 | 0.0156 | 0.026 | 0 | 0.001 | 0.98 | |
| Isc.Tub.,L | 0.002 | 0.071 | 0.3 | 2.5 | 0.53 | 0.405 | 0.96 | |
| fur- | Dish,L | 0.001 | 0.106 | 0.286 | 5.0 | 1.15 | 0.998 | 0.94 |
| covered | Tail | 0.002 | 0.078 | 0.191 | 0.75 | 0.12 | 0.092 | 0.98 |
| model | Dish,R | 0 | 0.036 | 0.048 | 1.5 | 0.35 | 0.33 | 0.93 |
| Isc.Tub., R | 0.001 | 0.029 | 0.095 | 2 | 0.47 | 0.40 | 0.94 | |
| BB30 | 0.0005 | 0.0142 | 0.0476 | 0.25 | 0.05 | 0.002 | 0.57 |
The seventh column contains the quadratic coefficients of the polynomial approximation of the vectors (RpV 0, RpV10, RpV20, RpV30) for all considered body parts (abbreviated in column 2). The medians of the quadratic coefficients differ significantly between plaster cast and fur-covered model (p=0.05, medianplaster=-0.005, medianfur=0.41). The last two columns contain the goodness-of-fit statistics root mean square deviation (RMSD) and coefficient of determination (R 2). All fits had a single degree of freedom.
Figure 2The two recorded cow models. Left: Fur-covered Model; Right: Plaster Cast.
Figure 3Installation for recording in controlled velocities. Left: Framework with fur-covered model on a wooden plate placed on running rails. SR4K mounted in top view; Right: Motor (background), impeller wheel and rope to tow the wooden plate.
Figure 4All three illustrations were prepared using the MATLAB function imagesc and its default color scale. Left: Original depth image, showing the fur-covered model on the wooden plate. It was mounted on a board. Middle and Right: The subsequent image processing steps. Middle: A rectangle has been added to the depth image. This modification of the original software was necessary to prevent the image from being deleted, because the models in contrast to real cows did not reach the image’s lower edge. Afterwards the automated segmentation has set all background to zero (blue). Right: The backbone (black line), ischeal tuberosities, dishes of the rump and tail (white dots) and BB30 (point on the backbone in 30 pixel radius from the tail, white rectangle) have been determined automatically.
Figure 5“Interior” and “Boundary”. All pixel with a neighborhood of radius 1 that intersected with the background (black) and the cow-area (gray) belonged to “Boundary”. All other pixel of the cow area were defined to be “Interior”. Left: Fur-covered Model; Right: Plaster Cast.
Figure 6Distinction between black or white fur. Left: Segmented gray scale image of the fur-covered model; Right: The white spot is defined as all pixel with gray scale ≥25.