georgmartius / vid.stab

Video stabilization library
http://public.hronopik.de/vid.stab/
Other
848 stars 109 forks source link

add average option for crop #50

Open bjuergens opened 6 years ago

bjuergens commented 6 years ago

current options for crop are keep and black. I want to add average

If background is visible a lot, then keep introduced lots of strange artefacts, and black distracts from the video. An example for a video, that has a lot of visible background, can be found here. Increasing the zoom, would remove a lot of information from the video.

I'd like to set the crop for to the average colour of the frame (or even the average colour of the entire video).

bjuergens commented 6 years ago

this issue should get the label "good first issue", since it's probably very straight-forward to implement.