|
|
|
|
|
by wtmcc
4435 days ago
|
|
No, because “blurriness” (low local contrast) may indicate something besides a particular depth. Consider, for instance, a head-on photograph of a print of a shallow-focused photo. The region that print embodies will have plenty of variation in contrast, but exist at a single depth. Also, consider that blurring increases in both in front of and behind the center of focus; how could we tell which depth the blurring indicated? Something similar to what you suggest is, however, done in software autofocus, which can take repeated samples at different focal distances to clear things up. Maybe that’s something to think about, e.g. for a static subject. http://en.wikipedia.org/wiki/Autofocus#Contrast_detection |
|
Would heuristics work well? I can think of a handful, but none really good.