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 CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by