Good point. I do tend to optimize based on absolute worst case scenarios.
On the other hand, put a premium lense on a medium format camera and push the result through a top of the line demosaic method, and you'd be surprised how sharp things can be.
Nicolas, I have done that, and none of them get much below 0.7 sigma Gaussian Blur (with 100% fill-factor assumption), at their best aperture, in the center of the image circle. Of course most medium formats also aliase like hell, due to the absent OLPF. While it is good to keep an eye on the absolute worst case scenario (for robustness of calculations), it can also lead to sub-optimal results for more realistic cases. Attached, as plots, the current upsampling compromise as implemented in the script, a linear light blend of a linear & gamma 2, EWA LanczosRadius upsample of your suggested test target (attached in ZIP) by a factor of 128x.
Here is the blur kernel I used on the second target (after first normalizing to a sum of 1.0):
8.240474063989279e-21, 6.8060100125474815e-15, 1.1327893594730693e-11, 9.077705692513543e-11, 1.1327893594730693e-11, 6.8060100125474815e-15, 8.240474063989279e-21
6.8060100125474815e-15, 5.6212509051295795e-9, 0.0000093559856663739, 0.00007497500186815324, 0.0000093559856663739, 5.6212509051295795e-9, 6.8060100125474815e-15
1.1327893594730693e-11, 0.0000093559856663739, 0.015572062031516103, 0.12478806846616428, 0.015572062031516103, 0.0000093559856663739, 1.1327893594730693e-11
9.077705692513543e-11, 0.00007497500186815324, 0.12478806846616428, 1, 0.12478806846616428, 0.00007497500186815324, 9.077705692513543e-11
1.1327893594730693e-11, 0.0000093559856663739, 0.015572062031516103, 0.12478806846616428, 0.015572062031516103, 0.0000093559856663739, 1.1327893594730693e-11
6.8060100125474815e-15, 5.6212509051295795e-9, 0.0000093559856663739, 0.00007497500186815324, 0.0000093559856663739, 5.6212509051295795e-9, 6.8060100125474815e-15
8.240474063989279e-21, 6.8060100125474815e-15, 1.1327893594730693e-11, 9.077705692513543e-11, 1.1327893594730693e-11, 6.8060100125474815e-15, 8.240474063989279e-21
The no-blur CGI worst case, shows a significant overshoot (53928.6562 / 51199, or 5.33%) in the highlights after upsampling by 128x, but the slightly blurred (IMHO less than actual cameras/lenses wll produce without additional sharpening), is very well behaved (51318.7344 / 51199, or 0.23% overshoot). Anything below 1% over/undershoot can probably be considered as perceptually not significant under normal viewing conditions. It's only the shadow tones undershoot that could be improved a bit, e.g. by raising the gamma from 2.0 to, say, 2.5 (because 3 had you worried about color separation).
So, the worst case scenario would suggest a significant reduction of highlight halos to be needed, while in practice (for real images) it's just fine (with this particular blend), even for the best production cameras/lenses.
I'll do some simulations without blends and different deblurs on both targets later.
Cheers,
Bart