The STereo imaging Channel (STC) is the first push-frame stereo camera on board an European Space Agency (ESA) satellite, i.e., the ESA-Japan Aerospace eXploration Agency mission BepiColombo. It was launched in October 2018, and it will reach its target, Mercury, in 2025. The STC main aim is to provide the global three-dimensional reconstruction of the Mercury surface. STC, the stereo channel of spectrometer and imagers for Mercury Planetary Orbiter BepiColombo-Integrated Observatory System, is based on an original optical design that incorporates the advantages of a compact unique detector instrument and the convenience of a double direction acquisition system. In fact, STC operates in a push-frame imaging mode and its two optical sub-channels will converge the incoming light on a single focal plane assembly allowing to minimize mass and volume. The focal plane of the instrument is housing six different filters: two panchromatic filters in the range 600-800 nm and four broadband filters with central wavelengths in the range 420-920 nm. In this paper, the geometrical calibration of the instrument, including the optical setups used, will be described. The methods used to derive the focal lengths, the boresights, and the reference systems of the different filter models are presented, and the related distortion results are discussed. The STC off-axis configuration forced to develop a distortion map model based on the RFM (rational function model). In contrast to other existing models, which allow linear estimates, the RFM is not referred to specific lens geometry, but it is sufficiently general to model a variety of distortion types, as it will be demonstrated in this particular case.