Geometric and fluid-dynamic characterization of actual open cell foam samples by a novel imaging analysis based algorithm