Questions tagged [camera-distortion]

10 questions
2
votes
1 answer

Determining the distortion of an imaging system using a grid target

I try to determine the distortion of an imaging system. Due to technical reasons, I can only use a grid target. Sample Image of a grid target I follow the method using cv2 as described here:…
kai90
  • 21
  • 5
1
vote
1 answer

Perspective transformation using R and magick

I am trying prescriptive transformation with R magick package. I want to deskew and correct the prespective in the following image. I am not able to get the desired result. What am I doing wrong here ? library(magick) imgfile <-…
Crops
  • 5,024
  • 5
  • 38
  • 65
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
0
votes
0 answers

How can I find coordinates of distorted point using Imagemagick?

I am using Imagemagick to distort the full image, but I have some problem with determination of distorted position of the single point from original image. I am working with Barrel Inverse distortion right now and from Imagemagick documentation I…
0
votes
0 answers

How to use nvidia vpi remap for distortion correction?

I'm trying to convert my OpenCV remap to use distortion correctionnvidia vpi remap. My original code: cv::Mat src = /* read image */; cv::Mat dst(src.size(), src.type()); cv::Mat correction_x = /* image x correction */; cv::Mat correction_y = /*…
lior.i
  • 573
  • 1
  • 7
  • 20
0
votes
0 answers

How to use Gstreamer and undistort an image

Following the doc of gstreamer I have found in the following link I have tried to do a stream to undistort my camera. https://gstreamer.freedesktop.org/documentation/opencv/cameraundistort.html?gi-language=c In this link they tell to use the…
Ferkus
  • 11
  • 2
0
votes
0 answers

Opencv Camera Calibration Undistortion

I want to use the Camera Calibration Tool on OpenCV on a very specific setting, however, i seem to make one or more Logic Mistakes. I actually don't have a real camera, but a simulated one. I followed the official Calibration Tutorial I have a…
0
votes
0 answers

How to outline an area between 4 aruco markers opencv python?

I want to use 4 aruco markers to detect the area of a square and a circle while keeping in mind the distortion coefficient and camera matrix. This is the code to detect the aruco markers and get the pose estimations of the markers. from…
Brandon Pillay
  • 986
  • 1
  • 12
  • 28
0
votes
0 answers

Open CV stereo calibration with 2 different camera models

I'am trying to do stereoCalibration with 2 cameras using openCV on python : A normal camera model an a fisheye one. The problem is that, i'am trying to apply cv2.stereoCalibrate() on undistorted image based on the answers leave on this question…
0
votes
0 answers

D_xx: 1x5 distortion vector in Kitti calib_cam_to_cam.txt

In kitti calib_cam_to_cam.txt as specified in README: calib_cam_to_cam.txt: Camera-to-camera calibration S_xx: 1x2 size of image xx before rectification K_xx: 3x3 calibration matrix of camera xx before rectification D_xx: 1x5 distortion vector of…
Paul Wang
  • 1,666
  • 1
  • 12
  • 19