Operating System / Platform => Linux 64 Bit (CentOS 7)
Compiler => GCC 7.2
Detailed description
Hello, when reading color raster image using GDAL (IMREAD_LOAD_GDAL flag), the band order is RGB, which is reversed from opencv standart one -> BGR. This is not a big problem, but still challenging when I want to save image after some manipulation/or overlay something on it and then write it using imwrite.
Steps to reproduce
just open any image with IMREAD_LOAD_GDAL flag - imread(file, IMREAD_LOAD_GDAL).
System information (version)
Detailed description
Hello, when reading color raster image using GDAL (IMREAD_LOAD_GDAL flag), the band order is RGB, which is reversed from opencv standart one -> BGR. This is not a big problem, but still challenging when I want to save image after some manipulation/or overlay something on it and then write it using imwrite.
Steps to reproduce
just open any image with IMREAD_LOAD_GDAL flag - imread(file, IMREAD_LOAD_GDAL).
Thank you