Modified 'denoise_bilateral':\n1) check that image max value is not zero to avoid segmentation fault.\n2) initialize color_lut after sigma_range has been checked.