Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
fstack.m File Reference

Focus stacking. More...

Functions

function im = fstack (imlist, varargin)
 Focus stacking.
 
function [ u , s , A , Ymax ] = fstack>gauss3P (x, Y)
 
function FM = fstack>gfocus (im, WSize)
 
function options = fstack>parseInputs (imlist, varargin)
 

Detailed Description

Focus stacking.

Function Documentation

◆ fstack()

function im = fstack ( imlist,
varargin )

Focus stacking.

SINTAX
im = fstack(imlist) im = fstack(imlist, opt1, val1, opt2, val2,...)
DESCRIPTION
Generate extended depth-of-field image from focus sequence using noise-robust selective all-in-focus algorithm [1]. Input images may be grayscale or color. For color images, the algorithm is applied to each color plane independently
OUTPUTS
im, is a MxN matrix with the all-in-focus (AIF) image.
INPUTS
images, is a cell array where each cell is a string with the path of an image.

Options and their values (default in perenthesis) may be any of

the following
nhsize, Size of focus measure window (9). focus, Vector with the focus of each frame. alpha, A scalar in (0,1]. Default is 0.2. See [1] for details. sth, A scalar. Default is 13. See [1] for details.
For further details, see
[1] Pertuz et. al. "Generation of all-in-focus images by noise-robust selective fusion of limited depth-of-field images" IEEE Trans. Image Process, 22(3):1242 - 1251, 2013.

S. Pertuz Jan/2016

References A(), M, min, and N.

Here is the call graph for this function:

◆ fstack>gauss3P()

function [ u , s , A , Ymax ] = fstack>gauss3P ( x,
Y )

References A(), M, max, and N.

Here is the call graph for this function:

◆ fstack>gfocus()

function FM = fstack>gfocus ( im,
WSize )

◆ fstack>parseInputs()

function options = fstack>parseInputs ( imlist,
varargin )

References M, and N.