Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
simple matlab code for region growing segmentation
#1

simple matlab code for region growing segmentation

The basic idea behind region growing is quite simple. Start with a pixel, or a group of pixels, and examine the neighboring pixels. If a neighboring pixel meets a certain criteria, it is added to the group, and if it does not meet the criteria, it is not added. This process is continued until no more neighboring pixels can be added to the group. Thus, a region is defined.

The criteria depends on how you wish to segment the region. It can be a limit on the derivative between pixels, a change in color, or any other criteria you wish to differentiate between pixels.

Method One - Recursive Region Growing

The idea behind recursive region growing is as follows: start with a pixel, and examine the eight pixels bordering it. If a pixel meets the criteria for addition to the group, you recursively call the function on that pixel. This process continues until all possible pixels have been examined.

The problem with this recursive segmentation routine is processing power, because for a large region many, many pixels will be admissable to the region, and thus there will be many, many recursions before the recursion sequence will terminate. In fact, with our implementation of the recursive region growing routine, we had the problem that matlab would crash with a segmentation fault. The code of this routine is available here. Since this routine was only able to work on small regions in which the number of recursions was extremely limited, we have no useful images to show for this algorithm.

Method Two - Square Division In order to avoid the perils of mass recursion, we attempted to figure out a new routine. In this routine, the image is divided into rectangular regions. Each region starts as a single pixel, and it grows until a certain difference between the minimum and maximum is exceeded. After a rectangular region is defined, that area is set to a value corresponding to the mean of the pixels contained within.

Since this algorithm was able to run and segment an image in a reasonable amount of time, we have two results to show, one of the image "Buck" with the tolerance set to 10%, and another with the tolerance set to 5%.
Reply

#2
simple matlab code for region growing segmentation

ABSTRACT

Our research deals with a semi-automatic region-growing segmentation technique. This method only needs one seed
inside the region of interest (ROI). We applied it for spinal cord segmentation but it also shows results for parotid glands or even tumors. Moreover, it seems to be a general segmentation method as it could be applied in other computer vision domains then medical imaging.We use both the thresholding simplicity and the spatial information. The gray-scale and spatial distances from the seed to all the other pixels are computed. By normalizing and subtracting to 1 we obtain the probability for a pixel to belong to the same region as the seed. We will explain the algorithm and show some preliminary results which are encouraging.
Reply

#3
hello I am in master I have chosen as final project study, the segmentation of medical images, I found some difficulty in impelementation of some segmentation algorithm, especially regiongowing can you help me, I want a segmentation program using the algorithm regiongrowing in matlab Thank you in advance for your reply.
Reply

#4
hi
fist of all, I'm so thankful for sharing matlab code. I want to segment a particular shape of image by region growing methode. I search it in the help of matlab ,but I can't adjust it to my picture . would u mind giving this code?
best regards
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.