“…The opening, γ B (f), of f by a compact set B at the point (x, y) is the supremum, at the point (x, y), of all translates of B in threedimensional space that fit beneath the graph of f. A granulometry generated by B takes the form γ tB (f), and the size distribution Ω(t) is defined by the volume beneath the graph of γ B (f). We assume that f has bounded support so that Ω(t) = 0 for sufficiently large t. Gray-scale granulometric moments have been used successfully for texture-based classification in medical applications (Chen et al, 1993;Chen and Dougherty, 1994;Baeg et al, 1999). For two reasons, we use a square structuring element: (1) the sieve used for the real grains has a square mesh, and (2) there are fast implementations for square structuring elements.…”