it's very good.i used wavlet tranform and fuzzy c-means for image segmentation which will cost a lot of time.but
you method is fast and good result
Watch this Author's files
thanks for your code.I have a question that how can i using the texture data when show the 3D objtect? In your code ,you only used in vertices and faces. Looking forword to your answer.
it's great work! thanks