Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR MEASURING A PARTICLE PRECIPITATION RATE, AND DEVICE THEREOF
Document Type and Number:
WIPO Patent Application WO/2016/113658
Kind Code:
A1
Abstract:
It is described a method for measuring a particles' precipitation rate which comprises the steps of acquiring at least one first image during a precipitation event through an image acquisition device having a sensor and lens; detecting the particles of the precipitation in the at least one first image by subtracting a background of said first image and setting a brightness threshold for detecting the particles, the particles being 5 visible as a plurality of streaks in said image, wherein a first portion of said plurality of streaks comprises blurred streaks, and a second portion of said plurality of streaks comprises focused streaks; determining an apparent diameter and an apparent length for said plurality of streaks; estimating an actual diameter and an actual length for said plurality of streaks by resolving an equations' system having three equations and three 10 unknowns, namely said actual diameter, said actual length and a depth position of said plurality of streaks, said depth position being the position of each particle from said lens, in which a first equation has said actual diameter as unknown in function of said depth position, a second equation has said actual length as unknown in function of said depth position and a third equation equals the theoretical terminal velocity of said 15 particles with an estimated velocity of said particles in function of said depth position; estimating the velocity of the particles based on the ratio between a net streak length and an exposure time used to take said at least one first image; estimating the particles' precipitation rate based on the actual diameter and the velocity (v).

Inventors:
ALLAMANO PAOLA (IT)
CROCI ALBERTO (IT)
LAIO FRANCESCO (IT)
Application Number:
PCT/IB2016/050100
Publication Date:
July 21, 2016
Filing Date:
January 11, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TORINO POLITECNICO (IT)
International Classes:
G06T7/60; G01W1/14
Domestic Patent References:
WO2014107434A12014-07-10
Foreign References:
US20070053671A12007-03-08
GB2500592A2013-10-02
US20100157076A12010-06-24
Other References:
JULIAN T. KASHDAN ET AL: "Two-Phase Flow Characterization by Automated Digital Image Analysis. Part 1: Fundamental Principles and Calibration of the Technique", PARTICLE & PARTICLE SYSTEMS CHARACTERIZATION, vol. 20, no. 6, 9 December 2003 (2003-12-09), pages 387 - 397, XP055214322, ISSN: 0934-0866, DOI: 10.1002/ppsc.200300897
GARG K ET AL: "Detection and removal of rain from videos", PROCEEDINGS OF THE 2004 IEEE COMPUTER SOCIETY CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION 27 JUNE-2 JULY 2004 WASHINGTON, DC, USA, IEEE, PROCEEDINGS OF THE 2004 IEEE COMPUTER SOCIETY CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION IEE, vol. 1, 27 June 2004 (2004-06-27), pages 528 - 535, XP010708612, ISBN: 978-0-7695-2158-9, DOI: 10.1109/CVPR.2004.1315077
NICOLAS FDIDA ET AL: "Drop size distribution measured by imaging: determination of the measurement volume by the calibration of the point spread function; Drop size distribution measured by imaging", MEASUREMENT SCIENCE AND TECHNOLOGY, IOP, BRISTOL, GB, vol. 21, no. 2, 1 February 2010 (2010-02-01), pages 25501, XP020174427, ISSN: 0957-0233
CORD A.; D. AUBERT: "Towards rain detection through use of in-vehicle multipurpose cameras", IEEE INTELLIGENT VEHICLES SYMPOSIUM IV, pages 833 - 838
PARAJKA J, POTENTIAL OF TIME-LAPSE PHOTOGRAPHY OF SNOW FOR HYDROLOGICAL PURPOSES AT THE SMALL CATCHMENT SCALE
OVEREEM A ET AL., MEASURING URBAN RAINFALL USING MICROWAVE LINKS FROM COMMERCIAL CELLULAR COMMUNICATION NETWORKS, 2011
OVEREEM A. ET AL.: "Country-wide rainfall maps from cellular communication networks", PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCE (PNAS, 2013
Attorney, Agent or Firm:
CAMOLESE, Marco et al. (Via Sestriere 100, None, IT)
Download PDF:
Claims:
CLAIMS

1. A method for measuring a particles' precipitation rate, said method comprising the steps of:

- acquiring at least one first image during a precipitation event through an image acquisition device having a sensor (15) and lens (13);

- detecting said particles of said precipitation in said at least one first image by subtracting a background of said first image and setting a brightness threshold (Si) for detecting said particles, said particles being visible as a plurality of streaks in said image, wherein a first portion of said plurality of streaks comprises blurred streaks, and a second portion of said plurality of streaks comprises focused streaks;

- determining an apparent diameter (Dp:b) and an apparent length (Lp:b) for said plurality of streaks;

- estimating an actual diameter (Dp) and an actual length (LP) for said plurality of streaks by resolving an equations' system having three equations and three unknowns, namely said actual diameter (Dp), said actual length (LP) and a depth position (z) of said plurality of streaks, said depth position (z) being the position of each particle from said lens (13), in which a first equation has said actual diameter (Dp) as unknown in function of said depth position (z), a second equation has said actual length (LP) as unknown in function of said depth position (z) and a third equation equals the theoretical terminal velocity of said particles with an estimated velocity (v) of said particles in function of said depth position (z);

- estimating said velocity (v) of said particles based on the ratio between a net streak length and an exposure time (te) used to take said at least one first image;

- estimating said particles' precipitation rate based on said actual diameter (Dp) and said velocity (v).

2. A method according to claim 1, wherein it is provided for acquiring a second image through said image acquisition device and for subtracting said second image to said first image for deleting a background of said first image.

3. A method according to one or more of the preceding claims, wherein said method provides for determining said depth position (z) of a particle in a sampled volume (V). 4. A method according to one or more of the preceding claims, wherein said velocity (v) of said particles is estimated based on said depth position (z) of the particles.

5. A method according to one or more of the preceding claims, wherein said particles' precipitation rate is obtained by averaging precipitation rates of a set of acquired images.

6. A method according to one or more of the preceding claims, wherein said particles are in liquid or solid state and comprise one or more of the elements of the group consisting of: hydrometeors, settling particles, chemical particles.

7. A computer product which can be loaded into a memory of said image acquisition device comprising portions of software code adapted to implement the method according to one or more of claims 1 to 6.

Description:
METHOD FOR MEASURING A PARTICLE PRECIPITATION RATE, AND DEVICE THEREOF

DESCRIPTION

The present invention relates to a method for measuring a particles' precipitation rate and a related device.

With the term precipitation are meant all those phenomena of particles transfer, in a liquid or solid state, in a volume of fluid, each particle being characterized by its terminal velocity, i.e. the velocity reached by the particle when the gravity force is equalled by the drag force. Precipitation can be of meteorological type, that relate to the transfer of water particles (also called hydrometeors) from the atmosphere to the soil, e.g., rain, snow, hail, dew, frost, and so on; of settling type, i.e. the process by which particulates settle to the bottom of a liquid and form a sediment, and of chemical type, i.e. the formation of a separable solid substance from a solution and the subsequent sinking in the liquid phase.

It is known that the fundamental means for measuring at-ground precipitation is the rain gauge. The total number of gauges across the Earth ranges from a few thousand, which are available in near real time, to an estimated hundreds of thousands if amateur gauges are included. Taking all the GPCC ("Global Precipitation Climatology Centre") available gauges (67000) and representing for each of them a 5 km radius surrounding region (an unrealistically large region of influence if one considerers the tremendous spatial variability of rainfall), one realises that less than 1% of the Earth's surface is represented.

Coupling remote (e.g., satellite and radar) precipitation measures with gauge precipitation observations partially allows to bridge the gap between the discrete information provided by the rain gauge network and the real spatial dynamics related to the precipitation fronts. The operation, however, requires working at the interface between very different families of data, referred to uneven volumes. As a consequence, the combination of the various signals may result to be more complicated and less effective than one would expect, in particular when short-duration rainfall is considered. Few approaches are known having the objective of intensifying the spatial rain gauging density relying on unconventional monitoring methods. One of these proposes to exploit cars as moving rain gauges with windshield wipers or optical sensors functioning as measurement devices. Another application towards the detection of rain through the use of in- vehicle sensors is presented by Cord A. and D. Aubert, "Towards rain detection through use of in- vehicle multipurpose cameras", IEEE Intelligent Vehicles Symposium IV, 833-838. The results show that a high number of (possibly inaccurate) measures provide more reliable areal rainfall estimations than a lower number of (presumably precise) measurements. Interesting perspectives are also provided by the use of digital cameras to retrieve snow cover characteristics (see document "Potential of time-lapse photography of snow for hydrological purposes at the small catchment scale" of Parajka J. et al.), and by the exploitation of cell phone signals to retrieve rainfall intensity (see documents "Measuring urban rainfall using microwave links from commercial cellular communication networks" of Overeem A. et al. (201 1), Water Resources Research and "Country-wide rainfall maps from cellular communication networks" of Overeem A. et al. (2013), Proceedings of the National Academy of Science (PNAS)).

It is also known the patent application WO 2014/107434 Al which describes an hardware and software methodology for three-dimensional imaging in connection with a single sensor. Such a methodology provides for capturing a plurality of images at different degrees of focus without focus change of an objective lens between such images. Depth information is extracted by comparing image blur between the images captured on the single sensor.

Finally, the patent application US 2010/0157076 Al describes a method for measuring rainfall using an image acquisition device and comprises the steps of adjusting settings of the image acquisition device to enhance the visibility of rain, wherein the settings comprise at least one of: focal length, F-number, and exposure time; acquiring a plurality of images with the image acquisition device; and computing a measure of the rain rate based on counting the number and size of focused raindrops (i.e. drops belonging to the focused plane) in each of the plurality of images.

However, the rain rate based on counting the number and size of raindrops exclusively in the focused plane does not allow to obtain a reliable estimation thereof, because it leads to the detection of a very limited number of particles. It is known that the uncertainty associated with the precipitation rate estimate rapidly increases with the decrease of the number of detected particles (as it occurs with rain gauges with very small catching surfaces).

Generally, such approaches known in the art do not allow a good estimation of particles precipitation in a certain area or volume of fluid because they are solely based on the detection of focused particles. Moreover, the existing instruments do not allow to retrieve precipitation measures at very high temporal resolution (the current temporal resolution is typically of one measure every 10 minutes). Finally, equipping a gauging station with state-of-the-art instrumentation has relevant costs in terms of instrumentation itself, installation and maintenance of the station.

It is therefore one object of the present invention to provide a method for measuring a particles precipitation rate, and a related device, to improve the estimation of the precipitation rate with respect to state of the art methods.

It is a second object of the present invention to provide a method for measuring a particles precipitation rate, and a related device, to increase the spatial density of precipitation observations.

It is a third object of the present invention to provide a method for measuring a particles precipitation rate, and a related device, which enable to retrieve measures of precipitation at very high temporal resolution at a very low cost.

It is a fourth object of the present invention to provide a method for measuring a particles precipitation rate, and a related device, based on the sampling of a large fluid volume (of the order of 3-5 cubic meters) leading to robust rate estimates.

These and other objects of the invention are achieved by a method for measuring a particles precipitation rate, and a related device, as claimed in the appended claims, which are intended to be an integral part of the present description.

In short, the following will describe a method for measuring a particles precipitation rate which provides for acquiring at least one image during a precipitation event through an image acquisition device and obtaining a precipitation rate through an analysis of particles present in the image. The image acquisition device according to the invention can be a camera able to shoot image and/or video, a smartphone or a tablet having a camera, a webcam, and so on.

More particularly, the method of the present invention relies on an analytical model of the blur variation with depth (i.e., moving away from the sensor of a camera) combined with the imposition of a boundary condition on particles terminal velocity. The method provides for correcting streaks diameters and lengths for blur effects, for positioning particles in depth and for estimating particles size distribution, particles density, and precipitation rate based on particles diameters over large sampled volumes. Thus, the method samples a large volume and hence a large number of particles (e.g., hydrometeors), and not only a plane (i.e. the focused plane) in the observed space.

The method is amenable for being used in all of types of the aforementioned precipitation. In the following, as a non-limitative example, explicit reference is made to the case of a meteorological precipitation, thus particles are hydrometeors.

Further features of the invention are set out in the appended claims, which are intended to be an integral part of the present description.

The above objects will become more apparent from the following detailed description of a method and a device for measuring a particles precipitation rate according to the present invention, with particular reference to the annexed drawings, wherein:

- Figure 1 shows a block diagram of the method according to the present invention; - Figures 2a and 2b show examples of images taken by a camera in rainy conditions;

- Figure 3 shows an example of ray diagram of objects taken by a camera;

- Figure 4 shows optics behind the formation of a blur circle as a function of the aperture diameter for objects lying behind, within and before a focus plane;

- Figure 5 shows two examples of representations of particles affected from blur;

- Figure 6 shows an example of results regarding to depth position of particles;

- Figure 7 shows an example of sampled volume for computing a particles precipitation rate.

An image acquisition device (not shown in figures) according to the present invention can be a camera able to shoot images and/or video, a smartphone or a tablet having a camera, a webcam, and so on. The image acquisition device comprises at least one processor, lens and a sensor arranged for taking images and/or videos, and memory means for storing said images and/or videos.

With reference to Fig. 1, a method for measuring a particles precipitation rate according to the present invention comprises the steps of:

- (block 1) acquiring at least one first image, in particular during a precipitation event, through an image acquisition device having a sensor and lens;

- (block 3) detecting particles of said precipitation in said at least one first image, said particles being visible as a plurality of streaks in said image, wherein a first portion of said plurality of streaks comprises blurred streaks, and a second portion of said plurality of streaks comprises focused streaks;

- (block 5) determining an apparent diameter Dp :b and an apparent length Lp :b of said blurred streaks;

- (block 7) estimating an actual diameter D P and an actual length L P of said blurred streaks using an actual depth position z of said blurred streaks, said apparent diameter Dp : t, and said apparent length Lp :b , said depth position z being the actual position of each particle from said lens;

- (block 9) estimating an actual velocity of said particles;

- (block 1 1) estimating said particles precipitation rate based on said actual diameter D P and said actual velocity.

It is important to specify that the focused streaks are taken into account for the computation of the particles precipitation rate as well. Indeed, diameters and lengths of focused streaks are directly derivable from the first image, because they are not affected from the blur.

The method of the present invention further comprises the step of acquiring a second image (taken in a different instant from the first image) through said image acquisition device and for subtracting said second image to said first image for deleting a background of said first image. If three images are available (taken in three different instants) the noise removal from the first image is more efficient. Deleting the background from the first image allows to detect particles in the first image. Moreover, it is provided for setting a brightness threshold for detecting particles.

The method according to the present invention will be more clear from the following description. In the following will be described in detail the method considering rain drops as particles and the image acquisition device is a camera having a sensor.

Consider the camera observing a volume of rain. Rain produces sharp intensity changes in pictures/images and videos. Rain visibility strongly depends on camera parameters. For instance, it is rather easy to verify that, at short exposure times (~ 0.001 sec), rain appears in the form of stationary drops (an example is shown on Fig. 2a), while at normal exposure (~ 0.015 sec), due to their fast motion, raindrops produce blurred rain streaks (an example is shown on Fig. 2b) because they typically stay at a pixel for a time that is far less than the exposure time t e .

Different rain streaks have different diameter (i.e., width or size), length and intensity, depending on drop characteristics and camera parameters. The present invention advantageously exploits streaks characteristics to quantitatively derive drop diameter, drop velocity, and rain rate (i.e. the particles precipitation rate).

With reference to Fig. 3, it is shown a ray diagram where z 0 represents the focused distance, / is the focal length, z represents the distance of the obj ect (A, B or C), i.e. raindrops, from the lens 13, h is the sensor height in millimetres and /; is the distance of the sensor 15 from the lens 13. A', B' and C are the rojections of the objects A, B and C on the sensor 15 respectively. The lens equation expresses the relation

among/,/;, and z 0 .

As aforementioned, the method of the present invention comprises the step of acquiring a second image (taken in a different instant from the first image one) through the image acquisition device and subtracting the second image to the first image for deleting a background of the first image. If three images are available (taken in three different instants) the noise removal from the first image is more efficient.

In the next step, the method provides for detecting particles of the precipitation in at least one first image. Particles are visible as a plurality of streaks in the first image and a first portion of said plurality of streaks comprises blurred streaks, and a second portion of said plurality of streaks comprises focused streaks (i.e. not affected by blur).

Detecting particles is carried out by finding candidate rain pixels in at least one image. Thus, in this example, the method provides for finding candidate rain pixels by referring to couples (or triplets) of frames, i.e. images taken at two (or three) adjacent time steps (e.g., -1, j and 7+1). Subsequently, it is provided for comparing the brightness intensity / (e.g., 0 < / < 255 ) at each pixel in the first image Int j with the corresponding pixel intensity in the second image Int j .i (and third image Irti j+ i). If the background remains stationary in said images, then the conditions of the following equation (1)

I(Im j ) - I(Im j .i) > S } & I(ImJ) - I(Im J+] ) > S } (1) can be used to detect candidate drops with reference to the first image Int j , being Si a brightness threshold that represents the minimum change in intensity due to a drop and the symbol & represents the AND logic condition. This latter condition applies only if three images are acquired. In other words, the method provides for setting the brightness threshold Si for detecting particles.

When three images are available, the conditions in equation (1) are both to be met in order to detect and select real drops. More in detail, pixels that meet just one of the two conditions of equation (1) should not be associated to raindrops, but to random noise in the first image (i.e., apparent particles or irregular borders).

The isolation of candidate rain pixels along a focused rain streak allows one to detect: a) the number of candidate raindrops within the gauged volume by counting the number of streaks;

b) the drop diameter D P (in pixels) by setting it to the average width of the streak; and c) the drop velocity, which is proportional to the ratio of the net streak length to the exposure time t e .

The net streak length is obtained by subtracting one drop diameter D P to the total length L P (in pixels) of the streak as it appears on the acquired image. Indeed, the velocity of a moving object is proportional to the distance covered in a time step by a fixed point of the object; considering the raindrop centre as the fixed point, this will cover L P - D P pixels in a time t e , while the total length of the streak will be L P , because the drop occupies Dp/2 pixels above the drop centre, and Dp/2 pixels below it.

For non- stationary backgrounds, e.g., vegetation with leaves moved by wind, equation (1) is not effective to detect candidate drops. In this case the subtraction of two frames does not guarantee the removal of the false positives created by the visual effects of light interaction with moving surfaces. False positive could be detected with specific post-processing algorithms that, for instance, verify the presence/absence of sub-vertical preferential directions ascribable to the effect of rain streaks.

The appearance of rain in the acquired image (first image) is significantly affected by blur. The blur effect is caused by a cone of light rays from a lens not coming to a perfect focus when imaging a point source. Thus, the next step of the method is determining an apparent diameter (Dpb) and an apparent length (Jp , ¾) of the blurred streaks.

With reference to Fig. 4, it is shown the optics behind the formation of the blur circle as a function of the aperture diameter A, for objects lying behind, within and before the focus plane. In particular, P 2 and P 2 ' are out-of-focus objects, laying respectively before and behind the focus plane, and Pi is a focused object; c is the blur circle and C is the auxiliary blur circle in the focus plane.

The diameter of the blur circle (or circle of confusion, c P (z), in pixels) is obtained by dividing the diameter of the auxiliary blur circle C by the magnification factor f zo where z 0 is the distance of the focus plane from the lens 13. C is obtained via similar

\z— z

triangles as C = A- — . The blur circle in the image plane can hence be written as

\z - z

— , which exemplifies the dependence of the blur magnitude on z, z 0 , fi z z 0

and the aperture diameter A. By setting z = z 0 in the expression for c, then the blur effect is null on the focus plane. The diameter of the blur in pixels (cp(z)), to be compared with the drop diameters and streak lengths, is obtained as

CP { Z ) = - C J = ^ . I J (2)

h z z 0 · h

where H P is the image height in the focus plane (in pixels) and h is the sensor height in millimetres (see Fig. 3).

With reference to Fig. 5, blur affects both diameter D P and length L P of out-of-focus drops, by fictitiously enhancing their size of a quantity cp(z). With Dp : b and Lp : b are identified the blurred diameters (apparent diameters) and blurred rain streak lengths (apparent lenght), respectively. Hence, when observing a volume of rain with a camera, it can be detected the "true" diameters and streak lengths of drops belonging to the focus plane. For out-of-focus drops, instead, only the corresponding blurred quantities may be directly inferred from the image. Moreover, the blur effect critically interacts with the effect of the threshold Si in the equation (1). Indeed, the blur acts on the drop projection on the image as a moving-average filter, changing the brightness pattern due to a drop from a sharp discontinuity (dashed lines 16,18 in Fig. 5) to a smooth, trapezoidal-shaped pattern (continuous lines 19,21 in Fig. 5). More in detail, the dashed lines 16, 18 indicate the sharp brightness discontinuity produced by a focused drop (Dp is the actual drop diameter, AI is the maximum positive brightness impulse due to a drop). The smooth, trapezoidal-shaped patterns (continuous lines 19,21) are the blurred brightness patterns typical of out-of-focus drops (cp(z) is the magnitude of the blur in pixels). A line 17 represents the threshold filter (Si) in equation (1), with Dp : b being the drop diameter as it appears in the blurred (and filtered) image. On the left hand side it is shown the case a) of a slightly out-of-focus drop, whereas on the right hand side it is shown the case b) of a severely out-of-focus drop.

The drop detection in turn acts as a further threshold filter (line 17 in Fig. 5) on the blurred projection of the drop. As a result of the combined effect of these two filters, the relation between blurred and actual drop diameter D P and streak length L P can be obtained as the result of simple geometrical reasoning (see Fig. 5), producing:

where ositive brightness impulse

due to a drop (typically Δ/ =50). It is to be noted that, in the presence of blur, drops that are either very small or very distant from the focus plane may produce small brightness variations in the image, which may be undistinguishable from the random noise. This effect, in Fig. 5, would generate trapezoidal patterns whose height falls below the threshold Si. This is the reason why, in the following, some limit values will be imposed for the distance from the focus plane and drop size to be considered.

From the image analysis, the actual diameter D P and the actual length L P values of each drop present in the image can be obtained; to obtain D P and L P the system of equations (3) has to be solved. However, in these equations there is a third unknown quantity, which is the distance from the lens z, i.e. the depth position. One more equation is thus needed to position the drops at the right distance z from the lens and infer the blur magnitude. In other words, the method of the present invention provides for estimating the actual diameter D P and the actual length L P of blurred streaks using the actual depth position z of blurred streaks, the apparent diameter Dp : b and the apparent length Lp : b. Said depth position z is the actual position of each particles (e.g., raindrops) from the lens of the camera.

To set the third equation the present invention provides for estimating the drop velocity v of the particles, e.g., raindrops, derived from the ratio of the net streak length (preferably calculated as L p - D p multiplied by the pixel dimension dp(z) to express it in millimetres) to the exposure time used to take at least one first image.

More in detail, the step of estimating the actual diameter D P and the actual length L P of blurred streaks provides for resolving an equation system having three equations and three unknowns, namely said actual diameter Dp, said actual length L P and said actual depth position z, in which the first equation has said actual diameter D P as unknown in function of depth position z, a second equation has said actual length L P as unknown in function of depth position z (see equation 3) and a third equation equals the theoretical terminal velocity of said particles with an estimated (drop) velocity v of said particles in function of depth position z (see next equation 4).

The estimated drop velocity v is e ualled to the drop terminal speed (theoretical terminal velocity) expressed as C D is the drag coefficient

which is approximately equal to 0.5 for a sphere, is the water density, p a is the air density and g is the gravitational acceleration. The terminal velocity is also a function of the drop diameter, being D =D p - d p (z) . The diameters and streak lengths can be expressed in millimetres, while other variables are in IS ("International System") units. The equivalence between the two expressions for drop speeds reads:

(L p - D p )- d p (z) 1

g D P d P (z) = ^21.62 · D P d P (z) (4) t - 1000 3 C D p a 1000

The dependence on depth position z is expressed through D P and L P (see equation (3)) and through the variation of the pixel dimension d P with the distance z of the object from the lens, expressed as (see Fig. 3):

z (5)

In the following it is assumed the equation (4) to be valid for all drop diameters because very small drops play a minor role on the rain rate estimation.

The present invention provides for positioning drops along the dimension z, i.e. moving away from the lens 13; in other words it is possible to infer the third dimension from an intrinsically two-dimensional information (the image). The position of the drops in z is obtained by setting equation (5) in equation (4) and solving the system of equations (3) and (4), where the unknowns are the actual diameter Dp, the actual length L P and depth position z. The equation in z to be solved, in squared form, hence results:

2z 2 = β z - γ\ζ - z 0 \ (6) where: a

With reference to Fig. 6, four analytical solutions in z are obtained: two for z > z 0 zj and z 2 ) and the other two for z < z 0 (z and z 4 ). Fig. 6 shows an example of these four solutions in relation to the two terms of equation (6), in particular a quadratic curve 23 is relative to the left hand side term of equation (6), the piecewise linear function 25 is relative to the right hand side term of equation (6) and line 27 is the squared terminal velocity without the effect of blur. The reference system shown in Fig. 6 indicates a quadratic velocity in m 2 /s 2 on the ordinate, while on the abscissa indicates the distance z in mm. Thus, the method provides for estimating actual velocity based on the distance z, i.e. depth position z of the particle.

Fig. 6 clearly shows that the solutions z 2 and z 3 do not respect their existence boundaries (being respectively z 2 < 0 and z 3 > z 0 ) and are hence classified as non-admissible. Solutions zi and z 4 , instead, fall within their respective domains of existence, being zi and z 4 positioned at z > z 0 and z < z 0 , respectively. The fact that two solutions remain valid implies that drops cannot be univocally collocated within the sampled volume; two different positions in z, and hence two different diameters Dp may exist that satisfy the system of equations (3) and (4).

With reference to Fig. 7, the method provides for determining depth position z of a drop in a sampled volume V.

Indeed, before making a decision between zi and z 4 , an additional constraint is set to define the sampled volume V: preferably the depth of the volume is limited to 2/3zo as a lower bound and to 2z 0 as an upper bound. This condition, in some cases, allows to flag as unlikely one of the two solutions and to identify the other solution as the best one. Note that an object in 2/3z 0 or in 2z 0 would produce a blur circle in the focus plane C = A/ 2. The sampled volume V (i.e., the volume of the truncated pyramid with bases in 2/3z 0 and 2z 0 ) can be computed as a function of the image dimensions in pixels, H P (height of the image) and Wp (width of the image), and of the width of the volume section at z = 2z n , More precisely, Fig. 7 shows the sampled volume J 7 as a function of the variables reported in equation (7).

Despite the confinement of the sampled volume J 7 , two admissible solutions zi and z 4 , and hence two admissible diameters D(zj) and D(z ), still exist for the majority of drops. Non univocal cases of drop positioning can be further reduced by constraining drop diameters: for example it is possible consider that drops diameters larger than 6 mm and smaller than 0.5 pixel are very unlikely to occur, the first being a physical limit that is currently found in the literature, the latter deriving from the very low variations in pixel brightness induced by drops occupying less than half of the pixel. These conditions help to discern the most likely solution between zj and z , and to univocally attribute Nj u drops to zj and N 4u to z , with Nj u + N 4u < N, where N is the total number of detected raindrops. Moreover, the upper bound set on diameters allows to discard unlikely large diameters that are responsible for significant overestimations in the final estimate of rain rate.

To disentangle the remaining N - (N] U + N 4ll ) cases of non univocal drop positioning, the method provides for adopting a pragmatic approach, namely to attribute drops to zi and z 4 randomly, by determining the probability to fall before (i.e. in z 4 ) or behind (i.e. in zi) the focused plane. Then, it is provided for computing a first probability Pi for a drop to fall in the volume behind z 0 as the ratio between the volume of the truncated pyramid with bases in z 0 and 2z 0 and the total sampled volume V. A second probability P 4 , i.e. the probability for a drop to fall in the volume before z 0 , is computed accordingly as P 4 = 1 - Pi. The number of drops Ni a attributed to the volume behind z 0 is hence computed as

N la = P N - N lu (8)

Conversely, the number of drops N 4a attributed to the volume before z 0 is obtained as

N^ - P^ N - N^ (9)

For each non-univocally positioned drop, a random number q is sampled from a uniform (0, 1) distribution. If q < Ni a / (N - Nj u - N 4ll ) the drop is attributed to z;, otherwise to z 4 .

Through Monte Carlo simulations it has been verified that this random attribution algorithm only marginally affects the rain rate estimation. Finally, the method provides for estimating the particles precipitation rate based on said actual diameter (D P ) and said actual velocity (see the following equation 10).

The method is amenable to be applied to set of images registered as a sequence of images recorded at adjacent and close time steps. The following equation (10), in such an application, can be applied to estimate the rain rate from each image. An average rainfall rate can then be obtained by averaging the image-specific rainfall rates, thus reducing the sample variability and the inherent uncertainty in rain rate estimation. The method provides that for each image Int j , where j is an integer index of the number of images, the intensity rain rate ?^, (expressed in millimetres per hour) is computed considering spherical raindrops with diameters A, and terminal speeds v ; , where z is an integer index of the number of drops within a single image.

Each drop is assumed as responsible of a quota R t of the total rain rate of one image Rj , so that Rj can be written as

D D 1 r>3 3.6 - 10

R Tmj =∑ l = l R l =∑ l = l- - D l - V/ (10)

1 3

where N is the total number of drops in the image, —n - D i is the volume of the z ' -th

6

drop (in mm 3 ), v ; is the velocity of a z ' -th drop (in m/s), and J 7 the total sampled volume (in m 3 ).

Furthermore, as aforementioned, the method of the present invention provides for taking into account focused streaks, i.e. their diameters and velocity, for the computation of the rain rate, and not only the blurred streaks.

The method according to the invention can be implemented by means of a computer product which can be loaded into a memory of the image acquisition device and which comprises software code portions adapted to implement said method.

The features of the present invention, as well as the advantages thereof, are apparent from the above description.

A first advantage offered by the method and the image acquisition device according to the present invention is that the estimation of the particles precipitation rate is comparable with that of the prior art techniques.

A second advantage offered by the method and the image acquisition device according to the present invention is that results have errors in the same order of magnitude of the standard measuring devices (i.e. rain gauges, if the meteorological precipitation is considered).

A further advantage offered by the method and the image acquisition device according to the present invention is to retrieve measures of precipitation intensity at very high temporal resolution (e.g., one measure per second) at a very low cost.

A further advantage offered by the method and the image acquisition device according to the present invention is the possibility to dramatically increase the spatial density of precipitation observations (e.g., one measure/Km 2 , where Km is a kilometer).

The method and the image acquisition device for measuring a particles precipitation rate according to the present invention may be subject to many possible variations without departing from the novelty spirit of the inventive idea; it is also clear that in the practical implementation of the invention the illustrated details may have different shapes or be replaced with other technically equivalent elements.

According to one possible alternative, for example, the image acquisition device is an intelligent mobile terminal, e.g., a smartphone or a tablet, which implements the method of the present invention. The intelligent mobile terminals available today, and certainly also those available in the future, include at least one camera which can be used for acquiring at least one image to be processed according to the method of the present invention. In such case, virtually, anyone with a smartphone can obtain a rain rate measure in the place where he/she is located and, since smartphones are widespread, the estimation of meteorological conditions in a certain area (e.g., a district) can be improved with respect to known art techniques, e.g., rain gauges, due to the large amount of sampled points.

It can therefore be easily understood that the present invention is not limited to a method for measuring a particles precipitation rate, and related image acquisition device, but may be subject to many modifications, improvements or replacements of equivalent parts and elements without departing from the novelty spirit of the inventive idea, as clearly specified in the following claims.