3 pictures with strong foreground and weaker background:
Ok, let's not criticize them just yet
in words what you want to do:
What I was trying to do is to find
out a way to figure out where the object is in the first place. When I
take pictures I try to simplify the subject and make everything that is
in the picture but irrelevant to the idea somehow unimportant and less
visible. So, blurring it out sounds good (yes, one indeed can trick that
camera that we have into doing a lot of things it is not design to do :-)
). Now if I take the picture this way I can select everything that is in
focus (well, to a certain extent) and try to do something to amplify the
background. FFT from PS1 should come in handy. So, I will take a few images
which are focused on different things in the same scene and select what
I want to focus on with the mouse. Then I will display the image from the
set, which has the greates power in its high frequency components in that
area. So, it is like autofocus.
Another thing that I wanted to
do was to reassemble the image out of this stack which is the most focused
at every point.
And the third thing is to try to simulate
the hand coloring thing. That is, having that resynthesized image I would
only keep the original color for everything that is in focus in the image
in the stack which has the most focused part where the mouse is clicked.
Sounds confusing, but it is really pretty simple.
Turns out that the camera
focuses on different things simultaneously shifting the efective focal
length a bit. It is not really a problem for simple re-focusing, but when
you try to reassemble the image, focused patches don't look right together.
Oops. Although doing it on a bland background works ok (try typing
StarTrek in that text box on top and see how that works).