(self, p, img_size)
| 95 | class SphRandomRotate: |
| 96 | '''Random rotate spherical projection of point cloud''' |
| 97 | def __init__(self, p, img_size): |
| 98 | assert 0 < p <= 1, 'probability must be in (0, 1] range)!' |
| 99 | self.p = p |
| 100 | self.grid = get_projection_grid(b=(int)(img_size[0]/2.0)) |
| 101 | |
| 102 | def __call__(self, sph_img): |
| 103 | #* conver from PIL.Image into numpy.array |
nothing calls this directly
no test coverage detected