-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to achieve an entirely static result? #80
Comments
I'm having a similar issue. I captured slightly over a thousand images at regular intervals (mounted on a real tripod), and I'm trying to make a timelapse video from the still images. I had to change the batteries of my camera halfway through, so the photos taken after the battery change were facing a slightly different direction from the ones before the battery change. To correct for this, I'm trying to use vidstab to align the first set of images to the second. Like @mviereck, I tried the vidstab's tripod mode, which didn't seem to fix anything. I used these commands:
I looked into the source code, which led me to the I would guess that |
I see, this looks like a bug. The tripod mode was not too well tested. I will have a look. |
I have a (boring) stop motion film with tin cans for school. Feel free to use it to test your changes to the functionality of the tripod method. Here is a link to the first set of raw pictures: https://drive.google.com/file/d/1cu8JWBdSJm2bRpoAYJyzcmKznSWXeuBI/view Some things to note:
I hope that this proves to be a good test for debugging your changes to vid.stab. Best of luck, |
As said in #78, I use vidstab to align images for focus stacking.
For this desire a series of captures of the same motive with slightly different focus is fused together to one overall sharp image.
For this goal the images must be aligned as good as possible.
In terms of vidstab, the video result should be a static camera showing no motive movement at all.
Currently I get pretty good results running vidstab three times with different
shakiness
values. On first iteration I useshakiness=10
, thanshakiness=5
, finallyshakiness=1
.Other parameters in use:
vidstabdetect:
accuracy=15:mincontrast=0.1:stepsize=6
vidstabtransform:
optzoom=0:smoothing=0
I also tried setups with
tripod
, but I get terribly shaken results. Maybe a bug, maybe I misunderstood something.I want to ask you for the best possible parameter setup to achieve an entirely static result.
As been said, running vidstab three times with different
shakiness
gives pretty good results. But maybe it is possible to achive a static result with one iteration only?To show an example:
A single capture out of 46 captures overall. Only parts of the image are in focus:
Final image caculated from 46 captures, aligned with
vidstab
, further image processing withimagemagick
andenfuse
:The text was updated successfully, but these errors were encountered: