In this study we present an omnidirectional imaging system which is integrated with panoramic total internal reflection lens (PTIR lens), imaging lens, sensing device and image calibration software. The image is composed of front field of view region and lateral field of view region. We adopt the OcamCalib toolbox to obtain the geometric parameters of the omnidirectional images. By analyzing the geometric parameters which are obtained from the toolbox as feedback, we can refine the optical design of the panoramic total internal reflection lens and improve the performance of the omnidirectional imaging system.