simple matlab code for region growing segmentation
#1

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
#2

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

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: region growing segmentation algorithm java code, region growing matlab code source code, matlab code for region growing method for blood vessel, region growing matlab code for identifying clouds, region growing method opencv, automatic region growing method using gsm, region growing code in matlab,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  how to calculate distance in heed protocol by using matlab 1 1,887 15-06-2018, 03:54 PM
Last Post: Guest
  matlab code for incremental conductance mppt 1 1,426 02-05-2018, 02:28 PM
Last Post: eksi
  anomaly detection code in matlab 3 2,094 23-04-2018, 12:04 AM
Last Post: Guest
  matlab code for liver tumor segmentation 2 1,585 01-04-2018, 06:29 PM
Last Post: [email protected]
  matlab code for vehicle tracking using unscented kalman filter 3 16,866 26-03-2018, 08:57 PM
Last Post: fodayj
  matlab code for facial expression recognition using frequency domain 1 2,683 19-02-2018, 06:03 PM
Last Post: Guest
  matlab code shadow detection and removal in colour images using matlab 2 2,262 12-01-2018, 01:24 PM
Last Post: dhanabhagya
  simulink matlab model upqc mdl 3 6,777 18-12-2017, 09:08 AM
Last Post: jaseela123d
  matlab code for speed breaker detection 1 1,295 27-10-2017, 10:22 AM
Last Post: Guest
  skin cancer detection using neural networks matlab code 13 3,894 23-10-2017, 02:52 PM
Last Post: Guest

Forum Jump: