Questions tagged [image-stabilization]

Anything related to image stabilization and correlated techniques, i.e. the process of avoiding, eliminating or compensating the distortions of an image due to spurious movements of the image acquisition device, such as a camera, a web-cam, a scanner, etc.

Anything related to image stabilization and correlated techniques, i.e. the process of avoiding, eliminating or compensating the distortions of an image due to spurious movements of the image acquisition device, such as a camera, a web-cam, a scanner, etc.

43 questions
12
votes
2 answers

OpenCV warping image based on calcOpticalFlowFarneback

I'm trying to perform a complex warp of an image using Dense Optical Flow. I am trying to warp the second image into roughly the same shape as the first image. cv::Mat flow; cv::calcOpticalFlowFarneback( mGrayFrame1, mGrayFrame2, flow, 0.5, 3, 15,…
Goz
  • 61,365
  • 24
  • 124
  • 204
10
votes
1 answer

Image stabilization library Objective-C / C / C++?

is there a decent image stabilization library (something around optical flow) out there that can give me a 3 dimensional transformation matrix to stabilize with? I just want to stabilize a 10 frame sequence. A library with an Objective-C wrapper…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
5
votes
0 answers

Emgucv C# Image Stabilization

I have two successive images which I want to stabilize using EmguCv in C#. I found much information on how to perform image stabilization, however I could not find any detailed explanation on how to use Emgu to stabilize two successive frames…
Spyros
  • 261
  • 2
  • 14
5
votes
2 answers

Image stabilization/alignment algorithm

From what I have read on the web, one of the most efficient algorithms for image stabilization is to use Gray coded bit plane matching. However, I'm having trouble understanding it (Gray codes themselves are not that complex, it's the rest of it). …
Fantius
  • 3,806
  • 5
  • 32
  • 49
5
votes
2 answers

Best algorithm for video stabilization

I am creating a program to stabilize the video stream. At the moment, my program works based on the phase correlation algorithm. I'm calculating an offset between two images - base and current. Next I correct the current image according to the new…
iRomul
  • 251
  • 1
  • 7
  • 18
4
votes
2 answers

Real-Time video stabilization OpenCV

I've searched a function in OpenCV (cv::videostab), that would allow me to do video stabilization in Real-Time. But as I understand in OpenCV this is not yet available. So TwoPassStabilizer(OnePassStabilizer) require a whole video at once and not…
Multifora
  • 133
  • 1
  • 10
4
votes
1 answer

How to find rotation angle of a stabilized video frame on Matlab

Consider I have the following a stabilized video frame where stabilization is done by only rotation and translation (no scaling): As seen in the image, Right-hand side of the image is symmetric of the previous pixels, i.e the black region after…
smttsp
  • 4,011
  • 3
  • 33
  • 62
4
votes
1 answer

Opencv Python VIDEOSTAB class

I need to implement a stabilization functionality to my opencv project. There is a videostab class, but it is only described for c++ (http://docs.opencv.org/trunk/d5/d50/group__videostab.html). Does anyone know how to use it in Python? I am going to…
Greg Wojdyga
  • 101
  • 1
  • 5
3
votes
0 answers

modifying images to get sharp, non-noisy features for optical flow/image stabilization

I am attempting to develop a pipeline for stabilizing images of a fluid experiment using opencv in Python. Here is an example raw image (actual size: 1920x1460) This pipeline should be able to stabilize both for low-frequency drift and high…
3
votes
1 answer

Smoothing motion parameters

I have been working on video stabilization for quite a few weeks now. The algorithm I'm following basically involves 3 steps :- 1. FAST feature detection and Matching 2. Calculating affine transformation (scale + rotation + translation x +…
3
votes
1 answer

opencv estimateRigidTransform: How to get global scale?

I'm using openCV's estimateRigidTransform to stabilize a series of video frames, which works very well. The function returns a 2x3 transformation matrix M: | a_11 a_12 b_1 | | -a_12 a_11 b_2 | As far as I understand the b elements represent the…
2
votes
0 answers

How to improve stabilization of image sequence of face using Python OpenCV

I have been capturing a photo of my face every day for the last couple of months, resulting in a sequence of images taken from the same spot, but with slight variations in orientation of my face. I have tried several ways to stabilize this sequence…
konewka
  • 620
  • 8
  • 21
2
votes
1 answer

Image Stabilization

Hey, I'm doing a project to stabilize video sequence by using optical flow method. I have done well the optical flow so far. But I have 2 branches in front of me to work on it.. 1- after getting the optical flow, I have found the average of the…
Mario
  • 1,469
  • 7
  • 29
  • 46
2
votes
1 answer

OpenCV: image stabilization

I am attempting to post process a video in OpenCV. Since my camera is not fixed (must be mobile), the resulting video is very jittery due to vibrations and panning. As such, every frame that I try to look at has blurs that will make my detection…
P3d0r
  • 1,039
  • 3
  • 12
  • 20
2
votes
1 answer

Changing a C/++ OpenCV program to CUDA from video stabilization program

I am doing a C++ video stabilization/ anti-shaking program which: - Gets points of interest on the frame of reference (using FAST, SURF, Shi-Matoshi or SIFT, might try a few more) - Calculate the Lucas-Kanade Optical flow with calcOpticalFlowPyrLK -…
user1965728
  • 91
  • 2
  • 7
1
2 3