A framework for the Analysis and Evaluation of Optical Imaging Systems with Arbitrary Response Functions