Stitching Insta360 One RS 1-inch

244 views
Skip to first unread message

Adam Nielsen

unread,
May 4, 2023, 2:27:19 AM5/4/23
to hugin and other free panoramic software
Hi all,

I have a bunch of photos from an Insta360 RS 1-inch camera, each of which appear as two fisheye images side by side.

I am having some trouble trying to stitch them with Hugin, so I'm wondering if anyone has any advice?

Here are some sample images:


I converted the files to JPEG with ImageMagick, then tried using the "Assistant for dual image lenses" but it just comes up with an error saying "The assistant did not complete successfully. Please check the resulting project file."

The resulting images are sort of stitched but very poorly with no smooth transition between the two frames, and bits of the image missing right at the stitch point.

I'm unable to check whether the mask is correct because when I try to modify the mask in Hugin, it draws a copy of the UI complete with menu bar inside the mask area so you can't line up the mask with the actual image (see http://files.shikadi.net/malv/images/insta360/hugin-mask.gif for an animated example of what happens).

Given that the lenses are fixed in this camera, it should be possible to figure out the mapping once and then stitch every image the same way.  Ideally I am wanting to do this from the command line on a Linux machine, so that I can just batch process images from this camera as needed.  However I am stuck trying to get that initial template set up that I can reuse for each image.

If anyone can offer any pointers it would be much appreciated!

Many thanks,
Adam.

Andrew Jones

unread,
May 7, 2023, 2:11:07 AM5/7/23
to hugin and other free panoramic software
Oh or try installing the vertical dual lens assistant described in following post.

Andrew Jones

unread,
May 7, 2023, 2:11:07 AM5/7/23
to hugin and other free panoramic software
You might have to have the jpeg file rotated 90 degrees before processing it in Hugin with the dual lens assistant.

On Thursday, May 4, 2023 at 4:27:19 PM UTC+10 Adam Nielsen wrote:

Adam Nielsen

unread,
May 7, 2023, 6:15:07 AM5/7/23
to hugi...@googlegroups.com
> Oh or try installing the vertical dual lens assistant described in
> following post.
> https://groups.google.com/g/hugin-ptx/c/vYeBUu7_7Ic/m/_03tZiQEBgAJ

Is that needed in this case though? The two images are horizontal.

The dual lens assistant *almost* works it's just off by enough to not
quite work.

I tried converting the .insp files to TIFF instead of JPEG without
resizing them and this gives a *much* better result, but for some
reason there's still a tiny gap of a few pixels at the stitch point,
even though the source images cover that area.

It's also very difficult to use Hugin with full size images as it
becomes very laggy so I guess there must be some other trick to it.

Cheers,
Adam.

Andrew Jones

unread,
May 7, 2023, 6:43:21 AM5/7/23
to hugin and other free panoramic software
Yeah I just started playing with this today as I don't like much the output from Insta360 Studio especially the colour rendering.
When taking images I've set it to save as insp and raw dng files.
I found I can just rename the insp adding .jpg to the end and they can be read into Huggin and then use the two lens assistant to process.
As you say they do not come out correctly. One thing I notice is that in the Panorama editor the masking/cropping is not right. Looks like there may be other issues as well to achieve a correct equirectangular image.
I've also converted the raw dng file into tif file which comes out vertical for some reason.
Ultimately I'd like to have a work flow that takes the dng files to produce an adjusted equirectangular tif/jpg file and bring across the metadata such as gps from the insp file.

Regards,
AJ
Reply all
Reply to author
Forward
0 new messages