Kleis Auke Wolthuizen
0337c09700
Cleanup gettext handling ( #2695 )
...
Use GLib's i18n support instead of copying and pasting that
logic into its own header. This deprecates the vips/intl.h
header in favour of glib/gi18n.h.
2022-02-27 15:27:28 +00:00
John Cupitt
257d84108e
fix some more introspection warnings
2022-02-15 09:48:01 +00:00
Kleis Auke Wolthuizen
9246094033
Fix function pointer cast issues
...
It is undefined behavior in C and C++ to cast a function pointer
to another type and call it that way. This does work in most native
platforms, however, despite it being UB, but in WASM it can fail.
See:
https://emscripten.org/docs/porting/guidelines/function_pointer_issues.html
2020-06-30 13:35:41 +02:00
John Cupitt
4f2112a4e9
fix memleak in canny
2019-03-11 11:35:25 +00:00
John Cupitt
c5bf128e39
add "precision" control to canny
2018-03-18 11:12:06 +00:00
John Cupitt
6d570ef0ff
more canny cleanups
2018-03-17 22:42:40 +00:00
John Cupitt
81a7fb92eb
oop
2018-03-17 18:12:14 +00:00
John Cupitt
ad13dd2041
add a high-precision path for canny
2018-03-17 18:10:50 +00:00
John Cupitt
3fe9b7abc5
split thresh stuff out of canny
2018-03-16 17:26:06 +00:00
John Cupitt
7328f47333
fix atan2 lut in canny
2018-03-16 16:29:52 +00:00
John Cupitt
ae82877e66
try a LUT for atan2
2018-03-14 17:19:17 +00:00
John Cupitt
84810a6c5c
update notes
2018-03-05 08:21:51 +00:00
John Cupitt
4a59fa652c
make vips_sobel()
...
cut out of vips_canny()
2018-02-26 18:33:20 +00:00
John Cupitt
0365e3403e
add double threshold to canny
...
and some more tuning
2018-02-10 16:07:21 +00:00
John Cupitt
407291c3ff
try a simpler edge detect in canny
...
simple +/- differencing seems to work better
2018-02-08 17:14:26 +00:00
John Cupitt
43cbd32955
try interpolating theta
2018-02-05 09:22:58 +00:00
John Cupitt
ce6d37189c
non-interpolatory edge thinning works
...
woo
2018-02-03 17:34:49 +00:00
John Cupitt
6944f78452
add edge thinning to canny
2018-02-03 10:14:09 +00:00
John Cupitt
a93e8dd079
start adding canny
...
just adding edge thinning
see https://en.wikipedia.org/wiki/Canny_edge_detector
2018-02-02 17:00:23 +00:00