[WONTFIX] Video Auto focus?

Started by xNiNELiVES, May 27, 2013, 05:47:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xNiNELiVES

I know this has to be possible but can you guys implement a continuous auto focus system for video?  It will make DSLRs with the new RAW video hack great cinema cameras!

xNiNELiVES

Out of curiosity A1ex why won't you try fixing?

a1ex

I've tried for one year or so and gave up. Too hard to get decent results.

1%


xNiNELiVES

Quote from: a1ex on May 27, 2013, 08:57:01 PM
I've tried for one year or so and gave up. Too hard to get decent results.

Ok

sephiroth

Alex and 100%,

This is my first post, though im hoping to get more involved from now.

I have a lot of programming on embedded devices experience behind me, image processing and analysis and porting to various products including cell phones and cameras (worked R&D on stuff like image stabilization, face recognition etc). Although i know little about the 7d architecture as of now im learning quickly and since im a 7d owner since 4 years I'm like most other very interested in a continuous focus feature. Since I know that ML dev team have tried and now consider this impossible, more so I dont want to labelled a troll from my first post, i will try to ask more out of curiosity rather than a pure "feature request" approach. Could you try to be more precise in what was causing you to give up implementing this, the way I picture this would work would be to ignore the physical auto focus feature and go more for an algorithm that detects if an area is in focus (this is possible) and then tries to maintain this area being in focus by using the already existing ML follow focus feature. I understand this part is a bit slow, physically, so there will be limitations to all this and definitely no close ups of course, but the type of shots when you follow focus on someone walking in a distance could perhaps work. If you could let me know what made you quit the development, and why my approach would be unfeasible then that would be awesome.

Again, thank you very much for making ML possible. I had faith in you when everyone said 7D raw is impossible because of the unique architecture and decided to wait half a year before putting it on ebay. That paid off dearly to say the least.

Cheers, 



Audionut

Quote from: sephiroth on September 08, 2013, 06:34:07 AM
and definitely no close ups of course, but the type of shots when you follow focus on someone walking in a distance could perhaps work.

It needs to work more often then not.  Else you end up with a heap of false bug reports.

sephiroth

Let's just put some good comments in the help section for this feature. And ignore people who cant read that.
Even if its not applicable to all type of scenes it would still be a MAJOR help for a lot of people.

nanomad

The biggest issue is controlling the AF motor from ML. The current method won't cut it unfortunately....
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

sephiroth

Thanks for reply.

What are the limitations of controlling the AF motor from ML?
Is the Bracket focus function based on the same limitations?

Since focus peaking works and bracketing works, seem like we could have a very basic (although slow) continuous AF by just using this?

nanomad

Yes. Focus bracketing and follow focus use the same method. And I wouldn't say it is good enough for movie af
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

a1ex

Quote from: sephiroth on September 10, 2013, 11:48:12 AM
Since focus peaking works

Can you tell in which direction you should focus, from focus peaking data? How? (math please, not speculation)

1%

There is or was a working implementation on 600D. It did not perform all that well.. come to think of it servo EF on EOSM doesn't perform that well either, it acts in a similar fashion just isn't so quick to change focus.

a1ex

On those cameras with pink dots (650D, M) you can try to understand the meaning of those dots; they may tell you in which direction you need to focus. Once you know that, the hardest part is solved.

sephiroth

Quote from: a1ex on September 10, 2013, 05:54:40 PM
Can you tell in which direction you should focus, from focus peaking data? How? (math please, not speculation)

There are of course no pure analytical ways to know which direction to focus, since the "blur kernel' for a given pixel is the same for both directions.
However, it would make sense to use linear quadratic estimation (a kalman filter) , or a more simple feedback system.
If this system would be stable or not in the end depends on many variables like physical constraints such as min/max focus step size, focusing speed, and much more, but since the potential payoff is great it might be worth a shot. This system would only work for tracking focus of a subject that is not changing too much frame to frame, but a walking person etc could perhaps work.
What do you guys think?