- Binarize whole image such that the Region of Interest (the central part) is white (1's) and fill holes.
- So you will have a mask for the ROI, Now just crop the binarized image (without holes filled) using the mask
How to not consider the image background in binarization of a circular image?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all,
I have a circular CT scan image of a concrete sample. I want to only consider the image in the binarization process and either omit the background or somehow do not consider it in the binary image. I have used many codes, but still, the background pixels count in the binary image. I would really appreciate your help.
0 件のコメント
回答 (1 件)
Parth Dethaliya
2020 年 11 月 12 日
You can try this:
I hope you may get the desired output, even these steps can be automized or performed in general if you have long dataset.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Segmentation and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!