Un-fishing a Fish-eye?

Manny316

Well-known member
Messages
174
Solutions
2
Reaction score
56
Location
Wichita, KS, US
Hi everyone. Sorry if this has been asked many times before but I was just wondering if anyone knows of a program that can make images taken from a fish-eye lens become a un-fished(de-fished)? I want the shot below to not have the players look curved upwards. Any way to do this with Lightroom or any other program?



b22d480a41be4d7b89491cbc91c4e3a3.jpg



--
Leave comments on my pictures
Produce images that make you most happiest.
 
Solution
I've been playing with my 8mm Samyang F2.8 a bit, and experimenting with de-fishing, both with Hemi and with the profile the previous poster made (thanks for that, btw!). Here's what I've found:

Yeah, it can be done ... BUT there are some serious limitations. The further out your subject is to the edges, the harder it's going to be to get it to look right. Corrections stretch and soften the edges, so you'll need to crop after correcting anyway. And even then, what's left at the (post-crop) edges may not be quite perfectly right or normal looking. By way of example, see what happens to the buildings at the top of the frame in the previous poster's example shot (follow his link). The middle looks more natural on he de-fished photo, but...
DWMurf said:
Manny316 said:
Thanks for the examples Mel Synder. Great pics. Also, thanks for contributing samples of what the Hugin plug-in can do DWMurf and Jawed. I have bookmarked this page and will experiment with the Hemi and Hugin plug-ins. :)

Cheers!

--
Leave comments on my pictures
Produce images that make you most happiest.
You're welcome and it would be great to see the results of your experiments here.

--
David





How would you like to face these towering giants on the court?

Here's one from PaintShop Pro, yielding a rectilinear projection and more cropped than I wanted.





--
David
 
DWMurf said:
DWMurf said:
Manny316 said:
Thanks for the examples Mel Synder. Great pics. Also, thanks for contributing samples of what the Hugin plug-in can do DWMurf and Jawed. I have bookmarked this page and will experiment with the Hemi and Hugin plug-ins. :)

Cheers!

--
Leave comments on my pictures
Produce images that make you most happiest.
You're welcome and it would be great to see the results of your experiments here.

--
David
How would you like to face these towering giants on the court?

Here's one from PaintShop Pro, yielding a rectilinear projection and more cropped than I wanted.



--
David
Hugin is the most powerful software mentioned here, but there is a learning curve involved.

Here's another try with Hugin. Perhaps applying a vignette effect would take care of the corners without further cropping.







--
David
 
My Sony HX30V pocket super zoom works amazingly well stitching moving subjects in-camera, with up to 54mp image size. Sample is attached here. With my NEX 3N and any other NEX as far as I know, I have to do this post process with moving subjects. I find Microsoft ICE works well with moving subjects, is easy to use and like Hugin is free. I've only used Hugin for defishing images so far, but it is primarily panorama stitching software.









--
David
 

Attachments

  • 2852371.jpg
    2852371.jpg
    2 MB · Views: 0
Thanks for the examples Mel Synder. Great pics. Also, thanks for contributing samples of what the Hugin plug-in can do DWMurf and Jawed. I have bookmarked this page and will experiment with the Hemi and Hugin plug-ins. :)

Cheers!

--
Leave comments on my pictures
Produce images that make you most happiest.
You're welcome and it would be great to see the results of your experiments here.

--
David
How would you like to face these towering giants on the court?

Here's one from PaintShop Pro, yielding a rectilinear projection and more cropped than I wanted.



--
David
Hugin is the most powerful software mentioned here, but there is a learning curve involved.

Here's another try with Hugin. Perhaps applying a vignette effect would take care of the corners without further cropping.



--
David
The second result is perfect and what I wanted to achieve. I got close to achieving the same perspective using Hugin but the problem is it only allows me to save in .pto format. How do I save in Jpeg?

--
Leave comments on my pictures
Produce images that make you most happiest.
 
Thanks for the examples Mel Synder. Great pics. Also, thanks for contributing samples of what the Hugin plug-in can do DWMurf and Jawed. I have bookmarked this page and will experiment with the Hemi and Hugin plug-ins. :)

Cheers!

--
Leave comments on my pictures
Produce images that make you most happiest.
You're welcome and it would be great to see the results of your experiments here.

--
David
How would you like to face these towering giants on the court?

Here's one from PaintShop Pro, yielding a rectilinear projection and more cropped than I wanted.



--
David
Hugin is the most powerful software mentioned here, but there is a learning curve involved.

Here's another try with Hugin. Perhaps applying a vignette effect would take care of the corners without further cropping.



--
David
The second result is perfect and what I wanted to achieve. I got close to achieving the same perspective using Hugin but the problem is it only allows me to save in .pto format. How do I save in Jpeg?

--
Leave comments on my pictures
Produce images that make you most happiest.
On the last tab in Hugin labeled Stitcher there is Panorama Outputs. The default is TIFF but you can select JPEG. The .pto file is a text file which shows the settings used to create the output image. Click the Stitch box at the bottom to create the output once you have all your settings done, at which both the .pto and JPEG files will be saved.

--
David
 
Last edited:
The settings I used are different from what I've advised in the past. Accidentally I discovered that setting the lens type to "circular fisheye" produces a preferable projection than the oft-used "stereographic" lens type (I certainly have specified stereographic in the past and I have a gallery of pix that are based on stereographic). This then requires a longer focal length. 9.5mm in this case (a figure I derived from my own lens, and which probably varies with lens). The focal length is worth experimentation.
The APS-C Samyang 8mm is supposedly close to stereographic, but no lens has a "perfect" projection. There is a particular "Thoby" projection in Hugin made specifically for the Nikkor 10.5mm.

If one makes a good pano set of images (preferably on tripod with a pano head, rotation around the right point, static scene with enough "features" all around), Hugin is able to optimize lens distortion parameters.
I then used Equirectangular Panini as the re-projection.
Sometimes it is worth trying many output projections, as there is no perfect solution for any scene, especiall those with both straight lines and round objects. Unfortunately often no projection seems to work for some scenes, hehe. Sometimes it is worth trying to adjust the horizon.
 
_sem_ said:
Jawed said:
The settings I used are different from what I've advised in the past. Accidentally I discovered that setting the lens type to "circular fisheye" produces a preferable projection than the oft-used "stereographic" lens type (I certainly have specified stereographic in the past and I have a gallery of pix that are based on stereographic). This then requires a longer focal length. 9.5mm in this case (a figure I derived from my own lens, and which probably varies with lens). The focal length is worth experimentation.
The APS-C Samyang 8mm is supposedly close to stereographic, but no lens has a "perfect" projection. There is a particular "Thoby" projection in Hugin made specifically for the Nikkor 10.5mm.

If one makes a good pano set of images (preferably on tripod with a pano head, rotation around the right point, static scene with enough "features" all around), Hugin is able to optimize lens distortion parameters.
Member said:
I then used Equirectangular Panini as the re-projection.
Sometimes it is worth trying many output projections, as there is no perfect solution for any scene, especiall those with both straight lines and round objects. Unfortunately often no projection seems to work for some scenes, hehe. Sometimes it is worth trying to adjust the horizon.
Here's trying the Thoby projection:



So far the Miller Cylindrical worked the best with this lens and image.

--
David
 
Last edited:
Thanks for the examples Mel Synder. Great pics. Also, thanks for contributing samples of what the Hugin plug-in can do DWMurf and Jawed. I have bookmarked this page and will experiment with the Hemi and Hugin plug-ins. :)

Cheers!

--
Leave comments on my pictures
Produce images that make you most happiest.
You're welcome and it would be great to see the results of your experiments here.

--
David
How would you like to face these towering giants on the court?

Here's one from PaintShop Pro, yielding a rectilinear projection and more cropped than I wanted.



--
David
Hugin is the most powerful software mentioned here, but there is a learning curve involved.

Here's another try with Hugin. Perhaps applying a vignette effect would take care of the corners without further cropping.



--
David
The second result is perfect and what I wanted to achieve. I got close to achieving the same perspective using Hugin but the problem is it only allows me to save in .pto format. How do I save in Jpeg?

--
Leave comments on my pictures
Produce images that make you most happiest.
On the last tab in Hugin labeled Stitcher there is Panorama Outputs. The default is TIFF but you can select JPEG. The .pto file is a text file which shows the settings used to create the output image. Click the Stitch box at the bottom to create the output once you have all your settings done, at which both the .pto and JPEG files will be saved.

--
David
Thank you so much. I finally got it figured out. My sample is far from perfect but I can keep practicing.



32677dc221c04e28a32ae62e0e002b62.jpg



--
Leave comments on my pictures
Produce images that make you most happiest.
 
Thanks for the examples Mel Synder. Great pics. Also, thanks for contributing samples of what the Hugin plug-in can do DWMurf and Jawed. I have bookmarked this page and will experiment with the Hemi and Hugin plug-ins. :)

Cheers!

--
Leave comments on my pictures
Produce images that make you most happiest.
You're welcome and it would be great to see the results of your experiments here.

--
David
How would you like to face these towering giants on the court?

Here's one from PaintShop Pro, yielding a rectilinear projection and more cropped than I wanted.



--
David
Hugin is the most powerful software mentioned here, but there is a learning curve involved.

Here's another try with Hugin. Perhaps applying a vignette effect would take care of the corners without further cropping.



--
David
The second result is perfect and what I wanted to achieve. I got close to achieving the same perspective using Hugin but the problem is it only allows me to save in .pto format. How do I save in Jpeg?

--
Leave comments on my pictures
Produce images that make you most happiest.
On the last tab in Hugin labeled Stitcher there is Panorama Outputs. The default is TIFF but you can select JPEG. The .pto file is a text file which shows the settings used to create the output image. Click the Stitch box at the bottom to create the output once you have all your settings done, at which both the .pto and JPEG files will be saved.

--
David
Thank you so much. I finally got it figured out. My sample is far from perfect but I can keep practicing.

32677dc221c04e28a32ae62e0e002b62.jpg

--
Leave comments on my pictures
Produce images that make you most happiest.
You're very welcome; this is a great thread you started here, and your original fisheye image is great to start with. I think it is a great use for the fisheye.

On the Move/Drag tab you can rotate the Panosphere image to level and straighten the floor/horizon if you like.

For the Miller Cylindrical projection that you liked, I have put the .pto and .pto.mk text files in a Dropbox folder along with your original image. If you put them in a folder on your computer and open the .pto in Hughin, you can see all the settings I used.

https://www.dropbox.com/home/defish miller cyl

--
David
 
Last edited:
Using 2X digital zoom with my Rokinon 8mm/f2.8 fish-eye gives me a handy compact 8-16mm/f2.8 zoom. My NEX 3N has a zoom lever on the body which is very convenient for this. There is still a little barrel distortion which can easily be corrected if desired:




2X digital zoom = 16mm






8mm with no digital zoom.

And of course all the various projections available with Hugin makes this fish-eye lens a very versatile super-duper-wide-angle lens.

--
David
 
Using 2X digital zoom with my Rokinon 8mm/f2.8 fish-eye gives me a handy compact 8-16mm/f2.8 zoom. My NEX 3N has a zoom lever on the body which is very convenient for this. There is still a little barrel distortion which can easily be corrected if desired:


2X digital zoom = 16mm


8mm with no digital zoom.

And of course all the various projections available with Hugin makes this fish-eye lens a very versatile super-duper-wide-angle lens.

--
David
Thanks once again and I agree about the Hugin plug-in.

--
Leave comments on my pictures
Produce images that make you most happiest.
 

Keyboard shortcuts

Back
Top