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
2
votes
1 answer

fisheye::estimateNewCameraMatrixForUndistortRectify opencv

I'm using this function to undistort images from a fisheye camera and it's very good as result, but i cannot find the skew coefficent to reduce the undistorsion. With cameras without fisheye I use: getOptimalNewCameraMatrix where the alpha can…
codeforge
  • 61
  • 1
  • 7
2
votes
0 answers

Fisheye distortion rectification with lookup table

I have a fisheye lens: I would like to undistort it. I apply the FOV model: rd = 1 / ω * arctan (2 * ru * tan(ω / 2)) //Equation 13 ru = tan(rd * ω) / 2 / tan(ω / 2) //Equation 14 as found in equations (13) and (14) of the INRIA paper…
2
votes
1 answer

dewarping the fish eye images using android application

I am working on android app. Currently my app is used as a viewer for camera. The camera side handle the fish eye dewarp mode. my app is just used to view the dewarp mode stream. Now we are looking for a way to implement fish eye dewarping mode and…
Sunil
  • 521
  • 1
  • 7
  • 24
2
votes
1 answer

Unable to add Fisheye effect to Labels in Forced Labelled Layout using D3.js

I am facing difficulty incorporating the fisheye effect in my current labelled-force-layout D3 visualization of a dense network of URLs. I was able to make several changes to the existing code to apply the fisheye successfully to the nodes and…
Darth Coder
  • 1,738
  • 7
  • 33
  • 56
2
votes
3 answers

Changing image aspect ratio of interpolated RGB image. Square to rectangular

I have some code which takes a fish eye images and converts it to a rectangular image in each RGB channels. I am having trouble with the fact the the output image is square instead of rectangular. (this means that the image is distorted, compressed…
2
votes
3 answers

Can't use fisheye lens effect on my image in Java

I want to use fisheye lens algorithm in Java, but I can't implement a main method. At the bottom of this site, I found java code, that implements fisheye algorithm, but there wasn't any main() method. I've tried to implement a main() method by my…
user1920217
  • 153
  • 1
  • 8
2
votes
1 answer

Undistorting/rectify images with OpenCV

I took the example of code for calibrating a camera and undistorting images from this book: shop.oreilly.com/product/9780596516130.do As far as I understood the usual camera calibration methods of OpenCV work perfectly for "normal" cameras. When it…
VollNoob
  • 267
  • 4
  • 15
2
votes
1 answer

Convert int array into bufferedImage in java

I was wondering how i could construct an int array in java into a buffered image. I know you can get an int array in java by doing int[] srcpixels = ((DataBufferInt)in.getRaster().getDataBuffer()).getData(); but i dont know how to do it the…
Markovian8261
  • 909
  • 4
  • 10
  • 23
1
vote
1 answer

OpenCV: Simulate FishEye

I've read this: How to simulate fisheye lens effect by openCV? post very good and played around with the code. I also read the Wiki Article for Distortion(optics) and understood the math behind it. The only real problem I have, is the…
1
vote
1 answer

OpenCV stereo camera calibration: support mixed camera models (normal + fisheye)?

In OpenCV APIs, there are cv::stereoCalibrate() and cv::fisheye::stereoCalibrate() for calibrating normal stereo cameras and fisheye stereo cameras repectively. For both APIs, the stereo camera pair use the same camera model. In other words, both…
herohuyongtao
  • 49,413
  • 29
  • 133
  • 174
1
vote
1 answer

How to get fisheye algorithm better?

I want to make simple fisheye algorithm to make it look like screen lens. Here is simple javascript code for canvas. var frame = context.getImageData(0, 0, canvas.width, canvas.height); var source = new Uint8ClampedArray(frame.data); …
Max Frai
  • 61,946
  • 78
  • 197
  • 306
1
vote
0 answers

using cv2.norm based on cv2.fisheye.projectPoints causes (-215:Assertion failed) _src1.sameSize(_src2) in function 'norm'

Hi I'm working on a camera calibration code (relatively standard I'd say), now when running this code: for i in range(num_images): number_of_points=len(objpoints[i][0]) if not fisheye: imgpoints2, _ = cv2.projectPoints(objpoints[i],…
Francois
  • 31
  • 3
1
vote
1 answer

Undistort ultra-wide angle (>180 degrees) fisheye lens

I am trying to undistort a 220deg fisheye lens image. I worked with fisheye before using OpenCV and a script similar to this. However, whenever I used a lens with more than 180deg it seems to fail, getting a warp-drive stretching towards the…
André
  • 142
  • 1
  • 15
1
vote
1 answer

Am I using the correct undistort routine? Is photo wide-angle or fisheye?

I am experimenting with undistorting images. I have the following image below, and using the undistort function have the result. The fisheye module doesn’t work. Is this because my image isn’t a fisheye but wide angle instead? And in either case how…
user121903
  • 57
  • 1
  • 1
  • 5
1
vote
0 answers

Find homography for stitching

I’m working on the following task: I have 6 fisheye cameras and would like to produce a 360 degree stitched image. After carrying out the calibration procedure with findChessboardCorners, calibrateCamera, I obtained the intrinsic and extrinsic…