Mathematical morphology for structure without translation symmetry