CAD CAM EDM DRO - Yahoo Group Archive

RE: [CAD_CAM_EDM_DRO] some more milk digitizing ideas

Posted by Kevin Martin
on 2007-07-01 09:41:21 UTC
As long as you know how much fluid you are adding each time, you (meaning the program, not you personally) can calculate how thick each "slice" is. As long as there are no sudden changed in cross-section (i.e. no surfaces parallel to the surface of the milk), you can approximate the slice thickness by observing that for a small amount of milk added, (milk volume added) = (background area) X (slice thickness) where (background area) is the total surface of the container less the area of the last slice. This is just the calculation of volume as the integral of (slice Area) X (infinitesimal slice thickness) approximated for a small (but not infinitesimal) slice thickness.

The background area is easy to calculate. Just make sure the entire container area is visible to the camera and count the number of pixels that are milk-coloured.

The inaccuracies involved are the error in calculating the area (poor focus, image distortion, and quantization due to pixel boundaries) and the error introduced by using non-infinitesimal slice thicknesses (which is worst when object surfaces are parallel to the milk surface).

Of course there will also be a scaling factor which depends on the resolution of the camera, the units used to measure the milk volume, and the units you want the slice thickness to be measured in.
-Kevin Martin

-----Original Message-----
From: CAD_CAM_EDM_DRO@yahoogroups.com [mailto:CAD_CAM_EDM_DRO@yahoogroups.com] On Behalf Of Abby Katt

[...]
The other issue of course is how to measure the Z-value, as due to the volume of the object adding a known amount of fluid will move the actual level in a "profile".
I guess my thinking is more down the lines of how to automate it, you could just glue a ruler to the side and add water by hand otherwise - but that wouldn't be CNC or on topic anymore! :)

Discussion Thread

Graham Stabler 2007-06-25 02:52:13 UTC some more milk digitizing ideas Abby Katt 2007-07-01 06:02:50 UTC Re: [CAD_CAM_EDM_DRO] some more milk digitizing ideas Abby Katt 2007-07-01 07:21:36 UTC CNC lathe toolpath software? Graham Stabler 2007-07-01 07:31:07 UTC Re: some more milk digitizing ideas Robert Colin Campbell 2007-07-01 08:01:12 UTC Re: [CAD_CAM_EDM_DRO] CNC lathe toolpath software? Kevin Martin 2007-07-01 09:41:21 UTC RE: [CAD_CAM_EDM_DRO] some more milk digitizing ideas Graham Stabler 2007-07-01 16:49:41 UTC Re: some more milk digitizing ideas Mark Bingham 2007-07-01 21:14:51 UTC Re: [CAD_CAM_EDM_DRO] Re: some more milk digitizing ideas Steve Blackmore 2007-07-02 03:49:17 UTC Re: [CAD_CAM_EDM_DRO] CNC lathe toolpath software? vrsculptor 2007-07-02 08:15:34 UTC Re: some more milk digitizing ideas Anders Wallin 2007-07-02 08:33:35 UTC Transformer and voltage drop Mark Vaughan 2007-07-02 12:00:31 UTC RE: [CAD_CAM_EDM_DRO] Transformer and voltage drop caudlet 2007-07-03 12:28:36 UTC Re: Transformer and voltage drop Jon Elson 2007-07-04 21:51:36 UTC Re: [CAD_CAM_EDM_DRO] Transformer and voltage drop diazden 2007-07-05 05:33:55 UTC Re: Transformer and voltage drop Anders Wallin 2007-07-05 10:31:54 UTC Re: [CAD_CAM_EDM_DRO] Transformer and voltage drop caudlet 2007-07-05 15:03:36 UTC Re: Transformer and voltage drop Jon Elson 2007-07-05 17:56:08 UTC Re: [CAD_CAM_EDM_DRO] Re: Transformer and voltage drop zs6bxi 2007-07-06 11:54:34 UTC Re: Transformer and voltage drop David G. LeVine 2007-07-07 12:30:40 UTC Re: [CAD_CAM_EDM_DRO] Re: Transformer and voltage drop