フィルターのクリア

How to quickly select an area of interest in a binarized image?

2 ビュー (過去 30 日間)
B Janssen
B Janssen 2016 年 6 月 14 日
移動済み: DGM 2023 年 1 月 5 日
Hi, If I have a binarized image showing a black surrounding area with a white area of interest, what would be the best strategy to select specifically the white area of interest only using one mouse click? Thanks!

採用された回答

Image Analyst
Image Analyst 2016 年 6 月 14 日
Use bwselect() in the Image Processing Toolbox.:
BW2 = bwselect(BW,n) displays the image BW on the screen and lets you select the (r,c) coordinates using the mouse. If you omit BW, bwselect operates on the image in the current axes. Use normal button clicks to add points. Press Backspace or Delete to remove the previously selected point. A shift-click, right-click, or double-click selects the final point; press Return to finish the selection without adding a point.
  1 件のコメント
B Janssen
B Janssen 2016 年 6 月 14 日
移動済み: DGM 2023 年 1 月 5 日
Hi Image Analyst, Thanks for your quick response; seems to be working great!

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by