Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

DOCS - added ranges in docs for output of rgb_to_lab function (#1342)

Sravan Chittupalli009af1645580
diff --git a/kornia/color/lab.py b/kornia/color/lab.py
index 22c76af5e..e019d90d0 100644
--- a/kornia/color/lab.py
+++ b/kornia/color/lab.py
@@ -25,6 +25,7 @@ def rgb_to_lab(image: torch.Tensor) -> torch.Tensor:
Returns:
Lab version of the image with shape :math:`(*, 3, H, W)`.
+ The L channel values are in the range 0..100. a and b are in the range -127..127.
Example:
>>> input = torch.rand(2, 3, 4, 5)