finding the exact thrreshold for im2bw
古いコメントを表示
Hello to everyone, i'm trying to convert an image to logical,so i have to find a threshold for im2bw, but i don't know which is the right algorithm to do this?
回答 (3 件)
Walter Roberson
2011 年 5 月 31 日
1 投票
There is no one algorithm: it depends on what you are interested in examining.
1 件のコメント
Mary Kodogianni
2011 年 7 月 14 日
移動済み: Rena Berman
2023 年 12 月 29 日
Image Analyst
2011 年 7 月 14 日
0 投票
You might be interested in a visual/interactive GUI to allow you to pick a threshold: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Sean de Wolski
2011 年 7 月 14 日
It is calculated from the range of the class(im)
range = getrangefromclass(A);
BWp = (A > range(2) *level);
Is the engine: So for example:
range = getrangefromclass(uint8(magic(3)));
level = 0.75;
range(2) *level
ans =
191.25
>>
カテゴリ
ヘルプ センター および File Exchange で Image Category Classification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!