|
-
March 26th, 2006, 11:50 AM
#1
Region Growing
hi all
i'm trying to make a region growing segmentation for my project , can anyone please help me writng the code
the algorithm is as follows:
1. seed the first pixel(seed) manually
2. get the value of the seed
3. compare it with its 4-neighbors or 8-neighbors(i dont know which is better)
4. if the neighbors have the same value then they are in region
5. compare these neighbors with there other neighbors and so on until it finds a boundary, then stop
thanks a lot
-
March 31st, 2006, 08:20 AM
#2
Re: Region Growing
This is not a big problem, I think, you can use GetPixel to obtain the value of the given point and compare it with the neighbors, you don't give clear about which language you want to write, c++ or vb? or use MFC?
Cindy
--------------------------------------------------------------------------
For high quality flow/diagram MFC/C++ Visio Like visualization Source Code,download XD++ at:
http://www.********.net
-
April 2nd, 2006, 11:54 AM
#3
Re: Region Growing
i have made it by another way but, anyway thanks for your help and your time
-
April 3rd, 2006, 03:36 AM
#4
Re: Region Growing
 Originally Posted by sherit
.....
4. if the neighbors have the same value then they are in region
5. compare these neighbors with there other neighbors and so on until it finds a boundary, then stop
....
"if the neighbors have the same value then they are in region": I suppose your image is thresholded into binary values. Otherwise, this is not the correct way to do this. If the image is in its original state, then you will have to use other statistics (than gray value), like texture and moments.
-
November 21st, 2010, 11:07 PM
#5
Re: Region Growing
 Originally Posted by sherit
hi all
i'm trying to make a region growing segmentation for my project , can anyone please help me writng the code
the algorithm is as follows:
1. seed the first pixel(seed) manually
2. get the value of the seed
3. compare it with its 4-neighbors or 8-neighbors(i dont know which is better)
4. if the neighbors have the same value then they are in region
5. compare these neighbors with there other neighbors and so on until it finds a boundary, then stop
thanks a lot
have you got source code for this???
i need this source code for my final task
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|