Double Thresholding
6 次查看(过去 30 天)
显示 更早的评论
HI, Can someone show me an example how to apply double thresholding method, were you get to choose T1 and T2 values... ?
1 个评论
Sean de Wolski
2012-5-9
Show us an example of what you want. You may just answer your own question trying to explain it in type.
采纳的回答
Walter Roberson
2012-5-9
There are multiple meanings of "thresholding" that might be appropriate.
One meaning:
NewImage = YourImage >= T1 & YourImage <= T2;
Another:
NewImage = YourImage .* (YourImage >= T1 & YourImage <= T2);
3 个评论
Walter Roberson
2012-5-9
NewImage = uint8(YourImage >= T1 & YourImage <= T2);
However you may wish to consider instead
NewImage = uint8(255 * (YourImage >= T1 & YourImage <= T2));
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!