The invention relates to an imaging apparatus (31) for imaging an object. A reconstruction unit (12) determines component projection data values, which correspond to, for example, a base material of the object, and reconstructs an image of the object based on the determined component projection data values. A component projection data value, which corresponds to a ray, is determined as a combination of weighted base functions, which depend on energy projection data values of the same ray and the orientation of the same ray. This allows considering a possible dependency of the corresponding decomposition on the orientation of the ray, thereby allowing the imaging apparatus to improve the quality of decomposing the provided energy projection data values into the component projection data values and thus of a finally reconstructed image of the object, which is reconstructed based on the component projection data values.