Post by Creator » Sat Aug 19, 2017, 00:02
yes, the problem lies in your ground truth image.
One mistake could appear during the automatic conversion from RGB to grayscale image (desaturation). Here different colors may be converted to the same gray value, e.g. color (255, 0, 0) and color (0, 255, 0) by many desaturation algorithms are converted to the same value 128.
Another mistake might appear during automatic image normalization to the range of [0; 6). I think that at this stage all the values were mapped to zero.
In order to check if it is true and fix the problem, please convert one ground truth image manually, using Photoshop or gimp, or other image editing software. Just fill the colors you have with new colors (0,0,0), (1,1,1),...(5,5,5) and then convert the image to a one-channel bmp or png format (ground truth should be stored in a loseless image format).
yes, the problem lies in your ground truth image.
One mistake could appear during the automatic conversion from RGB to grayscale image (desaturation). Here different colors may be converted to the same gray value, e.g. color (255, 0, 0) and color (0, 255, 0) by many desaturation algorithms are converted to the same value 128.
Another mistake might appear during automatic image normalization to the range of [0; 6). I think that at this stage all the values were mapped to zero.
In order to check if it is true and fix the problem, please convert one ground truth image manually, using Photoshop or gimp, or other image editing software. Just fill the colors you have with new colors (0,0,0), (1,1,1),...(5,5,5) and then convert the image to a one-channel bmp or png format (ground truth should be stored in a loseless image format).