Comments (2)
i use PinholeLens can solve,but,i wan't cv2.undistort(fisheye_image, intrinsics, dist_coeffs)
how i do?
def make_cylindrical_cam(cam: Camera):
"""generates a cylindrical camera with a centered horizon"""
assert isinstance(cam.lens, RadialPolyCamProjection)
# creates a cylindrical projection
lens = PinholeLens(cam.lens.coefficients[0])
rot_zxz = SciRot.from_matrix(cam.rotation).as_euler('zxz')
# adjust all angles to multiples of 90 degree
rot_zxz = np.round(rot_zxz / (np.pi / 2)) * (np.pi / 2)
# center horizon
rot_zxz[1] = np.pi / 2
# noinspection PyArgumentList
return Camera(
rotation=SciRot.from_euler(angles=rot_zxz, seq='zxz').as_matrix(),
translation=cam.translation,
lens=lens,
size=cam.size, principle_point=(cam.cx_offset, cam.cy_offset),
aspect_ratio=cam.aspect_ratio
)
from woodscape.
I understand that the model of opencv undo is different from yours, so I can only use the one you provided
from woodscape.
Related Issues (20)
- SynWoodScape visualize HOT 4
- fisheye images visualize HOT 2
- Project 3D bounding boxes on the fisheye image of SynWoodScape HOT 1
- Does the Synwoodscape have time stamps information? HOT 1
- Fisheye img visualization HOT 2
- Semantic Segmentation Annotations 404 HOT 1
- synWoodScape HOT 1
- I don't find 3D bbox label ? HOT 1
- About Inference time
- Cropping in data preprocessing HOT 1
- sidewalk class for semantic segmentation HOT 1
- 2d to 3d; how to bev image HOT 2
- Applying Optical Flow Transform in SynWoodscape
- generating new images from woodscape dataset
- Semantic Annotations for the Test_set isn't given
- Missing info on vehicle’s mechanical data HOT 1
- Issue with Lidar data and 3d annotation not matching
- Depth Estimation and Pointcloud Generation
- How to project 3d box on lidar groundtruth?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woodscape.