dice icon indicating copy to clipboard operation
dice copied to clipboard

Image transformation from RGB to grayscale

Open DICeuser22 opened this issue 4 years ago • 2 comments

When RGB images are loaded in the software it transforms them to grayscale? If so, how is the transformation? Each RGB pixel is transformed to grayscale using the following equation: grayscale pixel= 30% Red+59% green+11% blue?

DICeuser22 avatar Mar 27 '21 00:03 DICeuser22

DICe uses the OpenCV color to grayscale conversion: https://docs.opencv.org/3.4/de/d25/imgproc_color_conversions.html

dicengine avatar Mar 27 '21 02:03 dicengine

Thanks!

DICeuser22 avatar Mar 31 '21 15:03 DICeuser22