Attempt to identify the density of a foam using OpenCV, Using scanned images at known DPI.