Reply by smart January 20, 20072007-01-20
Do you have any pictures or video online?

Clay wrote:
> eziggurat@gmail.com wrote: > > Hi, > > > > I am looking for an algorithm that is use to separate a focused object > > from an image/video. I was thinking about edge detection algorithm but > > if the image/video contains a lot of information, I am not very sure if > > the edge detection will be able to separate the focused object. > > > > > > Any ideas? > > > > Regards > > Ziggy > > Hello Ziggy, > > Do you have any ancillary info from the camera, such as the type of > focus mode it was in and where the focus selector was set. Basically > some autofocus systems look at multiple areas in the scene and if you > know which one it is using, this is where you start looking. Also some > cameras use may be set to focus on the nearest object covered by a > group of focus sensors. > > Barring all of that kind of info, you can come up with a type of > highpass filter and convolve it all around the image and the item with > the most high spatial frequency details is likely (not always!!!!) to > be the thing in focus. Remember no autofocus system works in all cases, > so you will have to expect your algo will sometimes fail. > > IHTH, > > Clay
Reply by Clay January 19, 20072007-01-19
eziggurat@gmail.com wrote:
> Hi, > > I am looking for an algorithm that is use to separate a focused object > from an image/video. I was thinking about edge detection algorithm but > if the image/video contains a lot of information, I am not very sure if > the edge detection will be able to separate the focused object. > > > Any ideas? > > Regards > Ziggy
Hello Ziggy, Do you have any ancillary info from the camera, such as the type of focus mode it was in and where the focus selector was set. Basically some autofocus systems look at multiple areas in the scene and if you know which one it is using, this is where you start looking. Also some cameras use may be set to focus on the nearest object covered by a group of focus sensors. Barring all of that kind of info, you can come up with a type of highpass filter and convolve it all around the image and the item with the most high spatial frequency details is likely (not always!!!!) to be the thing in focus. Remember no autofocus system works in all cases, so you will have to expect your algo will sometimes fail. IHTH, Clay
Reply by January 19, 20072007-01-19
Hi,

I am looking for an algorithm that is use to separate a focused object
from an image/video. I was thinking about edge detection algorithm but
if the image/video contains a lot of information, I am not very sure if
the edge detection will be able to separate the focused object.


Any ideas?

Regards
Ziggy