How to include detector resolution in MTF calculations