pub fn hed_from_rgb(rgb: &Tensor) -> Tensor
Expand description
Convert a tensor of RGB values to HED values.
- rgb: Tensor - The tensor of RGB values [N, 3, H, W] with float values in the range [0, 1]
Tensor - The tensor of HED values [N, 3, H, W] with float values in the range [0, 1]