An object in terms of ray optics is
According to the sign convention used in ray optics, the origin for object distance measurement is
A ray of light going from an optically rarer medium to an optically denser medium