A generative focus measure with application to omnifocus imaging

Avinash Kumar, Narendra Ahuja

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Given a stack of registered images acquired using a range of focus settings (focal stack images), we propose a new focus measure to identify the most focused image. Although, most of the paper is concerned with the new focus measure, for evaluation purposes, we will present it in the context of an application to generating omnifocus images. An omnifocus image is the composite image in which each pixel is selected form the frame in the stack in which it appears to be in best focus. Conventional focus measures usually maximize some measure of image gradient in a window. They tend to fail when one of the edges of the window lies near the boundary of an intensity edge, or the pixel is near other complex edge patterns. This leads to the misidentification of the focused frame and formation of artifacts in omnifocused image. Our proposed measure does not attempt to identify the focused frame by calculating the degree of defocus, like the gradient based methods. Rather, it hypothesizes that a specific frame is in focus and then validates or rejects this hypothesis by recreating the defocused frames in the vicinity, and comparing them with the observed de-focused frames. This forward generative process leads to correct focus frame selection in regions where typical measures fail. This is because the conventional measures try to identify the focused frame from its distorted version which is the result of a complex convolution process. This involves a backward estimation for a many-to-one transformation. On the other hand, the generation of defocused frames from a hypothesized focused frame is more accurate since it involves applying an operator in the forward direction. We analytically show that under ideal imaging conditions, the proposed focus measure is unimodal in nature. This makes the search for the best focused image unambiguous. We evaluate our focus measure by generating omnifocus images from real focal stack images, and show that it performs better than all the existing focus measures.

Original languageEnglish (US)
Title of host publication2013 IEEE International Conference on Computational Photography, ICCP 2013
DOIs
StatePublished - Aug 8 2013
Event2013 5th IEEE International Conference on Computational Photography, ICCP 2013 - Cambridge, MA, United States
Duration: Apr 19 2013Apr 21 2013

Publication series

Name2013 IEEE International Conference on Computational Photography, ICCP 2013

Other

Other2013 5th IEEE International Conference on Computational Photography, ICCP 2013
CountryUnited States
CityCambridge, MA
Period4/19/134/21/13

Fingerprint

Imaging techniques
Pixels
Convolution
Composite materials

ASJC Scopus subject areas

  • Computer Science (miscellaneous)
  • Computer Vision and Pattern Recognition

Cite this

Kumar, A., & Ahuja, N. (2013). A generative focus measure with application to omnifocus imaging. In 2013 IEEE International Conference on Computational Photography, ICCP 2013 [6528295] (2013 IEEE International Conference on Computational Photography, ICCP 2013). https://doi.org/10.1109/ICCPhot.2013.6528295

A generative focus measure with application to omnifocus imaging. / Kumar, Avinash; Ahuja, Narendra.

2013 IEEE International Conference on Computational Photography, ICCP 2013. 2013. 6528295 (2013 IEEE International Conference on Computational Photography, ICCP 2013).

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Kumar, A & Ahuja, N 2013, A generative focus measure with application to omnifocus imaging. in 2013 IEEE International Conference on Computational Photography, ICCP 2013., 6528295, 2013 IEEE International Conference on Computational Photography, ICCP 2013, 2013 5th IEEE International Conference on Computational Photography, ICCP 2013, Cambridge, MA, United States, 4/19/13. https://doi.org/10.1109/ICCPhot.2013.6528295
Kumar A, Ahuja N. A generative focus measure with application to omnifocus imaging. In 2013 IEEE International Conference on Computational Photography, ICCP 2013. 2013. 6528295. (2013 IEEE International Conference on Computational Photography, ICCP 2013). https://doi.org/10.1109/ICCPhot.2013.6528295
Kumar, Avinash ; Ahuja, Narendra. / A generative focus measure with application to omnifocus imaging. 2013 IEEE International Conference on Computational Photography, ICCP 2013. 2013. (2013 IEEE International Conference on Computational Photography, ICCP 2013).
@inproceedings{3bb184acf1304db495060c5292b29a85,
title = "A generative focus measure with application to omnifocus imaging",
abstract = "Given a stack of registered images acquired using a range of focus settings (focal stack images), we propose a new focus measure to identify the most focused image. Although, most of the paper is concerned with the new focus measure, for evaluation purposes, we will present it in the context of an application to generating omnifocus images. An omnifocus image is the composite image in which each pixel is selected form the frame in the stack in which it appears to be in best focus. Conventional focus measures usually maximize some measure of image gradient in a window. They tend to fail when one of the edges of the window lies near the boundary of an intensity edge, or the pixel is near other complex edge patterns. This leads to the misidentification of the focused frame and formation of artifacts in omnifocused image. Our proposed measure does not attempt to identify the focused frame by calculating the degree of defocus, like the gradient based methods. Rather, it hypothesizes that a specific frame is in focus and then validates or rejects this hypothesis by recreating the defocused frames in the vicinity, and comparing them with the observed de-focused frames. This forward generative process leads to correct focus frame selection in regions where typical measures fail. This is because the conventional measures try to identify the focused frame from its distorted version which is the result of a complex convolution process. This involves a backward estimation for a many-to-one transformation. On the other hand, the generation of defocused frames from a hypothesized focused frame is more accurate since it involves applying an operator in the forward direction. We analytically show that under ideal imaging conditions, the proposed focus measure is unimodal in nature. This makes the search for the best focused image unambiguous. We evaluate our focus measure by generating omnifocus images from real focal stack images, and show that it performs better than all the existing focus measures.",
author = "Avinash Kumar and Narendra Ahuja",
year = "2013",
month = "8",
day = "8",
doi = "10.1109/ICCPhot.2013.6528295",
language = "English (US)",
isbn = "9781467364645",
series = "2013 IEEE International Conference on Computational Photography, ICCP 2013",
booktitle = "2013 IEEE International Conference on Computational Photography, ICCP 2013",

}

TY - GEN

T1 - A generative focus measure with application to omnifocus imaging

AU - Kumar, Avinash

AU - Ahuja, Narendra

PY - 2013/8/8

Y1 - 2013/8/8

N2 - Given a stack of registered images acquired using a range of focus settings (focal stack images), we propose a new focus measure to identify the most focused image. Although, most of the paper is concerned with the new focus measure, for evaluation purposes, we will present it in the context of an application to generating omnifocus images. An omnifocus image is the composite image in which each pixel is selected form the frame in the stack in which it appears to be in best focus. Conventional focus measures usually maximize some measure of image gradient in a window. They tend to fail when one of the edges of the window lies near the boundary of an intensity edge, or the pixel is near other complex edge patterns. This leads to the misidentification of the focused frame and formation of artifacts in omnifocused image. Our proposed measure does not attempt to identify the focused frame by calculating the degree of defocus, like the gradient based methods. Rather, it hypothesizes that a specific frame is in focus and then validates or rejects this hypothesis by recreating the defocused frames in the vicinity, and comparing them with the observed de-focused frames. This forward generative process leads to correct focus frame selection in regions where typical measures fail. This is because the conventional measures try to identify the focused frame from its distorted version which is the result of a complex convolution process. This involves a backward estimation for a many-to-one transformation. On the other hand, the generation of defocused frames from a hypothesized focused frame is more accurate since it involves applying an operator in the forward direction. We analytically show that under ideal imaging conditions, the proposed focus measure is unimodal in nature. This makes the search for the best focused image unambiguous. We evaluate our focus measure by generating omnifocus images from real focal stack images, and show that it performs better than all the existing focus measures.

AB - Given a stack of registered images acquired using a range of focus settings (focal stack images), we propose a new focus measure to identify the most focused image. Although, most of the paper is concerned with the new focus measure, for evaluation purposes, we will present it in the context of an application to generating omnifocus images. An omnifocus image is the composite image in which each pixel is selected form the frame in the stack in which it appears to be in best focus. Conventional focus measures usually maximize some measure of image gradient in a window. They tend to fail when one of the edges of the window lies near the boundary of an intensity edge, or the pixel is near other complex edge patterns. This leads to the misidentification of the focused frame and formation of artifacts in omnifocused image. Our proposed measure does not attempt to identify the focused frame by calculating the degree of defocus, like the gradient based methods. Rather, it hypothesizes that a specific frame is in focus and then validates or rejects this hypothesis by recreating the defocused frames in the vicinity, and comparing them with the observed de-focused frames. This forward generative process leads to correct focus frame selection in regions where typical measures fail. This is because the conventional measures try to identify the focused frame from its distorted version which is the result of a complex convolution process. This involves a backward estimation for a many-to-one transformation. On the other hand, the generation of defocused frames from a hypothesized focused frame is more accurate since it involves applying an operator in the forward direction. We analytically show that under ideal imaging conditions, the proposed focus measure is unimodal in nature. This makes the search for the best focused image unambiguous. We evaluate our focus measure by generating omnifocus images from real focal stack images, and show that it performs better than all the existing focus measures.

UR - http://www.scopus.com/inward/record.url?scp=84881032080&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=84881032080&partnerID=8YFLogxK

U2 - 10.1109/ICCPhot.2013.6528295

DO - 10.1109/ICCPhot.2013.6528295

M3 - Conference contribution

AN - SCOPUS:84881032080

SN - 9781467364645

T3 - 2013 IEEE International Conference on Computational Photography, ICCP 2013

BT - 2013 IEEE International Conference on Computational Photography, ICCP 2013

ER -