Ratiometric image analysis