(
tensor: th.Tensor, x_max: Optional[float] = None, x_min: Optional[float] = None
)
| 46 | return img |
| 47 | |
| 48 | def tensor2rgbjet( |
| 49 | tensor: th.Tensor, x_max: Optional[float] = None, x_min: Optional[float] = None |
| 50 | ) -> np.ndarray: |
| 51 | return cv2.applyColorMap(tensor2rgb(tensor, x_max=x_max, x_min=x_min), cv2.COLORMAP_JET) |
| 52 | |
| 53 | |
| 54 | def tensor2rgb( |
no test coverage detected