Preparation of material for subsequent imaging