Questions tagged [fisheye]

A Fisheye-effect is a distortion of images, such as that provided by a Fisheye lens, by which a wide-angle effect is achieved. If you are looking for information on Atlassian's Fisheye source code browser web app, please see atlassian-fisheye.

A Fisheye-effect is a distortion of images, such as that provided by a Fisheye lens, by which a wide-angle effect is achieved.

If you are looking for information on Atlassian's Fisheye source code browser web app, please see atlassian-fisheye.

213 questions
3
votes
1 answer

How do I fix the warped perspective in my raycaster?

I am writing a raycaster using SDL's C API. I have spent weeks trying to fix the notorious fisheye effect to no avail. According to this source, I can multiply my calculated distance by the cosine of half of the FOV to fix it. That has not worked…
Caspian Ahlberg
  • 934
  • 10
  • 19
3
votes
1 answer

What is the correct way to undistort points captured using fisheye camera in OpenCV in Python?

INFO: I've calibrated my camera and have found the camera's intrinsics matrix (K) and its distortion coefficients (d) to be the following: import numpy as np K =…
Angelo
  • 33
  • 1
  • 4
3
votes
1 answer

Projection of fisheye camera model by Scaramuzza

I am trying to understand the fisheye model by Scaramuzza, which is implemented in Matlab, see https://de.mathworks.com/help/vision/ug/fisheye-calibration-basics.html#mw_8aca38cc-44de-4a26-a5bc-10fb312ae3c5 The backprojection (uv to xyz) seems…
gebbissimo
  • 2,137
  • 2
  • 25
  • 35
3
votes
1 answer

How to move colored points from 2D image to 3D sphere

I have 2D color image. All colored points are located inside round area in center of this rectangle image, all points outside circle are black (I get these rectangle images from fisheye camera). I know the coordinates of center of this circle and…
3
votes
2 answers

OpenCV undistorts only a central part of fisheye image

I'm trying to perform fisheye camera calibration via OpenCV 3.4.0 (C++, MS Windows). I used cv::fisheye::calibrate to make K and D (camera matrix and radial distortion coeffitients matrix). Then I used cv::fisheye::initUndistortRectifyMap to produce…
3
votes
0 answers

Fisheye and Pinhole pixel correlation

I have a camera system which has both fish eye camera and pinhole camera. These cameras capture the same image. My task is to map a pixel on fish eye image to a pixel on pinhole image (at an acceptable error). I have covered some papers such as OPEN…
3
votes
0 answers

OpenCV fisheye undistort issues

EDIT: I found the cause of the problem, the fisheye::undistortImage() function was not working correctly, I replaced it with estimateNewCameraMatrixForUndistortRectify(), initUndistortRectifyMap(), and remap() as in the original calibrate camera…
IgorZ
  • 31
  • 1
  • 4
3
votes
1 answer

jQuery Interface Fisheye left align issue

Using the groovy Fisheye function from the jQuery plugin Interface, and setting "halign" to "left" the effect seems to apply to the next image in the list rather than the one that the mouse is actually over. link
ben
  • 1,583
  • 2
  • 11
  • 12
3
votes
1 answer

Fisheye correction formula, need explanation

After extensive search, I have not been able to find a decently explained formula for WebGL fisheye image correction. A Shadertoy at fisheye/antifisheye shows a formula uv = m + normalize(d) * atan(r * -power * 10.0) * bind / atan(-power * bind *…
Michael
  • 173
  • 1
  • 11
3
votes
3 answers

Project image points to object points with opencv 3.0.0 beta

I use opencv 3.0.0 beta. I calibrated my camera and I would like project image points (2D) to points in 3D. I saw the function :void fisheye::projectPoints(InputArray objectPoints, OutputArray imagePoints, InputArray rvec, InputArray tvec,…
artoon
  • 729
  • 2
  • 14
  • 41
3
votes
1 answer

D3 fisheye on width on bar chart

i have been trying to create a vertical bar chart with a d3 fisheye cartesian distortion with only the x-axis being distorted. I have succeeded in distorting the x position of the vertical bars on mouseover with the following code: var maxMag =…
Dexter Tan
  • 33
  • 5
3
votes
0 answers

ScrollView stops updating Items when reaching its bounds

So the problem I am facing right now is the following, I want to create a fisheye view (so a view which contains items while the item in the middle is bigger then the other ones like you will see in the MAC OS itembar or somewhere else). So far I…
DokutoMekki
  • 491
  • 4
  • 17
2
votes
3 answers

Remove pincushion lens distortion in Python

I have the following image which is computer generated It is fed as an input to an optical experiment results in the following image: As you can tell the image has a double concave effect due to the lens system being used. I need to be able to…
DhiwaTdG
  • 748
  • 1
  • 10
  • 26
2
votes
1 answer

Generating Bird Eye View of distorted image in OpenCV without knowing camera properties

I'm trying to transform this soccer field image to a bird eye view and have attempted initially with warpPerspective only (OpenCV in python) but results with which shows that there is distortion in the original image. I've researched ways to…
Paul
  • 23
  • 6
2
votes
1 answer

Unable to convert dual fisheye image to equirectangular image using ffmpeg package

I am trying to convert dual fisheye image captured in an insta360 camera to equirectangular format using the ffmpeg package but I am unable to get the correct result. I used the following code, ffmpeg -i input.jpg -vf…
Soumyarian
  • 21
  • 1
1 2
3
14 15