Commit Graph

4542 Commits

Author SHA1 Message Date
John Cupitt 61d9f03ef8 tiny fixes 2017-01-24 11:02:40 +00:00
John Cupitt c9ce8f70a1 fix an off-by-one error in hist_local
an odd window width caused an off-by-one error in histogram construction
2017-01-24 10:51:12 +00:00
John Cupitt 36761bcfd7 make vips_gaussnoise() pixels reproducible
previously, pixel values were regenerated on every calculation, so they
changed on recomputation

pixel values are now generated from the pixel (x, y) coordinate plus a per-call
seed

thanks MvGulik, see

https://github.com/jcupitt/nip2/issues/60

https://github.com/jcupitt/libvips/issues/583
2017-01-24 09:36:25 +00:00
John Cupitt c963678549 more hist_local fixups
add tests, add restrict
2017-01-22 10:36:07 +00:00
John Cupitt 9660036216 credit hunter-87
see https://github.com/jcupitt/libvips/issues/268
2017-01-22 10:09:40 +00:00
John Cupitt fa3c92c19b add CLAHE
vips_hist_local() has a new param, max_slope, which sets the maximum
amount that the local contrast can be boosted by -- CLAHE

see https://github.com/jcupitt/libvips/issues/268

also fix a couple of small range problems

- scale by 255, not 256, to avoid an overflow
- cum hist includes the current value, so sum to <= target, not < target
2017-01-22 10:05:58 +00:00
John Cupitt c89014fb3f first hack 2017-01-20 14:59:24 +00:00
John Cupitt d05018155d adjust notes for coverity changes 2017-01-20 09:16:46 +00:00
John Cupitt 8d49dee32c travis OS X done
clean up, don't allow fail
2017-01-20 08:56:23 +00:00
John Cupitt b140c18a37 various tweaks to calm coverity
passes cleanly now
2017-01-20 08:55:13 +00:00
John Cupitt 0de517ed23 more travis
don't reinstall libtiff
2017-01-19 18:39:57 +00:00
John Cupitt 1f68e690fc more travis for OS X
need to unlink sys py before installing
2017-01-19 16:43:42 +00:00
John Cupitt 9223004377 more travis tweaking
try brew install rather than reinstall. The .pc files are often
created by the install method, which might explain why libpng.pc was
missing.
2017-01-19 15:31:33 +00:00
John Cupitt 95793926b5 argh 2017-01-19 14:31:46 +00:00
John Cupitt fb64671b3e argh more travis
perhaps `pkg-config --debug` will show something useful
2017-01-19 14:13:53 +00:00
John Cupitt 721fae73fa tweak travis os x again
try without PKG_CONFIG_PATH, latest brew seems to not need it
2017-01-19 13:11:58 +00:00
John Cupitt 0bfcf2efc2 add note about vips_hist_find_ndim() 2017-01-19 09:23:05 +00:00
John Cupitt 5111246a1c oops argh travis 2017-01-18 20:41:10 +00:00
John Cupitt a0d9a0794e more dbg in travis.yml 2017-01-18 20:34:43 +00:00
John Cupitt d91396649f trying to fix travis OS X
try catting config.log
2017-01-18 16:20:22 +00:00
John Cupitt 79c21dfcf8 seems to be done! 2017-01-18 14:39:27 +00:00
John Cupitt 2b72244a45 fix fitsload 2017-01-17 19:09:00 +00:00
John Cupitt 0231b512b4 fits isn't quite working still 2017-01-17 14:53:40 +00:00
John Cupitt c464503510 Merge branch 'master' into invalidate-on-load-error 2017-01-17 13:47:14 +00:00
John Cupitt fb88d037fc Merge branch 'master' into add-thumbnail-geometry 2017-01-17 11:51:10 +00:00
John Cupitt 84270ce787 Merge branch 'master' into prepare-reorder 2017-01-15 10:40:25 +00:00
John Cupitt dafa26435e only use webp presets in lossy mode
it seems lossless and near-lossless modes have a separate preset system

see https://github.com/jcupitt/libvips/issues/578
2017-01-13 12:37:19 +00:00
John Cupitt 2f8a279f2d ooops, forgot convasep 2017-01-12 21:53:24 +00:00
John Cupitt 6b325145e4 use new hints and prepare everywhere 2017-01-12 14:36:44 +00:00
John Cupitt f302bd6570 all working! 2017-01-12 14:06:54 +00:00
John Cupitt 3d216da8c9 rename recomp as reorder 2017-01-12 09:15:10 +00:00
John Cupitt d1ef5a6890 compiles, needs more testing 2017-01-11 14:05:50 +00:00
John Cupitt c5e675f7db fix --vips-cache-max etc.
--vips-cache-max, --vips-cache-max-memory and --vips-cache-max-files were not
working and probably hadn't been for a while

vipsthumbnail.c turns off the operation cache, it's not useful for
the same operation repeated across many files
2017-01-10 14:12:24 +00:00
John Cupitt 8bbba73d73 try to fix soname.h again
now make in install-exec-hook so we are certain libvips.la has been built
2017-01-06 19:37:36 +00:00
John Cupitt ec79682215 small fixes 2017-01-06 14:01:55 +00:00
John Cupitt 2fa3736722 all done, I think 2017-01-06 13:43:43 +00:00
John Cupitt 470aee77f4 note govips 2017-01-06 08:43:09 +00:00
John Cupitt e958de7814 add geo strings 2017-01-05 15:02:29 +00:00
John Cupitt 366c1acd6c notes 2017-01-05 12:04:29 +00:00
John Cupitt 4ca1132087 improve reliability with high -j
another sleep to give libvips.la time to be fully written
2017-01-04 19:00:50 +00:00
John Cupitt eef4f035a1 try to fix make with -j
in all-hook, wait for libvips.la to appear
2017-01-04 17:04:38 +00:00
John Cupitt 180459ea16 turn off -j in travis
seems to break our soname.h creation
2017-01-04 16:57:36 +00:00
John Cupitt d905cf7ec3 more travis poking 2017-01-04 16:39:58 +00:00
John Cupitt 3e80828805 try to fix travis 2017-01-04 16:31:34 +00:00
John Cupitt 5d61bd4982 Merge branch 'master' into add-webp-metadata 2017-01-04 16:13:39 +00:00
John Cupitt 0dd51c43ac don't rebuild everything all the time
oops, soname.h was being rewritten all the time, triggering a full
rebuild every time
2017-01-04 15:51:59 +00:00
John Cupitt c4640b61c7 Merge branch 'glib-logging' 2017-01-04 14:58:11 +00:00
John Cupitt 784c7c0669 don't enable structured logging by default 2017-01-04 14:53:45 +00:00
John Cupitt 9581e14dee all done 2017-01-04 14:45:35 +00:00
John Cupitt b29201595d note fits improvements in changelog 2017-01-04 12:56:04 +00:00