Is there any way to make a clear or close border of region of interest in medical ultrasound images by using Matlab ?

In particular, I am working with 2D medical ultrasound images . The problem with some kinds of images is, there is no clear or close border. that will make a problem when I wanna segment the ROI by using for example Active contours method .is there any solution that will make a clear and close border before doing segmentation. Many Thanks.

Answers (3)

Use imclearborder(). Post your image is you want any help.

2 Comments

hey .this is one example on the data which I have it .there is no close border .Many Thanks .
Pad the image with 0 all around to provide an artificial border.

Sign in to comment.

I don't know what you want to make a border around in that image. I suggest you look at the image processing literature for ultrasound segmentation papers: http://www.visionbib.com/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%20MRI,%20Ultrasound,%20Heart%20Models,%20Brain%20Models
If you want to use activecontour(), see my attached demo.
thanks for your reply
.the purpose of close border is to work with segmentation stage .if u see the attached image ,I closed the border by the white colour just to give you an idea what I want exactly .because the most important part in may work is detecting the ROI . I have some images with clear and close border ,I did not get any problem with the segmentation stage but others as I mentioned there is no border so that will effect on the segmentation stage. many thanks .

1 Comment

I didn't know if you mean close, like "nearby" or if you mean close like "to seal off". To close/seal the hole/bay you can use bwconvhull() on the binary image. If you want to draw a line in the gray scale image with the perimeter, you can use bwconvhull, and then bwperim, and burn the perimeter into the image
binaryImage = bwconvhull(binaryImage, 'union');
perimeterImage = bwperim(binaryImage) > 0;
grayImage(perimeterImage) = 255;

Sign in to comment.

Categories

Find more on Ultrasound Imaging in Help Center and File Exchange

Asked:

on 10 Oct 2015

Commented:

on 11 Oct 2015

Community Treasure Hunt

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

Start Hunting!