yangyanli / PointCNN

PointCNN: Convolution On X-Transformed Points (NeurIPS 2018)
https://arxiv.org/abs/1801.07791
Other
1.37k stars 365 forks source link

model color #236

Open shmily912 opened 4 years ago

shmily912 commented 4 years ago

hello, when i visualized the result of pointcnn. I found that the segmented model's color is almost black. so i want to know how could i change the color of it. Thanks cap01

yechaowang commented 3 years ago

hello, when i visualized the result of pointcnn. I found that the segmented model's color is almost black. so i want to know how could i change the color of it. Thanks cap01

The color is set by 'tab20' from matplotlib.cm. There are two ways to help:1.changing the parameter of camp_name in data_utils.py (you could refer to https://matplotlib.org/stable/gallery/color/colormap_reference.html) and fine-tuning the color mapping code. 2. when you test your model, choosing -s to save the ply. Then rewriting the ply file or transforming the ply file to xyz file to change the color.