easyidp.cvtools.rgb2gray# easyidp.cvtools.rgb2gray(rgb)# Transform the RGB image to gray image パラメータ: rgb (mxnx3 ndarray) -- The RGB ndarray image need to be converted 戻り値: gray -- The output 2D ndarray after convension 戻り値の型: mxn ndarray メモ Using the same formular that matplotlib did [1] for the transformation. 参照