Method of analysing ground coffee
09816949 · 2017-11-14
Assignee
Inventors
- Maurizio Santini (Bergamo, IT)
- Stefano Paleari (Bergamo, IT)
- Alberto Galimberti (Binasco, IT)
- Guido Quaratesi (Binasco, IT)
Cpc classification
G06T11/008
PHYSICS
International classification
Abstract
Method for analyzing the structure of a sample of ground coffee, and in particular for determining the grain size curve, by means of computed X-ray tomography, the method comprising: acquiring a plurality of two-dimensional radiographic images while the sample is in rotation, processing the plurality of two-dimensional radiographic images performing a tomographic reconstruction to generate a reconstructed image of volume, processing the reconstructed volume image to identify a plurality of coffee particles of the sample of ground coffee separated from one another and determining at least one dimensional magnitude for each particle of ground coffee of the plurality.
Claims
1. A method for analysing the structure of ground coffee contained in a capsule or in a pod, the method comprising: receiving a plurality of two-dimensional radiographic images of a sample of ground coffee acquired through computed X-ray tomography by detecting X-rays passed through the sample while the sample is in rotation so that each image of the plurality of radiographic images is associated with a respective rotation angle of the sample, which defines the orientation of the sample with respect to a main direction of incidence of the beam; carrying out a tomographic reconstruction using the plurality of radiographic images to generate a reconstructed volumetric digital image that represents a three-dimensional reconstruction of the sample; processing the reconstructed volumetric digital image to obtain a processed volumetric digital image to identify a plurality of coffee particles of the sample of ground coffee separated from one another, each of the particles being defined by a volumetric surface A.sub.g and by a particle volume V.sub.g, and determining at least one dimensional magnitude of each particle of the plurality of ground coffee particles by: determining a volumetric surface value A.sub.g and a volume value V.sub.g of each particle; calculating a total volumetric surface of the plurality of ground coffee particles as sum of the volumetric surface values A.sub.g of each particle of the plurality; calculating from the volume value V.sub.g of each ground coffee particle a respective particle diameter; and calculating a percentage volumetric surface value with respect to the total volumetric surface of the ground coffee particles as a function of the particle diameters so as to obtain a distribution curve of the surface size of the ground coffee particles present in the capsule or pod.
2. The method according to claim 1, wherein the diameter is an equivalent diameter.
3. The method according to claim 1, wherein the diameter is a Sauter diameter defined as d.sub.32 =6 V.sub.g/A.sub.g.
4. The method according to claim 1, wherein processing the reconstructed volume digital image to identify a plurality of coffee particles comprises: extracting a plurality of reconstructed slice digital images as axial projections of the reconstructed volume digital image on planes parallel one to another and perpendicular to a vertical axis of the reconstructed volume; processing each reconstructed slice digital image of the plurality of reconstructed slice digital images so as to obtain a respective plurality of processed slice digital images, and juxtaposing the processed slice digital images one on the other on parallel planes along the vertical axis so as to generate the processed volumetric digital image of the sample and to define the volumetric surface A.sub.g and the volume V.sub.g of each particle of the plurality of ground coffee particles.
5. The method according to claim 4, wherein processing each reconstructed slice digital image of the plurality of reconstructed slice digital images comprises: (i) transforming a first reconstructed slice image of the plurality of reconstructed slice digital images into a first binary image through a digital binarization filter, the first binary image highlighting coffee particles with respect to a homogeneous background; (ii) transforming the first binary image into a second binary image in which the particles displayed in the image are separated from one another and are defined by contour lines, and (iii) repeating the steps (i) and (ii) for the remaining reconstructed slice images of the plurality of reconstructed slice digital images to generate a respective plurality of processed slice digital images.
6. The method according to claim 5, wherein step (ii) is carried out by applying a watershed digital transformation filter.
7. The method according to claim 4, wherein the three-dimensional reconstruction of the sample is rendered in voxels that define the three-dimensional resolution of the reconstructed sample and wherein the plurality of processed slice digital images are arranged at an axial distance one from another equal to the spatial resolution of the two-dimensional radiographic images, generating a plurality of interconnected voxel groups, each voxel group representing a single ground coffee particle.
8. The method according to claim 4, wherein the three-dimensional reconstruction of the sample is rendered in voxels that define the three-dimensional resolution of the reconstructed sample and wherein the plurality of processed slice digital images are arranged at an axial distance one from another equal to the spatial resolution of the two-dimensional radiographic images, generating a plurality of interconnected voxel groups, each voxel group representing a single ground coffee particle and wherein the volume V.sub.g of each coffee particle of the plurality of particles is determined by adding together the voxels constituting a voxel group that represents the particle.
9. A method for analysing the structure of ground coffee contained in a capsule or in a pod, the method comprising: receiving a plurality of two-dimensional radiographic images of a sample of ground coffee acquired through computed X-ray tomography by detecting X-rays passed through the sample while the sample is in rotation so that each image of the plurality of radiographic images is associated with a respective rotation angle of the sample, which defines the orientation of the sample with respect to a main direction of incidence of the beam; carrying out a tomographic reconstruction using the plurality of radiographic images to generate a reconstructed volumetric digital image that represents a three-dimensional reconstruction of the sample; processing the reconstructed volumetric digital image to obtain a processed volumetric digital image to identify a plurality of coffee particles of the sample of ground coffee separated from one another, each of the particles being defined by a volumetric surface A.sub.g and by a particle volume V.sub.g, and determining at least one dimensional magnitude of each particle of the plurality of ground coffee particles, wherein determining at least one dimensional magnitude for each ground coffee particle of the plurality comprises determining a volume value V.sub.g of each particle of the plurality of ground coffee particles, the method also comprising: calculating from the volume value V.sub.g of each ground coffee particle a respective particle diameter value, defining a plurality of granulometric classes, wherein each granulometric class defines a numerical range of particle diameter values, the numerical ranges being sequential in ascending order and identified by a respective average diameter value, and counting the number of particles of the plurality of ground coffee particles for each granulometric class so as to obtain a number density distribution of the plurality of ground coffee particles present in the capsule or pod.
10. The method according to claim 9, wherein the diameter is the equivalent diameter.
11. The method according to claim 10, wherein the method also comprises determining the surface A.sub.g of each ground coffee particle and the diameter is a Sauter diameter defined as d.sub.32=6 V.sub.g/A.sub.g.
12. A method for analysing the grain size of ground coffee contained in a capsule or in a pod, the method comprising: receiving a plurality of two-dimensional radiographic images of a sample of ground coffee acquired through computed X-ray tomography by detecting X-rays passed through the sample while the sample is in rotation so that each image of the plurality of radiographic images is associated with a respective rotation angle of the sample, which defines the orientation of the sample with respect to a main direction of incidence of the beam; carrying out a tomographic reconstruction using the plurality of radiographic images to generate a reconstructed volumetric digital image that represents a three-dimensional reconstruction of the sample; processing the reconstructed volumetric digital image to obtain a processed volumetric digital image to identify a plurality of coffee particles of the sample of ground coffee separated from one another, each of the particles being defined by a volumetric surface A.sub.g and by a particle volume V.sub.g; determining at least one dimensional magnitude of each particle of the plurality of ground coffee particles, wherein determining comprises determining a volume value V.sub.g of each particle; calculating from the volume value V.sub.g of each ground coffee particle a respective particle diameter; calculating a total volume of the plurality of ground coffee particles as a sum of the volume values V.sub.g of the particles, and calculating a percentage volume with respect to the total volume as a function of the particle diameters so as to obtain a granulometric distribution of the ground coffee particles present in the capsule or pod.
13. The method according to claim 12, wherein the diameter is the equivalent diameter.
14. The method according to claim 12, wherein the method also comprises determining the surface A.sub.g of each ground coffee particle and the diameter is the Sauter diameter defined as d.sub.32=6 V.sub.g/A.sub.g.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Further features and advantages of the invention will be apparent from the following detailed description made with reference to some embodiments given by way of non-limiting examples and to the accompanying figures, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
DETAILED DESCRIPTION
(16)
(17) Preferably, the X-ray source is a microfocus source.
(18) The X-ray beam is acquired by a detector device 4 configured to detect two-dimensional radiographic images. Preferably, the detector device comprises a photodetector in the visible optically coupled to a scintillator for the wavelength conversion of X-rays into light in the visible. The scintillator is configured to convert the X-ray beam that has passed through the sample in an optical signal which impinges on the photodetector. In some embodiments, the photodetector is a CCD sensor or a CMOS sensor. For example, the resolution of the photodetector is 50 μm.
(19) In the usual ways, the detector device and the source (shown only partially in
(20) A sample 3 is positioned between source 2 and the detector device 4 in such a way as to be traversed by the beam emitted by the source. In some embodiments, the sample is a capsule or a pod of pre-dosed ground coffee. Sample 3 is mounted on a sample holder 5, in turn mounted on a support base 6. The support base 6 can rotate around a central rotation axis, indicated with axis Z in
(21) Preferably, the support base 6 is a table rotatable on an air cushion, actuated by a contactless magnetic field motor. Such a rotation mechanism allows maintaining the rotation axis constant during the tomographic acquisition with oscillations due to vibrations of less than 500 nm, then generally negligible compared to the range of spatial resolutions used.
(22) The rotation of the sample, the acquisition of the detector device and the source are controlled by a processor (not shown in
(23) During tomographic measurements, the sample is placed in rotation and the detector device detects a series of two-dimensional (2D) radiographic images generated by the attenuation of X-rays through the sample in such a way that each acquired radiographic image corresponds to an angular position of the sample defined by an angle of rotation.
(24) In known ways, the quality of a 2D radiographic image acquired at an angular position depends also on the integration time. In addition, in order to decrease the noise in the data acquired, it may be desirable to acquire a series of images at a certain angle of rotation, then calculating an image obtained from the mean value of the series of images. In the present context, when referring to a 2D X-ray image associated with a rotation angle, it may also be understood that an image is the mean value of a series of acquisitions. In some embodiments, a single 2D radiographic image is acquired for each rotation angle, and the integration time is suitably selected so as to obtain the desired quality.
(25) The method comprises receiving a plurality of 2D radiographic images from the detector device acquired while the sample is in rotation about an axis transverse to the main direction of incidence of the beam on the sample, in such a way that each radiographic image of the plurality is associated with a respective rotation angle θ of the object. The rotation angle describes the orientation of the object relative to the direction of incidence of the X-ray beam and hence the object angular portion of exposure to the beam. Preferably, the measurements are acquired during a complete rotation of the sample, i.e. 360°.
(26) The 2D X-ray images, detected by the detector device, are preferably acquired as digital images by a processor (not shown in
(27) Subsequently, the method comprises processing the 2D radiographic images by performing a tomographic reconstruction to generate a three-dimensional image of the object structure, e.g. the panel of ground coffee, from the plurality of 2D radiographic images. In the preferred embodiments, the tomographic reconstruction of the sample from the radiographic image is a volumetric reconstruction of the object from 2D radiographic images, known per se, which can be performed by using reconstruction algorithms, such as filtered back projection algorithms. For example, the tomographic reconstruction uses the filtered back-projection algorithm of Feldkamp-Davis-Kress (FDK) for diverging conical beams, described in J. Opt. Soc. Am. Al (1984), pages 612-619. Reconstruction algorithms can be implemented in commercial software. The volumetric reconstruction is rendered in volume elements (voxels, i.e. volumetric pixels) that define the three-dimensional resolution of the reconstructed object. The 3D volume is displayed graphically, for example on a computer screen, and as is generally known, from the reconstructed 3D volume it is possible to derive one or more 2D projections in a plane which passes through the volume, and in particular one or more 2D cross sections (hereinafter described with reconstructed slice images), or to extract a 3D model of the surface of the object. In manners known per se, the size of the voxel in pixel unit is converted into a physical dimension by calibration of the computed tomography apparatus.
(28) Without loss of generality of the present invention, the following description related to
(29)
(30)
(31) In order to determine the size of the individual particles of ground coffee of the reconstructed volume of the sample, the method, in its preferred embodiments, proceeds with an automatic procedure of image processing so as to define and highlight the individual particles.
(32) Preferably, the automatic procedure of image processing comprises:
(33) a) receiving as input data a plurality of 2D reconstructed images related to cross sections in planes parallel to each other. Preferably, the 2D reconstructed images are axial slices and the plurality of 2D reconstructed images, if juxtaposed along an axis perpendicular to the parallel planes and arranged at an axial distance equal to a pixel, form the volumetric reconstruction of the ground coffee;
(34) b) transforming a 2D reconstructed image of the plurality of 2D reconstructed images and relative to a cross section into a binary image by using a digital binarization filter. The digital binarization filter is typically realized by means of mathematical algorithms suitable for image processing. In the binary digital image, the particles are represented with a constant value of color and highlighted with a high contrast with respect to a homogeneous background.
(35)
(36) Subsequent to the binarization of the 2D reconstructed slice image, the automatic procedure of image processing comprises: c) transforming the binarized image by separating the particles from one another by the application of a digital image processing filter. In an embodiment, the digital filter is a watershed transformation filter.
(37)
(38) The image processing procedure described above in steps b) and c) is repeated for each of the images of the plurality of reconstructed axial slice images. The axial slices of the reconstruction are spaced apart from one another by a magnitude equivalent to the resolution of the reconstruction, equal to the dimension of the side of the pixels in the 2D reconstructed images. Therefore, by juxtaposing the reconstructed axial slice images thus processed one on top of the other along the axial direction perpendicular to the slice planes, it is possible to identify all the particles of the coffee powder in the sample, generating interconnected groups of voxels, each group of voxel representing a single particle of coffee powder. Each particle of coffee is characterized by a respective numerical value equivalent to the 3D volume determined by the number of voxels that make it up. Every single voxel is uniquely determined in the 3D reconstruction allowing measurement of the volume of each particle as the sum of the number of the voxels that make it up. The voxel thus reconstructed is an isotropic cubic-shaped element.
(39) The volume, V.sub.g, of each particle and preferably its 3D surface, A.sub.g, are calculated, respectively, by the summation of all the voxels constituting the group of voxels, and of all the non-adjacent surfaces of the voxel themselves. After determining the size of each particle, the granulometric curve of the coffee powder contained in the sample is determined.
(40)
(41) According to an embodiment, from the volume of a particle of coffee, V.sub.g, the equivalent diameter, d.sub.e, is calculated assuming that the particle is a sphere,
(42)
(43) In a preferred embodiment, the Sauter diameter, d.sub.32, is calculated for each particle, which is defined as the ratio between the volume of each individual granule and its surface,
d.sub.32=6V.sub.g/A.sub.g (2)
(44) Once the Sauter diameter (or equivalent diameter) is known, the volumetric percentage of particles within the volume of the sample, which have a certain diameter is calculated. In practice, values d.sub.32 of the particles are divided into classes, generally indicated with BIN, each class defining a range of values, of which the mean value is indicated in the graph. The range of values that identifies a granulometric class can be the same for all classes, e.g. 10 μm. The volume sum of the volumes having diameter values comprised in the class is calculated for each class and the volume percentage with respect to the total volume of the coffee particles for said granulometric class is calculated.
(45) The possibility offered by the present method of determining the surface of each single granule of ground coffee allows studying the surface distribution of the granules according to the diameter of the same in a sample.
(46)
(47)
(48)
(49) By the method according to the present invention it is possible to analyse coffee powder in capsules or pods ready for use.
(50)
(51)
(52)