ranahanocka / MeshCNN

Convolutional Neural Network for 3D meshes in PyTorch
MIT License
1.61k stars 320 forks source link

How to visualize each segmented component separately ? #52

Open kumarabhinav04 opened 4 years ago

kumarabhinav04 commented 4 years ago

@ranahanocka Hi,

Once we segment the object, how can we view each segmented component independently ?

ranahanocka commented 4 years ago

Hi @kumarabhinav04 ,

Did you run the viewer scripts? For example, you can read an explanation in this issue.

If you wanted to only view only segment, you could modify the mesh_viewer.py. I suppose you can set the colors to be all the same except the segment you care about. E.g, here:

https://github.com/ranahanocka/MeshCNN/blob/29c30a4d6dee123cacbb662e3f5666420c0e94c5/util/mesh_viewer.py#L10-L11

BingZZZ commented 2 years ago

@ranahanocka Hi, Thank you for your explanation. But I found in the paper segmentation of each part is not transparent. And in your view script these parts are overlapped with each other. How can we avoid those overlapping? image image