A method for selecting a radiation shaping filter is disclosed, which modifies the spatial distribution of the intensity and/or the spectrum of x-rays of an x-ray source of an imaging system. In an embodiment, anatomical measurement data of an object under examination is recorded, from which with the aid of the imaging system image data is created. The radiation shaping filter is selected automatically on the basis of the recorded anatomical measurement data of the object under examination. An imaging system, in which a radiation shaping filter is selected, is further disclosed.