Finding threshold value with Otsu Method

I'm trying to do laser tracking. First of all, I detect laser points on the image. However, I could not find the threshold. I have to write with the "Otsu" method, not the ready-made threshold method. Help please

1 件のコメント

Francesco Pignatelli
Francesco Pignatelli 2022 年 7 月 26 日
level = graythresh(yourimage)

サインインしてコメントする。

回答 (1 件)

Sean de Wolski
Sean de Wolski 2021 年 4 月 5 日

0 投票

doc graythresh

5 件のコメント

RABIA OZKAN
RABIA OZKAN 2021 年 4 月 5 日
編集済み: RABIA OZKAN 2021 年 4 月 5 日
I can't use this prepared threshold function.
Sean de Wolski
Sean de Wolski 2021 年 4 月 5 日
You could use multithresh instead.
RABIA OZKAN
RABIA OZKAN 2021 年 4 月 5 日
No... I mean, I have to do it without using the preset threshold function. Thanks.
Amine MEKKI
Amine MEKKI 2022 年 2 月 9 日
hey did u find how to do it without thr threshold function
DGM
DGM 2022 年 2 月 9 日
If you can't use existing tools, you'll have to explain why. If you can't use tools that someone else wrote, why would you be able to use anything that the forum would give you?

サインインしてコメントする。

タグ

質問済み:

2021 年 4 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by