Alexander Alekhin
2f9b4439af
Merge pull request #11565 from alalek:issue_11545
2018-05-22 16:00:37 +00:00
Alexander Enaldiev
84584002f2
Merge pull request #11417 from Turim:imgcodecs_cmake_decoders_customize_formats
...
* imgcodecs cmake: the option to customize supported formats list (WITH_IMGCODEC_HDR, WITH_IMGCODEC_SUNRASTER, WITH_IMGCODEC_PXM)
* imgcodecs: fixes
- fixed CMake scripts (=OFF doesn't really work)
- restore dropped GDCM block
- added _IMGCODEC_ prefix
- fixed tests
- include PAM format under WITH_IMGCODEC_PXM option
2018-05-22 15:10:15 +00:00
Alexander Alekhin
35a4551609
imgcodecs: fix imwrite handling of different OutputArray types
2018-05-22 13:57:51 +03:00
Alexander Alekhin
576d2dbac0
refactor: don't use CV_ErrorNoReturn() internally
2018-04-24 15:38:42 +03:00
RAJKIRAN NATARAJAN
6d83a80385
Merge pull request #11176 from saskatchewancatch:issue-11165
...
* fix cv::imwrite to allow cv::UMat and vectors of it to be written
* cv::imwrite failure handling improvements
* Unit test for regression testing imwrite support for and fix whitespace
2018-03-29 16:47:31 +03:00
Alexander Alekhin
a91953b15c
imgcodecs: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
Rostislav Vasilikhin
27b1f8f446
imwrite for multipage images implemented
2018-02-20 19:08:45 +03:00
Vinay Sharma
5aac909046
Merge pull request #10352 from vinay0410:write_pbm
...
* added write as pbm
* add tests for pbm
* imgcodecs: PBM support
- drop additional PBM parameters
- write: fix P1/P4 mode (no maxval 255 value after width/height)
- write: invert values for P1/P4
- write: P1: compact ASCII mode (no spaces)
- simplify pbm test
- drop .pxm extension (http://netpbm.sourceforge.net/doc/ doesn't know such extension)
2017-12-28 17:28:34 +03:00
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
2017-12-13 15:00:38 +03:00
Maksim Shabunin
7349b8f5ce
Build for embedded systems
2017-12-11 13:27:37 +03:00
Alexander Alekhin
08b5dc64af
imgcodecs(tiff): drop legacy code
...
Drop code under *undefined* HAVE_TIFF
(violates several policies, like a way to turn off tiff support)
2017-09-24 22:36:17 +00:00
Alexander Alekhin
999f41fb4f
imgcodecs: refactoring, improve code quality
2017-08-16 18:56:41 +03:00
Jeremy Maitin-Shepard
2be955a0ef
loadsave: check for errors when using temp file
...
Previously, the return value of fwrite and fclose were not properly
checked, leading to possible silent truncation of the data if writing
failed, e.g. due to lack of disk space.
Fixes issue #9251 .
2017-07-31 09:02:42 -07:00
Alexander Alekhin
006966e629
trace: initial support for code trace
2017-06-26 17:07:13 +03:00
Brian Armstrong
40dc0bcd63
fix ByteStreamBuffer
2017-04-24 18:07:47 -07:00
brian-armstrong-discord
9e054d3880
Merge pull request #8492 from brian-armstrong-discord:exif_inmemory
...
autorotate in-memory jpegs (#8492 )
* autorotate in-memory jpegs
* correct indentation (4 spaces)
* imgcodecs: don't apply EXIF rotation for unloaded images
* videoio: don't try to rotate MJPEG stream
* imgcodecs: ByteStreamBuffer::seekoff support all seek "dir"
* imgcodecs: fix condition: "off == egptr() - eback()" is valid offset
2017-04-14 23:12:07 +03:00
Arkadiusz Raj
40778fa30a
Change name to minimize confusion
2016-11-10 15:31:34 +01:00
Arkadiusz Raj
4a9c84c570
Add static to local function
2016-11-10 15:04:28 +01:00
Arkadiusz Raj
f893ee5cec
Added IMREAD_IGNORE_ORIENTATION flag
2016-11-09 18:09:22 +01:00
Alexander Alekhin
a92aed45a4
Merge pull request #7064 from DmtKats:pam
2016-09-06 16:56:27 +00:00
Dimitrios Katsaros
6172803012
imgcodecs: Implementation of PAM encoder/decoder
...
This patch implements the PAM image format as defined at:
http://netpbm.sourceforge.net/doc/pam.html
The PAM format provides a generic means for storing 2 dimensional information.
This is useful for opencv since there are cases where data gets translated into
non standardized formats, which makes it difficult to store and load this information.
2016-09-06 15:47:22 +02:00
Patrick Spettel
84e1712659
Fix temporary file removal in imdecode for tiff
...
The TiffDecoder keeps an open file handle.
As a consequence the file cannot be removed
before the TiffDecoder closes the file.
2016-08-16 10:56:00 +02:00
Maksim Shabunin
0fd0acf2e3
GDCM: modified compilation scheme
...
- renamed source files
- guard the contents - always include
2016-07-08 16:08:55 +03:00
look4pritam
6f22f49c02
Grassroots DiCoM i.e. GDCM based DICOM image reader is added.
2016-07-08 16:08:55 +03:00
edgarriba
a242556b1d
Merge branch 'master' of https://github.com/Itseez/opencv into gdal_lan
...
Conflicts:
modules/imgcodecs/include/opencv2/imgcodecs.hpp
2015-10-31 20:18:41 +01:00
edgarriba
1e9bd59f07
load multi/hyperspectral images with using gdal
2015-10-14 09:16:04 +02:00
Suleyman TURKMEN
21c0acff24
Update imgcodecs.hpp
2015-10-02 14:00:24 +03:00
Suleyman TURKMEN
7c226ed7a2
adding new flags to imread to load image reduced
2015-09-28 02:00:02 +03:00
Suleyman TURKMEN
7b7d54df68
new function imread_reduced()
...
by this new function we can set libjpeg "scale_denom" parameter and load jpeg images scaled 1/2 - 1/4 - 1/8
other image formats resized after loading
2015-07-19 03:53:43 +03:00
Ashod Nakashian
f75f2ffd48
Jpeg2k color to greyscale conversion on non-Windows is done post decoding because system libjasper segfaults when decoding color images as greyscale.
2015-04-03 21:01:45 -04:00
Maksim Shabunin
036b13ee05
Fixed GDAL loader check
2015-01-21 14:01:21 +03:00
Ashod Nakashian
61ca38103c
Added imreadmulti API to read multi-paged images into a vector of Mat.
2015-01-03 00:09:35 -05:00
Julien Nabet
2d5e3b57ea
Fix cppcheck reports warnings:
...
(performance) Possible inefficient checking for 'lmap' emptiness
(warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
(style) Array index '<xxx>' is used before limits check
2014-12-27 10:54:34 +01:00
Vadim Pisarevsky
a602185fb6
Merge pull request #3097 from mshabunin:gdal-support
2014-08-13 19:26:10 +00:00
mshabunin
3ed89a8879
Merge with master and fix conflicts
2014-08-13 18:24:11 +04:00
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
2014-08-13 15:21:35 +04:00
Roman Donchenko
983e75e5de
Merge remote-tracking branch 'origin/master' into merge-2.4
2014-08-01 15:01:41 +04:00
vbystricky
d58f736935
Split highgui module to videoio and highgui
2014-07-14 23:16:47 +04:00
vbystricky
4286f60387
Extract imgcodecs module from highgui
2014-07-07 16:28:08 +04:00