defishing circular fisheye

212 views
Skip to first unread message

dgeu...@gmail.com

unread,
Sep 29, 2023, 3:35:51 PM9/29/23
to PTGui Support
Does anyone know how this was done? I have an old version of PTGui and also Imadio de-fishing software running on Mac Sierra.
Screen Shot 2023-09-29 at 12.23.15 PM.png

PTGui Support

unread,
Sep 30, 2023, 4:06:55 AM9/30/23
to pt...@googlegroups.com
Hi,

Please see 6.25:
https://ptgui.com/support.html#6_25

The example output is not a true rectilinear image though (note the
distortion at the sides). You might be able to get a similar result by
choosing rectilinear output in PTGui, increasing the horizontal and
vertical compression and then increasing the horizontal and vertical
field of view. In recent versions of PTGui this can be done in the
Projection side bar in the panorama editor.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 29-09-2023 21:35, dgeu...@gmail.com wrote:
> Does anyone know how this was done? I have an old version of PTGui and
> also Imadio de-fishing software running on Mac Sierra.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/926301b3-3cf2-4104-b655-dc6d2b5e0861n%40googlegroups.com <https://groups.google.com/d/msgid/ptgui/926301b3-3cf2-4104-b655-dc6d2b5e0861n%40googlegroups.com?utm_medium=email&utm_source=footer>.

dgeu...@gmail.com

unread,
Sep 30, 2023, 10:42:43 AM9/30/23
to PTGui Support
I certainly do not expect a rectilinear image, I just wanted the image to fill a rectangle. If the instructions in 6.25 will apply to a circular fisheye I will order another Laowa 4mm FE. Thanks for your reply!

dgeu...@gmail.com

unread,
Oct 1, 2023, 11:24:39 AM10/1/23
to PTGui Support
I managed to get from a circle to a square but the result is a pts file which I can't open. How do I save as a tiff?

John Houghton

unread,
Oct 1, 2023, 12:55:17 PM10/1/23
to PTGui Support
The pts file is the project file, which can be opened by PTGui to restore the state it was in when you did File->Save. 

To generate the output panorama image, you need to open the Create Panorama tab on the left.  Then select the File Format as tiff and adjust the tiff settings if required and then click on Create Panorama to generate the output file.

John

jürgen eidt

unread,
Oct 1, 2023, 7:40:14 PM10/1/23
to PTGui Support
In PTGui it is the Equirectangular projection from a circular fisheye.
The rectilinear projection is not possible because of the large field of view of the circular fisheye. You need to, as mentioned here, apply compression for the outer areas.
Go ahead and order the 4mm 🐟👁
😀

rectilinear with compression.png
equirectangular-Kopie.png

dgeu...@gmail.com

unread,
Oct 4, 2023, 11:49:15 AM10/4/23
to PTGui Support
Re: Jürgen's kind message. I have tried everything and can not get this result. Can some one show me the exact steps? Is my v.10.0.19 program too old?

PTGui Support

unread,
Oct 5, 2023, 4:33:29 AM10/5/23
to PTGui Support
Hi,

I think this would work in PTGui 10 (from the top of my head, I don't have v10 at hand):

- drag your image onto the PTGui window
- go to Lens Settings and change the lens to circular fisheye and the field of view to 180 degrees
- go to the Crop tab an adjust the cropping circle to match the fisheye circle in your image
- go to Panorama Settings. Choose rectilinear or another desired projection and the desired field of view. Verify the result in the panorama editor
- go to the Create Panorama tab
- Choose the desired output format and size and press the Create Panorama button there.

If you get stuck anywhere please post a couple of screenshots.

Please keep in mind though that you won't get exactly the same result as posted in your original message. PTGui only supported true uncompressed rectilinear output, which has a limited field of view. In PTGui 12 you can use compressed rectilinear which is somewhat similar to your example. See attached sample. I don't know if this would meet your requirements.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.comimg1 Panorama.jpg

HDouris

unread,
Oct 5, 2023, 8:17:25 AM10/5/23
to pt...@googlegroups.com
Hi,

Starting from a square source-image, here is a result with ptGuiPro v10.0.15 and the pts script.
This version do support h and v compression for rectilinear projection. Don't know but may be the not-Pro v. don't support compression.
Hervé

FE-DefishRectiCompressed.pts
FE-source.jpeg
FE-DefishedRecticompressed.jpg
Reply all
Reply to author
Forward
0 new messages