blur-detection
blur-detection copied to clipboard
Autofocus usage?
I wonder if this code can be used for determining focus? I work in KStars and currently we use Half-Flux-Radius method of a star centeroid to measure and adjust focusing of astronomical images, but was researching the feasibility of wavelet based methods.
It could certainly serve as a basis, but I'll offer the following caveats: this code is rather old, could use a much better test suite, and is almost unmaintained. The wavelet code is, as I recall, fairly naïve, and could easily be written in a more parallelization-friendly way. All this code was written with static images in mind, so most of the methods probably aren't easily converted into online or incremental approaches.
Still, if you have some ideas of how you'd like to see this codebase evolve, I'd like to hear them, as I may get the time to work on this again someday. When in doubt, feel free to fork.