Ensuring precise alignment of the optical axis is critical for achieving high-quality imaging in continuous zoom cameras. However, existing methods for measuring optical axis parallelism often lack accuracy and fail to assess parallelism across the entire focal range. This study introduces an online measurement method designed to address these limitations by incorporating two enhancements. First, image processing methodologies enable sub-pixel-level extraction of the spot center, achieved through improved morphological processing and the incorporation of an edge tracing algorithm. Second, measurement software developed using Qt Creator can output real-time data on optical axis parallelism across the full focal range post-measurement. This software features a multi-threaded architecture that facilitates the concurrent execution of image acquisition, data processing, and serial communication. Experimental results derived from simulations and real data indicate that the maximum average error in extracting the center of the spot is 0.13 pixels. The proposed system provides critical data for optical axis calibration during camera adjustment and inspection.
Read full abstract