Compute TanAngleEyeScale same way SDK does, and optimize further by caching more (cache exact input pixel indexes in src array)