Someone asked something similar here:
https://groups.google.com/g/hugin-ptx/c/WF4WKBYF3xc
The procedure is almost the same as when you stitch images from a scanner.
Since the camera is moving for every picture, you would need to assign a
different lens to each of the images (select each image,
Dear all!
Over time, lux has become very complex. To do more than 'ordinary' image
and panorama viewing, it's often necessary to pass arguments on the command
line. Many users find that difficult, and the 'legacy' GUI is not up to the
task to handle the complexity. So I decided to start on a new