lkeab / gaussian-grouping

Gaussian Grouping for open-world Anything reconstruction, segmentation and editing.
https://arxiv.org/abs/2312.00732
Apache License 2.0
492 stars 36 forks source link

Background Removal #23

Open LaFeuilleMorte opened 4 months ago

LaFeuilleMorte commented 4 months ago

Thanks for your brilliant work, I was trying to crop an object out of a scene and remove all its background. Is it able to do this? Thanks in advance

LaFeuilleMorte commented 3 months ago

Thanks for your brilliant work, I was trying to crop an object out of a scene and remove all its background. Is it able to do this? Thanks in advance

All right, I've done it myself. Just simple modify the mask inside the "removal_setup" function: image mask3d = ~mask3d.bool().squeeze() -> mask3d = mask3d.bool().squeeze() And the it will remove the background instead of the object.

fty2000 commented 2 months ago

Thank you very much!!!