Methods and apparatuses process images. The method according to one embodiment accesses digital image data representing an image including an object accesses reference data including a shape model relating to shape variation of objects from a baseline object, the objects and the baseline object being from a class of the object and removes from the image an element not related to the object, by representing a shape of the object using the shape model.