OpenCV Developers
2985739b8c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-04-16 14:41:15 +00:00
Alexander Smorkalov
0ee2a58cdc
Document defaults for JPEG settings.
2022-04-15 14:36:48 +03:00
Pierre Chatelier
6390b50d6e
Merge pull request #21701 from chacha21:tiff_10_12_14
...
Add 10-12-14bit (integer) TIFF decoding support
* Add 12bit (integer) TIFF decoding support
An (slow) unpacking step is inserted when the native bpp is not equal to the dst_bpp
Currently, I do not know if there can be several packing flavours in TIFF data.
* added tests
* move sample files to opencv_extra
* added 10b and 14b unpacking
* fix compilation for non MSVC compilers by using more standard typedefs
* yet another typdef usage change to fix buildbot Mac compilation
* fixed unpacking of partial packets
* fixed warnings returned by buildbot
* modifications as suggested by reviewer
2022-03-11 21:07:12 +03:00
Alexander Alekhin
2b7803dbac
imgcodecs: add runtime checks to validate input
...
backport of commit: f9b1dbe2ac
2022-02-15 16:33:35 +00:00
Alexander Alekhin
f9b1dbe2ac
imgcodecs: add runtime checks to validate input
2022-02-15 11:48:09 +00:00
Harvey
f4a7754cc0
Merge pull request #21428 from Harvey-Huang:TIFF
...
TiffEncoder write support more depth type
* TiffEncoder write support more depth type
* testing code
* update testing code
* add fallthrough
2022-01-31 17:54:27 +00:00
Alexander Alekhin
d573472a86
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-01-31 12:53:45 +00:00
Suleyman TURKMEN
2b5bb02817
Update imgcodecs.hpp
2022-01-23 01:24:34 +03:00
Alexander Alekhin
22f0bcaf8f
Merge pull request #21453 from sturkmen72:bigtiff
2022-01-20 20:00:29 +00:00
Suleyman TURKMEN
f1857030b5
bigtiff images reading
2022-01-16 11:49:10 +03:00
Suleyman TURKMEN
172bb7887c
Update imgcodecs.hpp
2022-01-14 23:36:53 +03:00
Harvey
c3e27bcf87
Merge pull request #21400 from Harvey-Huang:master
...
tiff need check TIFFTAG_SAMPLEFORMAT, should not always use unsigned.
2022-01-11 16:51:50 +00:00
Suleyman TURKMEN
0e6a2c0491
fix legacy constants
2022-01-03 15:08:10 +03:00
Alexander Alekhin
217fea9667
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-24 16:48:07 +00:00
Alexander Alekhin
92651d228d
Merge pull request #21329 from alalek:cmake_openexr_find_package
2021-12-24 11:56:12 +00:00
Alexander Alekhin
f43fec7ee6
cmake: use find_package(OpenEXR) to support OpenEXR 3+
2021-12-24 00:21:48 +00:00
Alexander Alekhin
381d9bafdf
imgcodecs: disable OpenEXR in runtime for 3rdparty source code
...
- builtin OpenEXR source code is outdated
- external OpenEXR distributions are allowed
2021-12-23 10:41:18 +00:00
Alexander Alekhin
ac4b592b4e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-11-20 05:13:50 +00:00
nickjackolson
79d4e865fe
Add warning message to imread()
...
Add a warning message using CV_LOG__WARNING().
This way api behaviour is preserved. Outputs are
the same but user gets an extra warning in case
fopen() fails to access image file for some reason.
This would help new users and also debugging
complex apps which use imread()
Signed-off-by: nickjackolson <metedurlu@gmail.com>
2021-11-18 21:19:05 +01:00
Harvey
af154e3053
fixed bug: opencv read tif file convert Palette color image as grayscale image
2021-10-27 14:10:11 +08:00
Alexander Alekhin
6a2077cbd8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-23 15:33:31 +00:00
Harvey
9267536fee
Merge pull request #20875 from Harvey-Huang:master
...
* bmp specified BI_BITFIELDS should take care RGBA bit mask
* change the name
* support xrgb bmp file
* support xrgb bmp file(add test case)
* update testing code
2021-10-22 17:04:19 +03:00
Harvey
ce68291d83
32bit rgb bmp file should not copy data as rgba
2021-10-21 16:47:27 +08:00
Alexander Alekhin
31c40fa4cc
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-15 13:35:03 +00:00
Stanislaw Halik
3d93675ff9
fix link error on shared libs with -MT
2021-10-12 17:50:31 +02:00
Giles Payne
eb56ca3b0d
Fix build on older Xcode versions
2021-10-06 21:06:30 +09:00
Ruben Gonzalez
0c13d34ade
imgcodecs(doc): Sync imread_ docuemtation with the implemetation.
...
Documentation was desynchronized in commit 11eafca3e2
2021-09-07 12:51:34 +02:00
Giles Payne
2f180cea7f
Add Quicklook for Mat on iOS and macOS
2021-07-25 14:23:52 +09:00
Alexander Alekhin
3e513ee6ab
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-06-03 16:23:36 +00:00
Nikolay Polyarniy
746bd47ce5
EXR reading: support Z channel if no Y channel
2021-06-02 15:53:32 +03:00
Alexander Alekhin
7d66f1e391
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-05-18 18:06:26 +00:00
Smirnov Egor
1d7d18afba
Document imwrite depth fallback
2021-05-12 19:55:58 +03:00
Alexander Smorkalov
083a7c8f0a
Fix OpenCV build with OpenEXR before 2.2.0.
2021-04-29 09:50:30 +03:00
Antonio Rojas
971dacaf41
Merge pull request #19970 from antonio-rojas:master
...
Support building with OpenEXR 3.x
* Support OpenEXR 3.0
Try to find OpenEXR 3.0 using the upstream cmake config, and fallback to the previous algorithm if not found
* Add explicit ImfFrameBuffer.h include
This was transitively included with OpenEXR 2.x, but that's no longer the case with OpenEXR 3.x
2021-04-26 22:13:59 +00:00
Harald Scheirich
fcaeeac931
Merge pull request #19780 from HarryDC:feature/index-multiimage-tiff
...
Add reading of specific images from multipage tiff
* Add reading of specific images from multipage tiff
* Fix build issues
* Add missing flag for gdal
* Fix unused param warning
* Remove duplicated code
* change public parameter type to int
* Fix warnings
* Fix parameter check
2021-04-23 20:48:32 +00:00
Alexander Alekhin
d643a90efa
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-03-06 17:31:08 +00:00
Alexander Alekhin
a1e2c4f338
Merge pull request #19655 from raaldrid:EXR_rw_alpha_support_16115
2021-03-05 16:54:31 +03:00
Rachel A
cc22a73d0f
EXR alpha support for 4 channel reading and writing. Issue https://github.com/opencv/opencv/issues/16115 .
2021-03-02 11:49:56 -08:00
Alexander Alekhin
0a6f216f83
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-21 20:14:09 +00:00
Alexander Alekhin
6d81a88288
build warning (windows 32-bit)
2021-02-20 18:30:49 +00:00
Alexander Smorkalov
c131c12fd7
Merge pull request #19540 from asmorkalov:as/openexr_comression_options
...
OpenEXR compression options
* Adding possibility to select the compression type for the OpenEXR format.
There are compression modes other than the default that are more suited for certain data. Mainly grainy/noisy data.
* Code review fixes.
Co-authored-by: Daniel Rydstrom <daniel.rydstrom@sick.se>
2021-02-20 16:28:08 +00:00
Alexander Alekhin
5b16b190c1
Merge pull request #19543 from alalek:hotfix_19439
2021-02-16 16:05:09 +00:00
Alexander Alekhin
0885a79c28
imgcodecs(test): don't include png.h
2021-02-16 13:26:51 +00:00
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
2021-02-13 18:37:30 +00:00
Alexander Alekhin
e5d78960c6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-12 21:34:49 +00:00
Zhuo Zhang
84a290097b
fix link order: put zlib after png/tiff/openexr
...
Previous link dependency: imgcodecs --> zlib --> libpng
this can generate imgcodecs shared lib, until Visual Studio integrated
with vcpkg, which will additionally specify LIBPATH, pointing to vcpkg
installed zlib (if any), which links the wrong zlib.
Fixed link dependency: imgcodecs --> libpng --> zlib
in this fixed case, symbols in zlib referenced in libpng will be found
in the build-from-source static zlib, instead of the vcpkg one.
related discussion:
- https://github.com/microsoft/vcpkg/issues/16165
- https://github.com/opencv/opencv/issues/17051
- https://github.com/opencv/opencv/issues/10576
MSVC linking order reference pages:
- https://docs.microsoft.com/en-us/cpp/build/reference/link-input-files?view=msvc-160
for link order
- https://docs.microsoft.com/en-us/cpp/build/reference/linking?view=msvc-160
LIB environment variable, for library file searching
- https://docs.microsoft.com/en-us/cpp/build/reference/libpath-additional-libpath?view=msvc-160
LIBPATH option, for library file searching
2021-02-12 22:19:35 +08:00
Rachel A
650836d700
Exif parsing for PNG files to support Exif orientation tag. Moved decoder specific Exif parsing to JPEG and PNG decoders, respectively. Issue 16579
2021-02-09 10:35:27 -08:00
Mark Harfouche
7405075ede
CHange import order to avoid apple check error
2021-02-05 23:24:56 -05:00
Zhuo Zhang
6e1da2ef91
Merge pull request #19203 from zchrissirhcz:fix-cvSaveImage
...
Fix cvSaveImage( ) function bug
* fix cvSaveImage crash
* replace emplace_back with {}, no C++11 required
* fix MacOSX build with vector's push_back
2020-12-24 16:58:16 +00:00
Stefan Dragnev
b13b5d86f6
Merge pull request #19109 from tailsu:sd/imdecode-jp2k-codestream
...
* OpenJPEG: decoder for J2K codestreams
* code review fixes
* exclude .j2c from GDAL tests
2020-12-23 12:33:33 +00:00