1. A method of generating a training image ( 10 ) which is in particular provided for the teaching of a camera-based object recognition system and which shows an object ( 20 ′) to be recognized in a natural object environment ( 25 ), wherein the training image ( 10 ) is generated as a synthetic image by combination of a base image ( 11 ) taken by a camera and of a template image ( 13 ) in that a structural feature is removed from the base image ( 11 ) and is replaced with a structural feature obtained from the template image ( 13 ) by means of a shift-map algorithm, wherein the replacement of the structural feature is only carried out by rearrangement of pixels of the base image ( 11 ).