distortion

How to calculate an image has noise and Geometric distortion or not?

送分小仙女□ 提交于 2019-12-04 09:42:59
I need to make an application in iphone which needs to calculate noise, geometric deformation other distortions in an image. How to do this? I have done some image processing stuff with opencv + iphone. But I dont know how to calculate these parameters. 1) How to calculate noise in an image? 2) What is geometric deformation and how to calculate geometric deformation of an image? 3) Is geometric deformation and distortion are same parameters in terms of image filter? or any other distortions available to calculate an image is good quality or not? Input: My image is a face image in live video

How do I stop a CSS layout from distorting when zooming in/out?

偶尔善良 提交于 2019-12-03 17:57:57
问题 I've set up a very basic site with a #container div that includes the #navbar and #content. However, when I zoom in or out, the #navbar distorts, if I zoom in the links get pushed down below each other instead of being inline. If I zoom out, too much padding is added between the links. How can I stop this? HTML: <div id="navbar"> <ul> <li><a href="index.html">Home</a></li> <li><a href="top.html">Top</a></li> <li><strong><a href="free.html">FREE</a></strong></li> <li><a href="photo.html">Photo

Fit sine wave with a distorted time-base

百般思念 提交于 2019-12-03 15:50:34
I want to know the best way to fit a sine-wave with a distorted time base, in Matlab. The distortion in time is given by a n-th order polynomial (n~10), of the form t_distort = P(t) . For example, consider the distortion t_distort = 8 + 12t + 6t^2 + t^3 (which is just the power series expansion of (t-2)^3 ). This will distort a sine-wave as follows: I want to be able to find the distortion given this distorted sine-wave. (i.e. I want to find the function t = G(t_distort) , but t_distort = P(t) is unknown.) Here's an analytical driven route that takes asin of the signal with proper unwrapping

How to remove radial distortions from images using OpenCV?

旧时模样 提交于 2019-12-03 13:26:18
I think I should be using cv::remap to remove the distortion but can't figure out what the the maps const Mat& map1, const Mat& map2 to should be to achieve this. Should I be using the cv::initUndistortRectifyMap to find out the values? If so, I'd really appreciate an example. I do not have the intrinsic camera parameters or don't know how to calculate them. Thanks. karlphillip If you are looking to remove the distortion caused by the camera lens you should take a look at this answer I wrote some time ago, which has intructions and references on how to do proper camera calibration. I also

Fisheye/Wide-Angle lens Calibration in OpenCV

▼魔方 西西 提交于 2019-12-03 12:18:27
问题 I know the default OpenCV Calibration systems model a Pinhole camera, but I'm working with a system using extremely wide FOV lens (187-degrees). If there any existing way to do this in OpenCV, or to work with just wide lenses? Or will I have to rewrite all the calibration/undistort for my system? 回答1: Seems there's no good OpenCV way to do this. I wound up using OCamLib to do the actual calibration, then writing my own "undistortPoints" function (using Scaramuzza's algorithms) to undistort 2D

How to implement Drag Distortion Image filter in android?

人盡茶涼 提交于 2019-12-03 11:19:15
问题 I am working on custom image filter project. And I came across one challenging task, in which I am supposed to apply distorted filters as can be seen in Funny face effect app. I want to develop first 3 filters as available in Funny Face Effects. So to implement such an effect I started using GPUImageView GPUImage and in this, it is using seekbar to distort image from the centre. I have achieved Bulge distortion from this. But is there any way I can implement drag filter, where I can distort

Re-distort points with camera intrinsics/extrinsics

≯℡__Kan透↙ 提交于 2019-12-03 09:30:23
问题 Given a set of 2D points, how can I apply the opposite of undistortPoints ? I have the camera intrinsics and distCoeffs and would like to (for example) create a square, and distort it as if the camera had viewed it through the lens. I have found a 'distort' patch here : http://code.opencv.org/issues/1387 but it would seem this is only good for images, I want to work on sparse points. 回答1: This question is rather old but since I ended up here from a google search without seeing a neat answer I

OpenCV cvRemap Cropping Image

主宰稳场 提交于 2019-12-03 09:12:51
So I am very new to OpenCV (2.1), so please keep that in mind. So I managed to calibrate my cheap web camera that I am using (with a wide angle attachment), using the checkerboard calibration method to produce the intrinsic and distortion coefficients. I then have no trouble feeding these values back in and producing image maps, which I then apply to a video feed to correct the incoming images. I run into an issue however. I know when it is warping/correcting the image, it creates several skewed sections, and then formats the image to crop out any black areas. My question then is can I view

FishEye Picture Effect (Barrel Distortion) Algorithm (with Java)?

a 夏天 提交于 2019-12-03 08:41:49
I'm looking for the algorithm (bitmap pixel manipulation) to simulate the fisheye lens (Barrel Distortion) from normal pictures. So far I've found implementation involving external libraries like OpenCV, OpenGL or jhlabs. Since I'm taking a class in Digital Image Processing and I'm making a course assessment project, I'm not sure whether using any external lib will earn me a good grade. So would anyone give me the reference to such algorithm? Ps. I'm asked to implement it in Java, but example from any language would do. mpenkov It's good that you've been able to find examples that do what you

How to fix image perspective distortion and rotation with JavaScript?

我们两清 提交于 2019-12-03 07:47:51
I have some images that takes using mobile phone. Is there any JavaScript library which can straighten the photo of a paper and flatten it? For example I want to create a rectangular image without any distortion from this image. In the other words I want to know how to fix perspective distortion and rotation with JavaScript? For example I found below sample image from this article: How to fix this type of image with javascript? Looks like https://www.npmjs.com/package/perspective-transform is what you are looking for. Create functions to map points from one arbitrary quadrilateral to another