File Exchange

image thumbnail

Simple single-seeded region growing

version 1.1 (1.34 KB) by

Segmentation by growing a region from user defined seed point, using intensity mean measure.

3.33333
9 Ratings

110 Downloads

Updated

View License

Simple and efficient (only one loop) example of "Region Growing" algorithm from a single seed point.

The region is iteratively grown by comparing all unallocated neighbouring pixels to the region, using mathematical morphology. The difference between a pixel's intensity value and the region's mean is used as a measure of similarity. The pixels within the parameter tolerance boundaries around the region's intensities mean are allocated to the region.

This process stops when the regions stops its evolution from an iteration to the next.

Comments and feedback would be very much appreciated, thanks!!!

Comments and Ratings (22)

DefStef

DefStef (view profile)

  • 1 file
  • 110 downloads
  • 3.33333

@sat maayy I am sure you are bright enough to figure this all out by yourself. To everyone: everything is there, directly accessible to you; just **read** the code.

sat maayy

where is example? what are input values?

SANDEEP YADAV

Please Explain the working of while loop & its inside variables..............how are they working?

what is the tolerance value?
please tell me

Dini Nadiah

what is tolerance?

Uzair Hassan

Odine Salloum

and if yes it is one function
How do I call it in the main script?

Odine Salloum

hi
Thanks for the code
one question is all the code is one function? I mean is it all in one script? or it is divided into 2 scripts: one for the function and the other for the main script (main code)?
Thank you

elif yoldas

its very good matlab code.
thanking you

DefStef

DefStef (view profile)

  • 1 file
  • 110 downloads
  • 3.33333

@Zubda just read the File Information / Description: "The pixels within the parameter tolerance boundaries around the region's intensities mean are allocated to the region"

Zubda Butt

Can anyone please tell me what is the input argument tolerance value?

Good Project

Sankar Ganesh

what will be the value of tolerance, Igray, x and y in this code?

How to give the arguments to the input in matalab for this code? Please help

How to give the arguments to the input in matalab for this code? Please help

syed umar

How to give the arguments to the input in matalab for this code? Please help

Alfredo

I would said that this function is limited to small images only, if you change the int8(x) and int8(y) by int16(x) and int16(y), you may be able to work with bigger and difficult images. the black issue seams not solved. can you explain us the functioning or maybe an example so we use your function! Great function!!!!

NITHYA V R

Manjunathan

Anton Semechko

Anton Semechko (view profile)

only applicable for 2D images

sunshine

very good!
But can you give a specific explanation how to use the function? What does the parametre 'tolerance' mean? how to set its value?

Updates

1.1

Fix added for the case of black regions.

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video