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

Extended depth-of-field focus stacking based on fstack function by Said Pertuz https://se.mathworks.com/matlabcentral/fileexchange/55115-extended-depth-of-field Generate extended depth-of-field image from focus sequence using noise-robust selective all-in-focus algorithm [1]. More...

Functions

function imOut = fstack_mib (I, options)
 Extended depth-of-field focus stacking based on fstack function by Said Pertuz https://se.mathworks.com/matlabcentral/fileexchange/55115-extended-depth-of-field Generate extended depth-of-field image from focus sequence using noise-robust selective all-in-focus algorithm [1].
 
function [ u , s , A , Ymax ] = fstackmib>gauss3P (x, Y)
 
function FM = fstackmib>gfocus (im, WSize)
 

Detailed Description

Extended depth-of-field focus stacking based on fstack function by Said Pertuz https://se.mathworks.com/matlabcentral/fileexchange/55115-extended-depth-of-field Generate extended depth-of-field image from focus sequence using noise-robust selective all-in-focus algorithm [1].

Function Documentation

◆ fstack_mib()

function imOut = fstack_mib ( I,
options )

Extended depth-of-field focus stacking based on fstack function by Said Pertuz https://se.mathworks.com/matlabcentral/fileexchange/55115-extended-depth-of-field Generate extended depth-of-field image from focus sequence using noise-robust selective all-in-focus algorithm [1].

Parameters
I- a stack of images in format I(1:height, 1:width, 1:colors, 1:depth) options - an optional structure with parameters .nhsize - size of focus measure window (9). .focus - a 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.
.showWaitbar - show or not the waitbar
Return values
imOuta single plane image with an extended depth-of-field
Required fields of options:

References A(), and min.

Referenced by mibController.menuImageToolsProjection_Callback().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fstackmib>gauss3P()

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

References A(), and max.

Here is the call graph for this function:

◆ fstackmib>gfocus()

function FM = fstackmib>gfocus ( im,
WSize )