MCPcopy Create free account
hub / github.com/JasonLSC/GSCodec_Studio / test_transform

Method test_transform

examples/codec_ply_sequence.py:1059–1069  ·  view source on GitHub ↗

Test the transform and inverse transform of the splats list

(self)

Source from the content-addressed store, hash-verified

1057 print(f"Error output: {e.stderr}")
1058
1059 def test_transform(self):
1060 '''
1061 Test the transform and inverse transform of the splats list
1062 '''
1063 splats_list = self.splats_list
1064 splats_list = self.compression_method.param_transform(splats_list, self.cfg.compression_cfg.transform_attributes)
1065 splats_list = self.compression_method.param_inverse_transform(splats_list, self.cfg.compression_cfg.transform_attributes)
1066
1067 seq_stats = self.eval(splats_list=splats_list)
1068
1069 return seq_stats
1070
1071 def compare_render_stats(self, stats1: Dict, stats2: Dict, name1: str = "Original", name2: str = "Modified") -> None:
1072 """

Callers

nothing calls this directly

Calls 3

evalMethod · 0.95
param_transformMethod · 0.45

Tested by

no test coverage detected