stitching two circular fisheye images

61 views
Skip to first unread message

giuseppe...@gmail.com

unread,
Apr 5, 2019, 10:14:20 AM4/5/19
to hugin and other free panoramic software
Hi,
I would like to use hugin to stitch 2 circular fisheye image.
I have a sony a5000 aps-c camera and I would like to buy a meike 6.5mm circular fisheye lens for sony aps-c sensor.
The image will fit into the sensor as a circle image, FOV is 190 degrees as stated in lens specs.

Should I only insert the lens specs or I need some other specific settings (or procedure) in order for Hugin to stitch properly two images in one equirectangular 360x180 image?

Thank you.

Giuseppe



Bruno Postle

unread,
Apr 5, 2019, 11:24:10 AM4/5/19
to hugi...@googlegroups.com
Hugin can't automatically detect the empty black areas outside the image circle, so you need to select a 'circular fisheye' lens and manually mark the circle in the crop tab.

Hugin will calculate all the other lens parameters for you. Though I recommend initially stitching a panorama with more photos and more overlap for better parameters, and then saving these parameters for future panoramas.

--
Bruno

giuseppe porciani

unread,
Apr 5, 2019, 6:15:34 PM4/5/19
to hugi...@googlegroups.com
Thank you very much.
I am a newbie so please excuse me if the following is meaningless:
is there any way to "automate" the circle image marking after first
instance, i.e. saving somehow the procedure and/or by way of a script?
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table
style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
alt="" width="46" height="29" style="width: 46px; height: 29px;"
/></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e;
font-size: 13px; font-family: Arial, Helvetica, sans-serif;
line-height: 18px;">Mail priva di virus. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
> --
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> ---
> You received this message because you are subscribed to the Google Groups
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hugin-ptx+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hugin-ptx/1DCE492E-D93A-4352-A4B9-5053DCDCE1B5%40postle.net.
> For more options, visit https://groups.google.com/d/optout.
>

Greg 'groggy' Lehey

unread,
Apr 6, 2019, 12:18:26 AM4/6/19
to hugi...@googlegroups.com
On Friday, 5 April 2019 at 7:14:20 -0700, giuseppe...@gmail.com wrote:
> Hi,
> I would like to use hugin to stitch 2 circular fisheye image.
> I have a sony a5000 aps-c camera and I would like to buy a meike 6.5mm
> circular fisheye lens for sony aps-c sensor.
> The image will fit into the sensor as a circle image, FOV is 190 degrees as
> stated in lens specs.

I don't have anything to add on the procedure, but maybe a thing to
think about: what do you have from a circular fisheye lens? It may
have other purposes, but for Hugin you will probably find it easier
with a full frame (field of view, not sensor size) fisheye. I do that
on a regular basis, and I don't have to do anything specific (once I
have initially told Hugin that it's a fisheye lens, so that it can
note it in its database).

> Should I only insert the lens specs or I need some other specific
> settings (or procedure) in order for Hugin to stitch properly two
> images in one equirectangular 360x180 image?

Even with the Meike, you won't get that from two images. Assuming
that you really get your 190°, that's only horizontally. My program
tells me that you won't get that vertically, and you need some
overlap:

Focal length: 6.50 mm
Horizontal FOV: 208.03°
Diagonal FOV: 249.86°
Vertical FOV: 138.39°
Panorama steps (30% overlap):
Horizontal: 146°
Vertical: 97°

The angles beyond 190° are theoretical; that's the part that's blacked
out. And the sample images I've seen, such as at
https://www.dpreview.com/forums/thread/4121672 , confirm this. It
suggests that you'll need at least 6 images to get a full 360x180
panorama.

--
Sent from my desktop computer.
Finger groo...@gmail.com for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA
signature.asc

Bruno Postle

unread,
Apr 6, 2019, 3:15:36 AM4/6/19
to hugi...@googlegroups.com
Hugin will save the position of the image circle along with all the other lens parameters, so you only have to place it once.

--
Bruno
Reply all
Reply to author
Forward
0 new messages