Commit Graph
3 Commits
Author SHA1 Message Date
Nicholas PfaffandJonas Kulhanek 9f487a464f Implement nerfacto alpha transparency training (#2165)
* Implement nerfacto alpha transparency training

* Stop adding all ones alpha channel and clean up blend_background

* Make background_color a required argument in blend_background

* Enable alpha transparent training by default

* Improve background_color typing

* Blend uniform background color for metric computation

* Fix typing error

* Clean up typing

* Fix background_color to outputs assignment

* Model outputs returns unblended RGB (black bg) for random bg

* Update renderers

* Fix comments

* Add support for transparent BG for other methods

* Minor refac

* Fix get_background_color

* Fix typing error for blend_background

* Fix comments

* Export utils support transparency

* Pylint fix

* Fix pcd export masking

* Filter pcd view directions based on opacity

* Clean up get_rgba_image

---------

Co-authored-by: Jonas Kulhanek <jonas.kulhanek@live.com>
2023-07-18 12:54:52 +02:00
Nicholas Pfaff 0eb0ceb3c0 Revert loading entire dataset to GPU if using masks (#1821) 2023-04-25 21:25:16 -04:00
Nicholas Pfaffandmachenmusik 2dc1fb6bc9 Allow masks with instant ngp dataparser (#1741)
* Add masks to instant-ngp-dataparser

* Load entire dataset to GPU if using masks

---------

Co-authored-by: machenmusik <machenmusik@users.noreply.github.com>
2023-04-25 13:04:07 -04:00