how can I convert my image to a binary image?

1 ビュー (過去 30 日間)
jack nn
jack nn 2016 年 6 月 23 日
回答済み: Muhammad Usman Saleem 2016 年 6 月 23 日
hi all
I want to convert my image to a binary image. I search about thresholding. I plot my histogram of my image, it likes below:
this histogram has 3 peaks. which thresholding method is good for this image? I want to get a binary Image.
thanks

回答 (1 件)

Muhammad Usman Saleem
Muhammad Usman Saleem 2016 年 6 月 23 日
gray2binary('imagge);

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by