How is open price of a stock determined

What factors influence the determination of a stock’s opening price?