As the growth of immersive 3D animation, its application in ink element animation is constantly updating and advancing. However, the current immersive 3D ink element animation production also has the problem of lack of innovation and repeated development, so the research innovatively designs and develops the image stitching method for immersive 3D ink element animation production. The method is designed through stereo matching algorithm and scale-invariant feature transform algorithm, and the stereo matching algorithm is optimized with the weighted median filtering method based on the guide map. In addition, the study also designs the specific implementation of this method from different functional modules. The experimental results show that on four different datasets, the error percentages of the optimized stereo matching algorithm in non-occluded areas are 0.3885%, 0.4743%, 1.6848%, and 1.34%, respectively. The error percentages of all areas are 0.8316%, 0.8253%, 4.3235%, and 4.1760%, respectively. The research and design of image stitching methods can be applied in other fields and has good practical significance.