Jon Beniston
328ea956f4
Export offsets as needed for image functions
3 anni fa
Jon Beniston
dc3c02c76d
Add support for building a shared library (libaptdec).
Exported functions and types prefixed with apt_
Callback added for getsample, instead of calling named function.
Allow library to be built without libpng or libsndfile.
Add support for building with MSVC on Windows.
Fix a few MSVC compiler warnings.
Fix nonlinear radiance correction for NOAA19.
3 anni fa
Xerbo
f1979a74d9
Windows build now working properly
Was opening PNG files (which are binary...) with `r` instead of `rb` which caused problems on windows
Added `libsndfile-1` back into FindLibSndFile.cmake, since it's needed
Package `sndfile.dll` instead of `libsndfile-1.dll` since thats what the binary looks for
4 anni fa
Xerbo
06571464fe
Make release builds work
Since release builds had -Werror on, every warning is counted as an error, and the #pragmas that supressed that warning caused a wrning them selfs.
4 anni fa
Xerbo
c5ec69f48a
Headerise each file
4 anni fa
Xerbo
bb37bf0628
Palette search directorie, basic packaging support
4 anni fa
Xerbo
b8671a325f
Move source into src/
4 anni fa
Xerbo
377bc3f9d7
Add map offset argument, change southbound to northbound
Passes are flipped when northbound, not southbound
4 anni fa
Xerbo
4b1acdfa5f
Improve MCIR, improve map alignment and remove useless palettes
4 anni fa
Xerbo
e6674512e3
Improve syncing, fix segfault
Lack of clamping while reading a pixel from a palette resulted in reading invalid memory
4 anni fa
Xerbo
9353a50b4e
Add ability to crop noise from start and end of an image
4 anni fa
Xerbo
751baefdff
Close file stream if libpng fails to init
4 anni fa
Xerbo
2d719f4f80
Fix segfault
Checking if the type string contains paletted instead of just the current image
leading to palettes attempting to be applied to images without a color buffer
4 anni fa
Xerbo
d37f450229
Actaully disable that warning, fix a bug
Creating a paletted image along with other images broke it
4 anni fa
Xerbo
b19701eee9
Ignore -Wmissing-field-initializers to avoid confusion
4 anni fa
Xerbo
da6b4ab056
Fix map handling & improve alignment, fix #5
4 anni fa
Xerbo
afb0b9fc98
Fix application of internal palettes (and crashing on ARM)
4 anni fa
Xerbo
8e77155394
First HRPT palette! Also fix some warnings in pngio.c
4 anni fa
Xerbo
5846aaa9cd
Add gamma adjustment, improve MCIR colors
4 anni fa
Xerbo
8a5e2d2bb1
Use WXtoImg precipitation palette
4 anni fa
Xerbo
c6716c4aab
Use RGB for palettes instead of RGBA
4 anni fa
Xerbo
aee200e304
Rewrite `ImageOut`, remove channel ID in filename
4 anni fa
Xerbo
f397b84513
Add palette support, remove falsecolor image type
I will tidy this up in the next few commits
4 anni fa
Xerbo
be4ba0b52a
Small bug fixes & small changes
4 anni fa
Xerbo
61fb740c19
Small bug fixes
Processing more than one image at once didn't work (quite bodgey)
MCIR would run even without a map
Error handling for map/raw images that don't exist
4 anni fa
Xerbo
69a43e8237
Turn off compression in realtime decoded images
4 anni fa
Xerbo
6a05b7a9c1
Add -o flag
Allows custom filenames for the output image
Fix formatting in help text
4 anni fa
Xerbo
175a76054e
Fix MCIR & Temperature
Also improve land color in MCIR images
4 anni fa
Xerbo
a35a4c602b
Switch to tabs
4 anni fa
Xerbo
9738b05653
Fix temperature calibration & lots of small changes
Add linear equalise
Add image flip for southbound passes
Completly remove old falseclor in favour of a much simplier method
4 anni fa
Xerbo
94dccc74e5
Add realtime decoding
Change calibration to better suit constant gain
Add -Wextra to Makefile
Add link to model of the PLL
Max number of rows for the image is now increasible
4 anni fa
Xerbo
cd3b206d7a
Restore the ability to create greyscale images
4 anni fa
Xerbo
e489b548fe
Fix telemetry cropping
4 anni fa
Xerbo
fb8dfc3de3
Fix falsecolor
4 anni fa
Xerbo
c46f162ce8
Add effect option for precipitation
Also change palette to something nicer
4 anni fa
Xerbo
e990602455
Large changes
Add a denoise filter
Fix temperature calibration
Tidy up some files
Improve MCIR
4 anni fa