what is 2D otsu algorithm and how to implement it
Mostrar comentarios más antiguos
I'm a little confusing about what does 2D-Otsu mean? and how to implement it? I didn't find enough information about it in the site. and I hope anyone can help me
Respuesta aceptada
Más respuestas (2)
William Frane
el 20 de Ag. de 2014
Editada: William Frane
el 20 de Ag. de 2014
0 votos
Otsu's method (as it's more commonly known) is an image thresholding method used to convert a grayscale image to a binary one. MATLAB's graythresh() function (see this page) is an implementation of Otsu's method. If you're curious about the actual algorithm, it's described in the appropriate Wikipedia article.
Also, just a side note: the MATLAB documentation page for graythresh() that I linked to above was the first result for a Google search of the string matlab otsu algorithm, so don't hesitate to check Google for queries such as this; there's often useful information already available.
1 comentario
Lars Abrahamsson
el 9 de En. de 2021
But the question was about 2-dimensional Otsu. That is not included in Matlab and has to be written manually, I think.
Meshooo
el 21 de Ag. de 2014
Editada: Walter Roberson
el 9 de En. de 2021
0 votos
Otsu method is a well-known thresholding method. In other words, it can find the threshold value to convert your image to two levels (bilevels) 0 and 1.
This work was published lone time ago in 1979.
[1] Otsu, N., "A Threshold Selection Method from Gray-Level Histograms," IEEE Transactions on Systems, Man, and Cybernetics, Vol. 9, No. 1, 1979, pp. 62-66.
Categorías
Más información sobre Image Thresholding en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!