opencv/modules
gdkessler 2674c6b5e0 Merge pull request #10093 from gdkessler/gdal_image_read_fix_10089
Fix GDAL image decoding color problems identified by issue #10089, by: (#10093)

* Fix GDAL image decoding color problems identified by issue #10089, by:

Fixing CV_8UC1 symbol, which should be CV_8UC3 for RGB GDAL color table images.

Fixing image.ptr<VecX>(row,col)[] to be (*image.ptr<VecX>(row,col))[] to correctly access VecX array elements, as ptr<VecX>() returns a pointer to the VecX, not the first element of VecX. This fixes the color problem with color table gif images, and avoids out-of-bounds memory access.

Respecting the color identification of raster bands provided by the GDAL image driver, and produce BGR or BGRA images. Note that color bands of images using the HSL, CMY, CMYK, or YCbCr color space are ignored, rather than converting them to BGR.

* When reading image files using the GDAL decoder, exit with an error if a color band is encountered that isn't used (eg. from CMYK or YCbCbr), rather than silently ignoring the band's data.
2017-11-20 15:07:24 +03:00
..
calib3d Merge pull request #9979 from fakabbir:ImproveDoc 2017-11-08 16:55:48 +00:00
core Merge pull request #10108 from mshabunin:fix-eigen-stride 2017-11-17 20:09:08 +00:00
cudaarithm suppress warning on Jetson TK1 2017-06-15 18:28:13 +09:00
cudabgsegm Rewritten some tests in videoio and imgcodecs modules 2017-06-20 18:20:41 +03:00
cudacodec Merge pull request #9599 from whizzzkid:master 2017-09-17 19:24:43 +00:00
cudafeatures2d test: fix cuda build 2016-11-29 01:18:10 +03:00
cudafilters cudafilters: don't modify "const" data 2017-09-08 14:19:09 +03:00
cudaimgproc Merge pull request #8367 from khnaba:cuda-calchist-with-mask 2017-03-15 09:34:00 +00:00
cudalegacy Rewritten some tests in videoio and imgcodecs modules 2017-06-20 18:20:41 +03:00
cudaobjdetect fix CUDA build 2017-09-04 14:41:29 +03:00
cudaoptflow fixed non c++11 warnings. 2017-10-15 12:12:00 -04:00
cudastereo test: fix cuda build 2016-11-29 01:18:10 +03:00
cudawarping
cudev Replace private.cuda.hpp with conditional include of cuda_fp16.h. 2017-10-03 17:47:52 -07:00
dnn dnn(ocl4dnn): Fix relu fusion bug 2017-11-17 16:21:56 +08:00
features2d Merge pull request #9698 from abratchik:parse.doxygen 2017-11-16 16:48:12 +03:00
flann Fixed some issues found by static analysis 2017-09-08 12:22:12 +03:00
highgui Merge pull request #9850 from klchang:master 2017-10-27 11:22:28 +00:00
imgcodecs Merge pull request #10093 from gdkessler/gdal_image_read_fix_10089 2017-11-20 15:07:24 +03:00
imgproc test for GaussianBlur with border 2017-11-17 13:15:15 +03:00
java Merge pull request #9698 from abratchik:parse.doxygen 2017-11-16 16:48:12 +03:00
js js: fix tests (qunit -> node-qunit) 2017-11-16 15:00:33 +03:00
ml Parallel version of calcError in statmodel 2017-11-09 21:29:06 +01:00
objdetect Fixed minor issues reported by GCC 7.2 2017-11-03 18:06:39 +03:00
photo removed unnecessary line 2017-09-15 17:09:21 +03:00
python build: avoid exporting of unnecessary symbols from Python bindings 2017-11-15 13:21:35 +03:00
shape some improvements on tutorials 2017-07-29 20:08:19 +03:00
stitching ocl: increase SURF stitching test tolerance 2017-10-26 13:03:44 +03:00
superres Fixed several issues found by static analysis 2017-06-28 18:06:18 +03:00
ts ts: dump test parameters value 2017-11-09 19:11:49 +03:00
video improve doc. 2017-10-31 10:30:01 +01:00
videoio Merge pull request #10011 from jviney:master 2017-11-18 21:08:41 +03:00
videostab Merge pull request #9979 from fakabbir:ImproveDoc 2017-11-08 16:55:48 +00:00
viz Merge pull request #9979 from fakabbir:ImproveDoc 2017-11-08 16:55:48 +00:00
world ocl: fix world compilation on Windows 2017-10-11 19:04:42 +03:00
CMakeLists.txt