Commit Graph

51 Commits

Author SHA1 Message Date
Lawrence Lee
e599f71bf2 Remove unused rawimage functions
Prevent accidental use of these functions that will not supply the
correct data when using LibRaw.
2023-12-31 12:03:16 -08:00
Lawrence Lee
20d3311931 Add decoding through LibRaw
Decode raw files with LibRaw and fall back to dcraw if LibRaw is unable
to read the file.
2023-12-01 21:15:13 -08:00
Ingo Weyrich
8d29d361a8 Support dnggainmap (embedded correction) for Bayer files (#6382)
* dng gainmap support, #6379
* dng GainMap: control sensitivity of checkbox, #6379
* dng GainMap: partial paste
* dng GainMap: moved isGainMapSupported() from dcraw.h to dcraw.cc
* RawImageSource::applyDngGainMap: small speedup
* Change GUI to separate gainmap from other flat-field; also reorder checkbox

Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
2023-01-02 21:30:06 +01:00
Ingo Weyrich
e89a3041fa fix black level computation for applying flat-field correction, taken from ART, thanks @agriggio 2020-06-19 17:07:49 +02:00
Ingo Weyrich
033d9fe02a Merge branch 'dev' into newlocallab 2019-11-04 23:01:33 +01:00
Ingo Weyrich
284fe57159 Further reduction of include dependencies 2019-10-31 13:29:12 +01:00
Ingo Weyrich
ed161c6288 Reduce rawimage.h dependencies 2019-10-29 15:21:02 +01:00
Desmis
0711373021 Merge with dev 2019-09-11 08:35:25 +02:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Desmis
cbeb828609 merge with dev 2019-07-18 13:41:26 +02:00
Desmis
5a59c90b62 merge with dev 2019-06-26 07:37:29 +02:00
rom9
7040378dec Merge remote-tracking branch 'origin/dev' into filmnegative 2019-06-23 23:40:56 +02:00
Flössie
54cc02eea9 Filmenegative core cleanup 2019-06-17 08:03:46 +02:00
heckflosse
fe16bf7917 Move badpixel code to own compilation unit 2019-06-10 16:40:44 +02:00
Desmis
86c03e61d4 merge with dev - I hope no error 2018-11-24 14:18:37 +01:00
Alberto Griggio
655bdfd7e7 merged branch 'floatdng' 2018-11-22 08:50:35 +01:00
Desmis
721972ee72 merge with dev 2018-11-20 17:50:33 +01:00
heckflosse
c9044485a6 Fix some coverity issues 2018-11-19 21:49:51 +01:00
Alberto Griggio
632c1362c8 DNG: honour the BaselineExposure tag 2018-10-28 17:32:15 +01:00
Morgan Hardwood
0780aa0f8f Merge branch 'dev' into newlocallab 2018-07-19 23:07:59 +02:00
heckflosse
9224d6e18c Floating point dng files in [0;1] range have black thumbnail, fixes #4669 2018-07-07 16:09:37 +02:00
Desmis
7a714e5093 Add inverse to shapemethod - fixed crash retinex inverse 2018-01-03 16:47:54 +01:00
Hombre57
180912df0f Merge branch 'dev' into multiframe-handling 2017-10-04 23:34:28 +02:00
heckflosse
18f09dcbee Fix wrong thumbnails for Canon G3 and G5, fixes #4000, fixes #4099 2017-09-23 16:20:50 +02:00
Hombre57
0905294bda Merge branch 'dev' into multiframe-handling, with some merge bugfix 2017-09-17 01:15:51 +02:00
heckflosse
f3b4722e4f RawTherapee is crashing when trying to open .dng taken on smartphone, fixes #4047 2017-08-28 17:40:05 +02:00
Hombre57
f23be9345c Add multi-frame handling.
- Exif of all frames are displayed in the Editor's Exif tab (without
separator)
- isHDR and isPixelShift is added to the data files stored in cache
- In the Editor panel, the QuickInfo frame display the HDR and
PixelShift information, as well as the number of frame and bit-depth for
HDR image
- the number of frame is provided by dcraw. If not set, it is provided
by the Exif's main IFD count
- the PixelShift information (for Pentax as of now) is provided by
looking at the Exif informations
- the HDR information is provided by the Exif information of the first
frame for Pentax raw files, or by the bitspersample, sampleformat and
compression tags for other files

TODO: add icons to the thumbnails to tag HDR and PixelShift files.
2017-08-08 23:42:05 +02:00
heckflosse
be4cc858a2 Remove obsolete dcraw::scale_colors() 2017-04-06 23:51:36 +02:00
heckflosse
6917f6bba3 About 3x speed for scale_colors in rtthumbnail.cc also for xtrans files 2017-04-06 16:16:08 +02:00
heckflosse
850577b8c7 About 3x speed for scale_colors in rtthumbnail.cc 2017-04-06 13:16:39 +02:00
heckflosse
071d960035 Fix all warnings in demosaic_algos.cc 2017-03-31 19:07:58 +02:00
heckflosse
1949ba1774 Merge branch 'master' into pixelshift 2017-01-20 21:13:50 +01:00
heckflosse
8d52510381 RawTherapee crashed after opening linear DNG from Sigma SD H Quattro camera in editor. fixes #3559 2016-12-30 16:11:21 +01:00
Flössie
23f17bd9bc Fully check thumb data size (#3529)
Also, take rotation into account when falling back to
`Thumbnail::loadFromRaw()`.
2016-12-13 20:44:05 +01:00
heckflosse
ac5bad2de1 pixelshift: optional red/blue check 2016-11-27 18:42:58 +01:00
heckflosse
5b455702a2 pixelshift: Fixed a bug, cleaned code, parallel decode of frames 2016-11-06 16:42:20 +01:00
heckflosse
89901f4b36 reworked pixelshift code and temporary removed Fuji S5 dual frame support 2016-11-03 00:01:47 +01:00
Hombre
d8593469ee Adding 'Image Number' to the Bayer Raw tool 2016-11-02 02:06:40 +01:00
heckflosse
742d7ee037 Small corrections to set the number of the frame to be extracted from raw file 2016-11-01 16:46:57 +01:00
heckflosse
a6876e258a Fixed compilation error 2016-11-01 14:25:17 +01:00
heckflosse
3f13a98135 Prepare rtengine to allow extraction of individual frames from multi frame raw files (i.e. Pentax pixel shift) 2016-11-01 02:20:43 +01:00
Flössie
0731975ff0 Apply modernize-use-nullptr
Setup:
- `mkdir tidy; cd tidy`
- `cmake .. -DCMAKE_BUILD_TYPE=debug -DPROC_TARGET_NUMBER=1 -DCACHE_NAME_SUFFIX=4 -DBINDIR=. -DDATADIR=. -DBUILD_BUNDLE=ON -DWITH_LTO=OFF -DOPTION_OMP=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
- `cd ..`
- `find -name '*.cc' -exec clang-tidy-3.8 -header-filter=.* -p=tidy -fix-errors -checks=modernize-use-nullptr {} \;`
2016-10-12 17:48:40 +02:00
Flössie
d132149a26 Introduce rtengine/noncopyable.hpp 2016-10-08 15:36:44 +02:00
heckflosse
3552fd4161 Cppcheck: Fix issues related to explicit constructors 2016-10-03 00:54:02 +02:00
heckflosse
ccd9002c3a Cppcheck: Solve issues related to copy constructor 2016-10-02 23:33:00 +02:00
heckflosse
c8779c04f5 Fix all - 2 cppcheck performance hints 2016-07-06 13:04:24 +02:00
heckflosse
fe0743e471 Reduce size of badpixels bitmap by factor 8 2016-06-29 14:47:23 +02:00
heckflosse
8c3e6eab95 Fix crash when opening a folder containing dng files with corrupted thumbs, fixes #3129 2016-02-02 15:31:30 +01:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
DrSlony
16061aad88 Removed unused files 2015-08-09 20:56:10 +02:00