how can i crop an image?

1 visualizzazione (ultimi 30 giorni)
Usama Javed
Usama Javed il 12 Apr 2012
I am applying gabor filter to lungs CT scan. it returns me a binary image. now i want to crop lungs from that image.

Risposte (1)

Image Analyst
Image Analyst il 12 Apr 2012
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.

Categorie

Scopri di più su DICOM Format in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by