Is deconvolution possible for video in iOS?

I want to take off the dough while swinging in baseball, but the bat is blurry. The video is 30 frames per second.

In the course of my research, I found that deconvolution is apparently a way to minimize motion blur, but I have no idea if I can implement it while processing messages in iOS apps.

I was hoping that someone could point me in the right direction, for example, how to apply the deconvolution algorithm in iOS or what I might need ... or if possible. I guess this requires some processing power.

Any suggestions are generally welcome ...

Thanks, this is driving me crazy ...

+4
source share
1 answer

After a lot of research and negotiations with developers about deconvolusion on iOS (thanks to Brad Larson for taking the time to give me detailed information), I am sure that this is impossible and / or not worth the time. If the hardware can handle the calculations (without warranty), it will be EXTREMELY slow and consume most of the device’s battery. I was also told that it could take months to implement the algorithms ... if at all possible.

Here is the answer I received from Apple ...

Deconvolution algorithms are usually difficult to implement and can be very computationally intensive. I suggest you start with a simple sharpening technique. Depending on the size of the motion blur in your video, this may be enough.

Sharp filters, including CISharpenLuminance and CIUnsharpMask, are now available in iOS 6, so they are easy to check.

Link to the main image filter https://developer.apple.com/library/mac/#documentation/graphicsimaging/reference/CoreImageFilterReference/Reference/reference.html

Sample Core Image code from this year WWDC 511 "Basic Image Techniques." It was called "Attempt3." This example demonstrates best practices for applying CIFilter to live video shot with an iPhone / iPad camera. You can download the session video from the following page: https://developer.apple.com/videos/wwdc/2012/ .

Just wanted to convey this information.

+1
source

Source: https://habr.com/ru/post/1441891/


All Articles