I made a mistake with my newly bought compact camera, before a trip to Japan. Instead of taking single pictures, I ended up with a few short "MP4" video files (1 second, 2-3 frames). I could "easily enough" extract individual frames with ffmpeg, using help from:

I am unsatisfied with the quality of some frames, and as there is very little motion, I would like to restore or recreate a superresolution image from those two-three frames only, using the motion vector.

I would appreciate suggestions, software experience, etc. For readers interested in trying algorithms, I provided in the 22 MB file StackExchange-AVI2JPG.zip two examples with media information (obtained with MediaInfo) and camera reference (to avoid unwanted advertizing). One leaving Osaka, with a relatively nicely flat image:

Leaving Osaka in the bus

the other from Nara, Todai-Ji:

Nara, Todai-Ji

where the wire fence is sharper, hence the individual frame quality is poorer. I enjoyed my trip, and would be glad to share crisper images of the first day (a view on the Fuji in the early for the finest eyes).

  • 1
    $\begingroup$ Have you seen stackoverflow.com/q/10225403/4386900 ? $\endgroup$
    – MBaz
    Commented Mar 12, 2019 at 16:12
  • $\begingroup$ None, thanks for the hint. I'm going to check and add it $\endgroup$ Commented Mar 12, 2019 at 16:40
  • 1
    $\begingroup$ Does the camera have Video Stabilization feature? Is it digital or mechanical? Does it have any information about the motion sensors? $\endgroup$
    – Royi
    Commented Jun 28, 2020 at 18:00
  • 1
    $\begingroup$ @LaurentDuval, Probably better extract frames as a PNG (Or just arrays if using MATLAB for example) and then try Multiple Image Super Resolution. $\endgroup$
    – Royi
    Commented Oct 17, 2020 at 8:23
  • 3
    $\begingroup$ @LaurentDuval What did you end up doing? Anything or just squint? $\endgroup$ Commented Mar 29, 2022 at 1:44


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.