what is the different between otsu method, multithreshold method, graythreshold method
古いコメントを表示
Hi all,
May i know, what is the different between otsu method, multithreshold method, and graythreshold method? is it all the same?
回答 (1 件)
Abhishek
2025 年 3 月 12 日
0 投票
Hi mohd akmal,
In MATLAB, the functions “otsuthresh”, “graythresh”, and “multithresh” are used for image thresholding. All these functions employ the Otsu’s method internally to determine optimal threshold values. The differences between them are as follows:
otsuthresh
- The input to the function is a histogram of image intensities.
- The output is a normalized threshold value between 0 and 1.
graythresh
- The input to the function is a grayscale image. Internally, it first computes the histogram and then applies Otsu’s method.
- The output is a normalized threshold value between 0 and 1.
multithresh
- The input to the function is a grayscale image and the number of thresholds desired.
- The output is an array of threshold values.
While “otsuthresh” and “graythresh” are useful for segmenting an image into two regions, typically foreground and background, “multithresh” is used to segment an image into multiple regions.
To know more about each of these functions, refer to the MATLAB documentation listed below:
- otsuthresh: https://www.mathworks.com/help/releases/r2024b/images/ref/otsuthresh.html
- graythresh: https://www.mathworks.com/help/releases/r2024b/images/ref/graythresh.html
- multithresh: https://www.mathworks.com/help/releases/r2024b/images/ref/multithresh.html
I hope the explanation addresses your question!
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!