stitching a 37000x46000 image

57 views
Skip to first unread message

黄禄轩

unread,
May 12, 2022, 11:09:54 AM5/12/22
to hugin and other free panoramic software
Hello, I'm trying to stitching a image with nona and enblend but it is getting worse and worse. At the beginning all default options is ok until I have 512 images to be stitched and it will crash (0xc0000005) if I ask enblend to output PNG file, so I changed to TIFF. And when I have 768 images, TIFF will reach the 4GB limitation so I changed to JPEG, and I then found "--pre-assemble" will cause enblend crash with "encountered degenerate image/mask geometry; too high risk of defective seam line".
So my question is
first, can enblend output a 37000x46000 PNG file?
second, can enblend output a big TIFF which is larger than 4GB?
third, can "--pre-assemble" really accelerate the whole process? is it possible to continue with setup unchanged? and should I use this option in this project?

stitching pictures of 8086 die, each picture is 4224x4224, 9x overlap, output 37000x46000, 8GB RAM, 80GB pagefile, AMD955 @3.8GHz, and a fake nvidia GPU of which driver will crash when nona try to use the GPU.

By the way, the openGL preview window of Hugin is no longer response when I put over 256 images into it.

黄禄轩

unread,
May 12, 2022, 11:09:54 AM5/12/22
to hugin and other free panoramic software

David W. Jones

unread,
May 13, 2022, 2:37:52 AM5/13/22
to hugi...@googlegroups.com
Hmm, just guessing here, but it sounds like you might be running out of RAM. It hits your pagefile (are you using Windows?), and runs out of that, too.

That fake NVidia GPU may also be using system memory.

I use Hugin on Linux, on a 64GB RAM laptop. I've had it use more than 52GB of RAM on stitches that only involved 36 20mpix images and output TIFF images smaller than 2GB in size.

Maybe stitching in strips would help reduce memory use. Stitch each row separately. Then stitch the first two finished rows, then stitch the image from that with the finished bottom (?) row.

I would think enblend could output a BigTIFF image, but that could be me just trying to be logical.

Another image format that might be worth a try is EXR. If you don't already know it, that's a high-resolution, high-color-depth format, so I would think it able to handle really large image files.

Sorry, I don't have answers (or guesses) to your other questions.

--
David W. Jones
gnome...@gmail.com
exploring the landscape of god
http://dancingtreefrog.com

Sent from my Android device with F/LOSS K-9 Mail.
Reply all
Reply to author
Forward
0 new messages