Skip to content

Unwrap allsky (Fisheye) images into rectilinear in Python. Fisheye to panorama.

License

Notifications You must be signed in to change notification settings

rankinstudio/unWrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unWrap

Unwrap allsky (fisheye) images into rectilinear in Python

Simple to use python script to unwrap an allsky or 360 deg RGB fisheye image into a panoramic rectilinear image. Assumes square image. May need to crop square before running.

Dependencies:
imageio
numpy
opencv

Tested: Raspberry Pi 3/4

usage

from unWrap import unwrap
import imageio

image = imageio.imread('rgb.jpg')
result = unwrap(image, 40, 1500) #Here we are cropping 40px from the bottom of final pano. Set to 0 for disable. 3rd arg offsets the final pano by x pixels. 
imageio.imwrite('test.jpg', result)

About

Unwrap allsky (Fisheye) images into rectilinear in Python. Fisheye to panorama.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages