In this paper we establish an attribute-based approach to openings and idempotent thinnings, and we provide an efficient algorithm for their implementation on grey-scale images. The use of non-increasing-shape attributes is advocated because they allow the use of shape descriptors such as compactness and eccentricity to be applied to transform grey-scale images. Applications are then given to illustrate the proposed operators.