Extract not blurry images from video I need a tool or code for extract not blurry images from video (it can be used for panorama or SFM building from video)

something like
http://research.microsoft.com/en-us/um/redmond/groups/ivm/sharppanoramas/
(It is worth noting that software for building panorama from video is already exist, but I don't know why they don't use it for SFM)

I want to get images from video and put them to vsfm

For example virtualdub gives blurry images when I try to convert video to images.
One straightforward approach is to do blur detection (see here and here) and prune the frames that are detected.