-
Notifications
You must be signed in to change notification settings - Fork 110
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
feature request: crop=cut without zoom #78
Comments
I understand, Hope that was not too cryptic. |
There is no offset for global cropping. You would crop around the center. The gray areas are very weird. One problem is typically the pixel format: YUV has different resolution for color and greyscale. Neverthess this should only result in 1 pixel gray values or so. This gray border is not in the original image already? The global_motions.trf contains the following information: |
Of course, I could have thought that myself.
No, the original images only have those brownish colors.
Finally I succeeded! Thank you! |
First, much thanks for libvidstab! It does an impressive work.
I currently try to use it for aligning an image stack of microscopic captures.
So far the results look promising, I am still fiddling with the options to get the best possible results.
However, I have one problem: I need to cut off the black edges without any tricks of zooming or mirroring or copying from other frames.
I must not use zoom because it would tamper microscopic measurement.
I do not want to use parts of other frames because it would tamper the real image.
I tried with
crop=black
. An overlay of all images shows all black borders:I tried to automatically remove all black borders with color code
#000000
, but a bit is left as you can see in the red rectangle. This little rest is not entirely black.Feature request: I would like a
crop=cut
option that results in smaller frames without black edges.Alternatively, if I can somehow extract the crop coordinates from
transforms.trf
and you can give me a hint where to find them, I could do the crop myself.Edit: I just found
global_motions.trf
that somehow might tell me what I need. But I have no idea how to interpret the floating values.The text was updated successfully, but these errors were encountered: