I have MRI data which have different segment . I used yolov8 to segment the image. The result as follow
Then I colored the detected polygons
Then I regenerated a 3d of each colored polygon of image
I have multiple images , So I generated 3d polygon of each image and place in 3d surface
As it can be seen in the image that boundaries are of different length and edges are not sharp and same. I want to write a code which make the edges equal and sharp and create a tube like structure by using these segmented images.