how can i crop an image?

1 回表示 (過去 30 日間)
Usama Javed
Usama Javed 2012 年 4 月 12 日
I am applying gabor filter to lungs CT scan. it returns me a binary image. now i want to crop lungs from that image.

回答 (1 件)

Image Analyst
Image Analyst 2012 年 4 月 12 日
Have you looked at the imcrop() function in the Image Processing Toolbox? Using the any() function you can easily find the bounding box of the binary blobs, if that's where you want to crop it.

カテゴリ

Help Center および File ExchangeDICOM Format についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by