how can i crop an image?

I am applying gabor filter to lungs CT scan. it returns me a binary image. now i want to crop lungs from that image.

Respuestas (1)

Image Analyst
Image Analyst el 12 de Abr. de 2012

0 votos

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.

Categorías

Más información sobre DICOM Format en Centro de ayuda y File Exchange.

Preguntada:

el 12 de Abr. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by