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

T = th_maxlik(I,n) More...

Functions

function T = th_maxlik (I, n)
 T = th_maxlik(I,n)
 

Detailed Description

T = th_maxlik(I,n)

Function Documentation

◆ th_maxlik()

function T = th_maxlik ( I,
n )

T = th_maxlik(I,n)

Find a global threshold for a grayscale image using the maximum likelihood via expectation maximization method.

In
I grayscale image n maximum graylevel (defaults to 255)
Out
T threshold

References:

A. P. Dempster, N. M. Laird, and D. B. Rubin, "Maximum likelihood from incomplete data via the EM algorithm," Journal of the Royal Statistical Society, Series B, vol. 39, pp. 1-38, 1977.

C. A. Glasbey, "An analysis of histogram-based thresholding algorithms," CVGIP: Graphical Models and Image Processing, vol. 55, pp. 532-537, 1993.

% Copyright (C) 2004-2013 Antti Niemistö % % This file is part of HistThresh toolbox. % % HistThresh toolbox is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. % % HistThresh toolbox is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License % along with HistThresh toolbox. If not, see http://www.gnu.org/licenses/.

References A(), B(), C(), n, and th_minimum().

Referenced by mibHistThresController.continueBtn_Callback(), and mibHistThresController.previewBtn_Callback().

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