mrquorr
a88bf4e5aa
test added, only if HAVE_GDCM is on
8 years ago
Alexander Alekhin
5383a625a7
fix Win build, change default WINNT macro to WinXP
...
Returning to Win2k value is possible via this CMake option:
cmake -DOPENCV_EXTRA_FLAGS="/D_WIN32_WINNT=0x0500" ...
8 years ago
Morrison
ca318e7099
handle images with alpha better
...
UIImages with alpha were ending up with garbage pixels in background (random memory values). Need to initialize matrix pixels before drawing UIImage with alpha on it.
Note: didn’t fix Grayscale image with alpha stripping alpha in UIImage -> Mat conversion.
8 years ago
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.
8 years ago
thierry
ea911d34c6
remove 2-channel png encoder/decoder support
8 years ago
Ilya Lavrenov
91d8405e52
stop search of markers in Exif reader to prevent infinite loop
8 years ago
Maksim Shabunin
f3bd508e6d
GDCM: several improvements
...
- fixed width and height order
- removed unused methods
- simplified signature matching
- rewrote pixel format matching in more compact form
- added dimensions number check (only 2 is allowed)
- added target buffer size check
- added debug messages in all failing points
9 years ago
Maksim Shabunin
0fd0acf2e3
GDCM: modified compilation scheme
...
- renamed source files
- guard the contents - always include
9 years ago
look4pritam
6f22f49c02
Grassroots DiCoM i.e. GDCM based DICOM image reader is added.
9 years ago
Suleyman TURKMEN
e7ec580318
Update imgcodecs.hpp
9 years ago
Suleyman TURKMEN
1b22783d46
Update grfmt_png.cpp
9 years ago
Zhenqing, Hu
94a9e16943
Fix bug 6445
...
Root cause: when calling imread to read the pgm file, when returning with success reading file, the destructor will free the resource which used by memcpy, but in the code, the resource calculation was not correct, therefore, it will cause memory corruption during resource free.
9 years ago
Suleyman TURKMEN
98239664f6
fix for writing 16-bit jpeg2000
9 years ago
Robbert Klarenbeek
81b11ee463
Replace deprecated malloc.h
9 years ago
Maksim Shabunin
3a92371b60
EXIF reader: fixed file descriptor leak in case of broken tags
9 years ago
Maksim Shabunin
a54870aace
Added filename emptyness check to the Exif reader, fixes 6120
9 years ago
Maksim Shabunin
112aa49104
ExifReader::getFormat : check buffer length before accessing, fixes 6059
9 years ago
thierry
bdb9cf4d47
fix inversed grayscale conditional
9 years ago
thierry
1b5352688f
better png transparency handling
9 years ago
Alexander Alekhin
be23846c4e
update osx and ios build_framework.py
9 years ago
Maksim Shabunin
4a294775da
Coverity: fixed uninitialized field in ExifReader
9 years ago
Maksim Shabunin
a921761d18
Coverity: memory leak in OpenEXR reader
9 years ago
Maksim Shabunin
fc641e2bde
Coverity: uninitialized values in ExifEntry_t structure
9 years ago
comdiv
81c746c2a8
32bit BITFIELDS compresion codec support #5707 Fixed
...
wsfixed
9 years ago
Suleyman TURKMEN
99a286ef24
Update imgcodecs.hpp
9 years ago
jiakai
933dfed4b8
check offset in ExifReader::getString
9 years ago
jiakai
80df9ddedb
check for exifSize
9 years ago
jiakai
1260060d7d
check boundary in ExifReader
9 years ago
edgarriba
f50858dd24
set GA_ReadOnly flag again since test error
9 years ago
edgarriba
decdae515b
set GA_Update flag in order remove ERROR 8: band 1: Attempt to write to read only dataset inGDALRasterBand::Fill()
9 years ago
edgarriba
9ff14bc411
add support for float32 and float 64
9 years ago
Hajo Nils Krabbenhöft
a8e550f5bf
Fixed crash when reading b/w tif images ( fixes #5579 )
9 years ago
micalan
0a306f8804
Camera orientation handling is added for jpeg files
9 years ago
edgarriba
1e9bd59f07
load multi/hyperspectral images with using gdal
9 years ago
AlexanderStohr
0098c4b571
fix VS2010 error with type mismatch due to volatile qualifier
9 years ago
Suleyman TURKMEN
21c0acff24
Update imgcodecs.hpp
9 years ago
Suleyman TURKMEN
7c226ed7a2
adding new flags to imread to load image reduced
9 years ago
Maksim Shabunin
771af4f32d
Some changes to support mingw-w64
...
- IPP is disabled by default when compiler is mingw (couldn't make it
work)
- fixed some warnings
- fixed some `__GNUC__` version checks (for correctness and convenience)
- removed UTF-8 BOM from hough.cpp (fixes #5253 )
9 years ago
Suleyman TURKMEN
f660461bb3
documentation patch
9 years ago
Maksim Shabunin
9e4c62967b
Fixed RGBE images header parsing ( fixes #4885 )
9 years ago
Maksim Shabunin
14d7b38613
Fixing GCC 4.9 warnings
9 years ago
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
9 years ago
Stefan Cornelius
851f20e40c
Fix processing of SunRaster images with negative maplength
10 years ago
themightyoarfish
125782c061
fixed copy-paste errors
10 years ago
themightyoarfish
d647261de2
Fixed alpha preservation when converting 4-channel Mat to UIImage
10 years ago
Andreas Stührk
3ec0e0943c
TIFF loader: Allocate large enough buffer when (bpp * ncn) > 8.
...
Conflicts:
modules/highgui/src/grfmt_tiff.cpp
floodfill return value removed
10 years ago
Andreas Stührk
c9481b0fd7
Don't allocate lots of memory when reading TIFFs with infinite rows per strip.
...
Some TIFF images consist of only one strip. The magic value 2**32-1 for the
"rows per strip" tag reflects that fact, effectively meaning "infinite".
Conflicts:
modules/highgui/src/grfmt_tiff.cpp
modules/highgui/test/test_grfmt.cpp
fix whitespace
fix compile error
10 years ago
Alexander Smorkalov
6e1a595342
GCC 4.8 warning array subscript is above array bounds fixed.
...
tiff test fixed
10 years ago
Marvin Smith
ae933db526
Fixing the gdal include error that Macports seems to only mess up.
10 years ago
StevenPuttemans
0baaf0a60f
fixing old variables in documentation and transfering to the new interface
10 years ago