From 737d139ec6c342acc00b5899bf216dd8cb7d169e Mon Sep 17 00:00:00 2001 From: cpaniaguam Date: Mon, 25 Nov 2024 17:48:35 -0500 Subject: [PATCH] docs: update rgb2gray --- src/histogram_equalization.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/histogram_equalization.jl b/src/histogram_equalization.jl index 382fb0bb..64cf79ac 100644 --- a/src/histogram_equalization.jl +++ b/src/histogram_equalization.jl @@ -136,6 +136,8 @@ end rgb2gray(rgbchannels::Array{Float64, 3}) Convert an array of RGB channel data to grayscale in the range [0, 255]. + +Identical to MATLAB `rgb2gray` (https://www.mathworks.com/help/matlab/ref/rgb2gray.html). """ function rgb2gray(rgbchannels::Array{Float64,3}) r, g, b = [to_uint8(rgbchannels[:, :, i]) for i in 1:3]