distortion

Need PhotoBooth Mac feature in iphone app

吃可爱长大的小学妹 提交于 2019-12-06 17:32:13
问题 Have a look on following application http://itunes.apple.com/us/app/fatbooth/id372268904?mt=8 i think they are using the same feature provided my PhotoBooth MAC. Please suggest any api or any other possible solution so that I can build an iphone application Thanks 回答1: Core Image (certainly used by Photo Booth on the Mac) is not a public API on the iPhone. To achieve something similar, you would have to use OpenGL and write your own shaders (or do something like OpenGL mesh distortion). 来源:

how to get all undistorted image with opencv

白昼怎懂夜的黑 提交于 2019-12-06 11:09:23
I'm unsing cv::undistort but it crops the image. I'd like to have all the undistorted image, so that the undistorted size is bigger then the original one, like this: I think I need to use cv::getOptimalNewCameraMatrix but I had no luck with my trials.. some help? Just for the record: You should use cv::getOptimalNewCameraMatrix and set the aplha parameter to 1. Aplha 0 only shows valid points on the image, alpha 1 shows all the original points as well as black regions. This code would do the trick: void loadUndistortedImage(std::string fileName, Mat & outputImage, Mat & cameraMatrix, Mat &

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

南楼画角 提交于 2019-12-06 03:29:29
问题 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

Correct lens distortion using single calibration image in Matlab

让人想犯罪 __ 提交于 2019-12-06 02:08:32
I would like to correct lens distortions on a series of images. All the images were captured with the camera fixed in place, and a checkerboard image from the same set up is also available. After detecting the corners of the distorted checkerboard image, I would like to compute the radial distortion coefficients so that I can correct the images. Similar to the estimateCameraParameters function. Ideally, I would like to use a method similar to Matlab camera calibration however this does not seem to work for cases where only a single calibration image is available (and the images were all

Waving text on canvas

别来无恙 提交于 2019-12-05 18:27:55
How could I make waving text on a canvas element similar to what is found on this page? EDIT : @Ben, forget about the downvotes for no reason on your question, and... BE MY GUEST! :) I never coded with <canvas> before, it was very fun. At this point, there is no bilinear interpolation. I might rework it and add more bells and whistles. If you want to achieve such an effect in javascript, you'll effectively have to use the <canvas> tag. The principle consists in precalculating a distortion function in a buffer that is larger than the source image dimension. Have a look at the old Flipcode Art

water effect in a view based application

≡放荡痞女 提交于 2019-12-05 05:14:22
问题 I'm using a view based application in xcode and I would like to do an effect: water effect like this video .In this video the guy use opengl es And I don't know it it's possible without. 回答1: Following code is use for the water drop effect, -(IBAction)btnActionTapped:(id)sender{ CATransition *animation=[CATransition animation]; [animation setDelegate:self]; [animation setDuration:1.75]; [animation setTimingFunction:UIViewAnimationCurveEaseInOut]; [animation setType:@"rippleEffect"];

Fit sine wave with a distorted time-base

落爺英雄遲暮 提交于 2019-12-04 23:13:57
问题 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

Need PhotoBooth Mac feature in iphone app

北城余情 提交于 2019-12-04 20:40:26
Have a look on following application http://itunes.apple.com/us/app/fatbooth/id372268904?mt=8 i think they are using the same feature provided my PhotoBooth MAC. Please suggest any api or any other possible solution so that I can build an iphone application Thanks Core Image (certainly used by Photo Booth on the Mac) is not a public API on the iPhone. To achieve something similar, you would have to use OpenGL and write your own shaders (or do something like OpenGL mesh distortion). 来源: https://stackoverflow.com/questions/3829395/need-photobooth-mac-feature-in-iphone-app

OpenCV cvRemap Cropping Image

ε祈祈猫儿з 提交于 2019-12-04 13:35:19
问题 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

How to fix image perspective distortion and rotation with JavaScript?

Deadly 提交于 2019-12-04 13:12:49
问题 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? 回答1: Looks like https://www.npmjs.com/package/perspective