Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Say we have an image in which a human eye can distinctly see several "planes" of focus - a blurry background ("telelens"), the sharp(er) subject (a human, or an object), and again a blurry foreground (if any).

I would think that it is computationally possible and feasible to "separate" the subject from the rest of the image data. I.e. selecting the subject borders, by means of outputting a mask channel that can be imported into say Gimp (I don't use Windows, so unfortunately don't have Photoshop) as a selection.

I would review anything from a finished tool through a library (I am on Linux) down to links to articles and/or review papers that discuss means of realizing the algorithm I have outlined.

share|improve this question

Multifocus image fusion based on region selection - IEEE

The basic idea is to select sharply focused regions from source images

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .