Skip to content

Commit

Permalink
fix mistake in docs (#39)
Browse files Browse the repository at this point in the history
The function `_linear_decorrelate_color` takes as input a decorrelated color and outputs the recorrelated one. This has been previously described incorrectly.
  • Loading branch information
ProGamerGov authored Jan 26, 2022
1 parent 4da630e commit 9707d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luna/featurevis/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ def _linear_decorrelate_color(image):
"""Color correlation matrix.
Args:
image (tf.Tensor): Input image.
image (tf.Tensor): Input image with a decorrelated color space.
Returns:
The decorrolated version of the color space of the input image.
The recorrelated version of the color space of the input image.
"""
t_flat = tf.reshape(image, [-1, 3])
color_correlation_normalized = COLOR_CORRELATION_SVD_SQRT / MAX_NORM_SVD_SQRT
Expand Down

0 comments on commit 9707d71

Please sign in to comment.