John Cupitt
3ceec6682f
better error message from getpoint
2015-01-05 13:37:27 +00:00
John Cupitt
9b3351f73a
vips_getpoint() frees input region sooner
...
we were leaving a region active after _build(), which caused problems later if
another operation triggered a rewind (for example)
2014-12-16 13:26:01 +00:00
John Cupitt
394149e9e8
fix all docs warnings
2014-11-17 10:32:40 +00:00
John Cupitt
be4ffa6d8a
more pyvips8 docs
...
and cleanups of various small doc markup errors
2014-11-07 14:49:18 +00:00
John Cupitt
d7083d7a03
make arrayimage ref/unref
2014-09-23 14:38:46 +01:00
John Cupitt
bb50478d77
fix more, moreeq
...
there was a problem with operation caching in complex programs because of
the way we were swapping pointers
2014-09-17 11:21:34 +01:00
John Cupitt
de594151a5
rename NOTEQUAL as NOTEQ
...
since <= is LESSEQ
python has some relational overloads now
2014-09-16 17:25:20 +01:00
John Cupitt
a82fa01781
more tests
2014-09-15 13:58:31 +01:00
John Cupitt
24ff40e9be
find_indexed wasn't banning complex images
2014-09-15 13:25:04 +01:00
John Cupitt
133e2f94e9
fix linear with mismatched vectors
...
we had:
$ vips linear sarto_ng.v x.v "1 2 3" "4"
$ vipsheader x.v
x.v: 1865x2556 float, 1 band, b-w
$ vips linear sarto_ng.v x.v "1" "4 5 6"
$ vipsheader x.v
x.v: 1865x2556 float, 3 bands, b-w
there was a typo in linear.c
2014-09-15 12:41:05 +01:00
John Cupitt
12d623fa25
fix hist_find crash with non-u8/u16 input
2014-09-15 11:42:21 +01:00
John Cupitt
cc599844d2
fix getpoint(0,0)
...
and add more tests
2014-09-15 09:06:36 +01:00
John Cupitt
666a0a6f83
fix avg of complex
...
oops, can't avg mod2, duh
2014-09-12 14:01:20 +01:00
John Cupitt
7608524f61
fix up gtk-doc comments
...
fewer warnings now, phew
2014-09-03 14:32:55 +01:00
John Cupitt
a370e5003e
vips array types are more binding-friendly
...
this all works now:
```python
from gi.repository import Vips
a = Vips.ArrayDouble.new([1,2,3])
a.get()
a = Vips.ArrayInt.new([1,2,3])
a.get()
a = Vips.ArrayImage.new([c, d, e])
a.get()
```
2014-08-31 10:41:53 +01:00
John Cupitt
5125cc535c
Merge branch '7.40'
...
Conflicts:
TODO
2014-08-19 18:04:24 +01:00
John Cupitt
573b94e3ec
more docs argh
2014-08-19 17:57:27 +01:00
John Cupitt
32a8fe117e
start working on --disable-deprecated
...
need to move im_conv() etc to classes to finish this
2014-07-25 18:06:52 +01:00
John Cupitt
da77b68d3e
bump version to 7.40
...
and rename header and edvips as vipsheader and vipsedit
remove mergeup and find_mosaic
2014-06-23 20:22:50 +01:00
John Cupitt
84d65c1727
Merge branch '7.38'
...
Conflicts:
libvips/resample/affine.c
2014-06-18 13:48:08 +01:00
John Cupitt
35533a54cf
finish reviding the fixed-up image load/save API
2014-06-08 11:16:58 +01:00
John Cupitt
5b19fc4f8d
update notes
2014-06-05 14:49:27 +01:00
John Cupitt
3a4569e99b
longer stall time for ahead-threads
...
we must stall for AGES occasionally, really the stall time is about
enforcing a certain thread ordering
2014-05-22 13:40:06 +01:00
John Cupitt
c3caa595a2
complex lut was broken
2014-05-21 17:34:53 +01:00
John Cupitt
087eb233f7
auto-decode to lab, not labs
...
helps in many places
2014-05-19 23:35:27 +01:00
John Cupitt
011fd99a1a
start fixing up the auto-decode stuff
2014-05-19 14:53:47 +01:00
John Cupitt
1772588eb6
small fixes
...
help cleanup and debug if operations fail
2014-05-16 08:28:44 +01:00
John Cupitt
8f6e959133
include oops
2014-04-28 12:59:19 +01:00
John Cupitt
ca30eac21a
add credit to David
2014-04-04 10:39:08 +01:00
John Cupitt
04070445eb
oops in hough_circle.c
2014-04-03 21:37:23 +01:00
John Cupitt
b1c0acf3e2
docs for hough funcs
2014-04-01 19:45:51 +01:00
John Cupitt
fb24bc84d3
normalise hough_circle output
...
correct for number of pixels in circumference
2014-04-01 19:39:10 +01:00
John Cupitt
59b36f8351
fix hough_circle params
2014-04-01 18:54:00 +01:00
John Cupitt
ee53b01886
vips_hough_circle() added
2014-04-01 12:27:15 +01:00
John Cupitt
4c1d07f53a
vips_hough uses vips_draw_image() to accumulate
...
rather than vips_sum() ... 2x faster
2014-03-28 14:11:05 +00:00
John Cupitt
7752eb89e0
add vips_draw_add()
...
and start vips_hough_circle()
2014-03-26 20:33:31 +00:00
John Cupitt
bb87bb3690
small hough cleanups
2014-03-25 08:45:57 +00:00
John Cupitt
4d758af087
use a LUT for hough sin/cos
2014-03-24 19:45:03 +00:00
John Cupitt
9a1fa499f5
split hough to a base class and a line detector
2014-03-24 16:56:54 +00:00
John Cupitt
067b2a6ac1
started splitting hough.c up
2014-03-24 14:56:04 +00:00
John Cupitt
755f9ed1cb
comment improvements
2014-03-23 11:29:39 +00:00
John Cupitt
0e608c89bf
basic hough transform seems to work
2014-03-22 17:07:35 +00:00
John Cupitt
06b8b7a0f3
stuff
2014-03-20 09:15:15 +00:00
John Cupitt
4c31c77d80
add vips_sum()
...
sum an array of images
2014-03-18 19:39:47 +00:00
John Cupitt
ea1aeaec8c
argh revert complex linear again
...
how did it get tangled up
2014-03-06 19:43:45 +00:00
John Cupitt
28b6602683
Merge remote-tracking branch 'origin/7.38'
...
Conflicts:
ChangeLog
configure.ac
2014-03-06 16:03:33 +00:00
John Cupitt
499b977043
back out the complex linear stuff
...
needs cooking for a while longer in a branch
2014-03-04 14:32:43 +00:00
John Cupitt
a562f46e69
VipsLinear allows complex constants
2014-02-22 16:08:46 +00:00
John Cupitt
c3def93361
ban size == 0 for max/min
2014-02-19 17:13:12 +00:00
John Cupitt
25fbe71c74
do im_read_point() / im_draw_point()
2014-02-10 21:54:54 +00:00
John Cupitt
e809f9d169
stats operations are sequential
2014-02-08 14:14:53 +00:00
John Cupitt
fb489bad53
move vips_image_decode() into the public API
2014-02-03 14:29:57 +00:00
John Cupitt
4167bdf0e6
small operation description fixes
...
more consistency, fix a couple of missing ones
2014-02-03 09:25:09 +00:00
John Cupitt
affb274d85
more auto unpack hacking
2014-01-23 13:19:37 +00:00
John Cupitt
d059431867
more auto-decode stuff
...
more to do though
2014-01-22 14:53:48 +00:00
John Cupitt
e489d2e099
add --uchar option to vips_linear()
2014-01-14 19:31:19 +00:00
John Cupitt
9ac512cfc6
fix cross-phase
2014-01-07 08:43:51 +00:00
John Cupitt
2a79c6110b
tiny stuff
2013-12-18 17:17:03 +00:00
John Cupitt
c4cce7c978
fix /0 bug
...
real image / real image failed for rhs == 0
2013-12-18 16:36:48 +00:00
John Cupitt
2559581939
oops opcode args wrong in vector abs
2013-12-04 11:12:22 +00:00
John Cupitt
f606f038eb
more restrict use
2013-12-03 14:25:22 +00:00
John Cupitt
4aedd7cd16
put the ORC stuff back in arithmetic
...
ready to use on linear.c
2013-12-03 12:39:13 +00:00
John Cupitt
0bb052414a
use plain "restrict"
...
configure changes this to __restrict__ for us, if the compiler supports
it
2013-12-03 08:53:36 +00:00
John Cupitt
85fe00ac46
stop sdev zero being generated by sharpen
2013-12-02 14:08:27 +00:00
John Cupitt
7c43e3d332
remove the orc stuff from arithmetic
...
no faster than gcc auto vec
2013-12-02 11:22:08 +00:00
John Cupitt
1cffe216f5
faster vips_linear()
...
put the 1ary path back, faster with gcc 4.8
2013-11-30 17:26:13 +00:00
John Cupitt
dccc5d5180
add __restrict__ markup to loop pointers
...
helps auto-vec
also remove a couple of if()s from inner loops, again, helps auto-vec
2013-11-30 13:55:10 +00:00
John Cupitt
eb3ad6d64f
add lots of instrumentation
...
also svg output
2013-11-26 14:57:56 +00:00
John Cupitt
f0d4760560
redo correlation funcs as classes
...
im_fastcor()
im_spcor()
im_gradcor()
though gradcor we just deprecate, it's complex and hardly used ...
rework later is anyone complains
2013-11-08 14:09:42 +00:00
John Cupitt
12cf71a6a9
combin copy_fields and demand_hint
...
We had two API calls, vips_image_copy_fields() and vips_demand_hint().
They are now combined in the single vips_image_pipeline() call.
All operations are now slightly smaller and simpler.
2013-10-22 09:29:40 +01:00
John Cupitt
440b800e0e
add a new unbuffered seq mode
...
things like
vips copy huge.png x.v
now run with only a small line cache
2013-09-29 11:04:11 +01:00
John Cupitt
b11de1ce22
redo im_profile() as a class
...
also fix an oops in the new project.c code
2013-09-21 15:21:15 +01:00
John Cupitt
2088e3d111
im_project() becomes a class
2013-09-16 12:19:48 +01:00
John Cupitt
333d15aed0
new hist class structure
2013-09-03 14:49:57 +01:00
John Cupitt
13cf12f0df
more im_histindexed() to a class
2013-08-19 15:14:15 +01:00
John Cupitt
f0359b7f38
start on indexed hist
2013-08-19 09:41:40 +01:00
John Cupitt
e2215bd04c
redo im_histnD() as a class
2013-08-17 16:59:28 +01:00
John Cupitt
eea3cbf180
small cleanups
2013-08-12 13:30:30 +01:00
John Cupitt
ae6d917811
redo im_histgr() as a class
2013-08-12 11:47:53 +01:00
John Cupitt
924d4a6d3b
more hist_find hackery
2013-08-09 09:25:47 +01:00
John Cupitt
aa935133d0
vipsthumbnail uses new vips_info()
2013-08-07 09:57:18 +01:00
John Cupitt
6167d4d97c
Fix three minor memleaks
2013-07-15 22:01:00 +01:00
John Cupitt
7312fd4ed4
more array->matrix renaming
2013-07-03 09:22:04 +01:00
John Cupitt
7490da07a6
rename image array as matrix
...
we had vips_image_new_array(), this was confusing with VIPS_TYPE_ARRAY,
something completely different ... rename image array as matrix
2013-07-02 22:09:50 +01:00
John Cupitt
2fd2fd58f7
fix up gtk-doc
...
fix various problems:
- out of date IGNORE in doc/reference/Makefile.am
- name clashes between private .h and public
2013-06-17 20:16:20 +01:00
John Cupitt
a2d06e640e
small cppcheck-suggested polishes
2013-05-07 17:22:29 +01:00
John Cupitt
4c5772fe5f
rename vips7.po as vips7.32.po
...
helps Debian, where they need to be able to install versions in parallel
2013-04-16 14:30:28 +01:00
Benjamin Gilbert
8cc76a6ba3
Update address for Free Software Foundation
...
Also update LGPLv2.1 license text from the copy currently on the GNU
website.
2013-03-07 00:40:19 -05:00
John Cupitt
90709538e6
update configure system
2013-01-23 10:17:51 +00:00
John Cupitt
c43924f716
Merge remote-tracking branch 'origin/7.30'
...
Conflicts:
ChangeLog
configure.in
2012-12-31 14:40:30 +00:00
John Cupitt
f83854b049
small fix
2012-12-24 13:57:01 +00:00
John Cupitt
4705e90c8c
oops
2012-12-07 11:42:18 +00:00
John Cupitt
eba5f05649
vips_invert() only inverts real part
2012-12-07 11:37:00 +00:00
John Cupitt
ee8d11ec6b
small cleanups
2012-12-07 11:32:33 +00:00
John Cupitt
3dc10831c1
added vips_bandbool()
2012-12-07 11:17:09 +00:00
John Cupitt
1de6c6bcc6
add binary complex ops
...
cross_phase is the only one atm
2012-12-06 14:52:51 +00:00
John Cupitt
a83da34355
more deprecations
...
im_point*() and im_linreg() this time
2012-12-06 14:10:43 +00:00
John Cupitt
5b271d16ed
deprecate im_maxpos_avg()
...
and add wrappers for im_maxpos_vec() / im_minpos_vec()
2012-12-05 21:44:41 +00:00
John Cupitt
a4433f1b9f
vips_min() done too
2012-12-05 14:40:01 +00:00
John Cupitt
1e332d2f29
vips_max() returns arrays for position and value
...
int array type too for x/y position arrays
2012-12-05 13:11:29 +00:00
John Cupitt
97d1431abe
move arith_dispatch to deprecated
2012-12-05 08:52:04 +00:00
John Cupitt
713ecf8252
compiles
2012-12-04 14:57:41 +00:00
John Cupitt
1aee7b73d5
start new max hacking
2012-12-03 14:53:10 +00:00
John Cupitt
8f364a8b51
rename some _get funcs
...
all the _get_ funcs that returned a bool have become _isthing()
functions, eg.
vips_object_argument_get_assigned() ->
vips_object_argument_isset()
2012-11-09 13:08:59 +00:00
John Cupitt
8df32c84c1
more work on vips_quadratic
2012-11-08 13:34:37 +00:00
John Cupitt
3216fddc92
easier array arg creation
...
added stdarg array double creator, used the _new as well, small other
fixes
2012-11-02 21:45:13 +00:00
John Cupitt
777d1ea554
better error domain names
2012-11-02 14:41:47 +00:00
John Cupitt
8c894f283f
fix a segv with colour difference
2012-10-30 10:57:33 +00:00
John Cupitt
26f2105e5b
make everything LGPL2.1+
...
some files were incorrectly tagged as GPL, thanks Dmitry
2012-09-17 11:52:32 +01:00
John Cupitt
17f6489c0e
Merge remote-tracking branch 'origin/7.28'
...
Conflicts:
ChangeLog
configure.in
libvips/deprecated/im_csv2vips.c
2012-07-18 10:39:29 +01:00
John Cupitt
5363aace39
wopconst was wrong
...
struct offset astray meant that wopconst didn't work
2012-07-17 09:46:16 +01:00
John Cupitt
34602a082a
Merge remote-tracking branch 'origin/7.28'
2012-07-16 14:41:12 +01:00
John Cupitt
cd1b215579
vips8 more/moreeq were broken
...
The code to swap the args and use less instead was wrong.
2012-07-16 14:09:03 +01:00
John Cupitt
97424321ac
memory error in vips_sign()
2012-07-16 12:50:28 +01:00
John Cupitt
cbe0dcf797
fix another tiny ref leak
2012-07-14 13:05:58 +01:00
John Cupitt
643dc28950
turn on seq mode automatically in cli
...
cli operations turn on seq mode automatically when they can
vips_operation_get_flags() added: lets you attach a set of flags to an
operation
flags for now are "nocache" (replacing the old nocache system) and "seqential"
if vips_object_set_argument_from_string() from string sees "seq" flag on the
object for which it is setting the arg, it enables sequential mode
all operations which can run sequentially have been tagged
the operation printer knows about flags and can display them
2012-07-10 10:51:40 +01:00
John Cupitt
d338d0fae6
fix vips_divide() for int args
2012-04-06 12:09:53 +01:00
John Cupitt
8344dbb808
complex ==, != was broken
...
argh the broken test suite was hiding some nasties
2012-03-01 14:09:52 +00:00
John Cupitt
862cac1e4f
avoid NaN in max/min, better double ranges
2012-02-24 13:57:50 +00:00
John Cupitt
a7a5a69109
ignore complex /0
...
also rework TODO list ready for release push
2012-02-22 14:30:09 +00:00
John Cupitt
71d55c4554
compat wrapper for bool was broken
...
oops it was calling relational instead
2012-02-10 14:50:46 +00:00
John Cupitt
710b69e273
oops abs(double) was broken
2012-01-28 14:09:18 +00:00
John Cupitt
bf10ec7432
oop abs(complex) was broken
2012-01-27 21:24:47 +00:00
John Cupitt
c197e2f90e
more robust enum printing
2012-01-27 17:14:59 +00:00
John Cupitt
c190c8e660
new Python binding
...
just a test thing for now, but seems to work OK
some small tweaks to help gobject-introspction
2012-01-05 13:26:25 +00:00
John Cupitt
acd8ce277e
just the cache to fix now
2012-01-02 15:50:41 +00:00
John Cupitt
d0ec401a12
hackery to get goi working
2011-12-31 18:22:42 +00:00
John Cupitt
0983b50905
Merge remote-tracking branch 'origin/gobject-introspection' into goi-merge
...
Conflicts:
TODO
libvips/arithmetic/im_recomb.c
libvips/arithmetic/im_stats.c
libvips/deprecated/im_measure.c
libvips/include/vips/header.h
libvips/include/vips/image.h
libvips/include/vips/object.h
libvips/iofuncs/header.c
libvips/iofuncs/image.c
libvips/iofuncs/object.c
2011-12-24 17:36:55 +00:00
John Cupitt
a62f5f8832
remove wio_output
2011-12-21 12:08:29 +00:00
John Cupitt
7fe4843250
Merge remote-tracking branch 'origin/master' into format-hacking
...
also, start adding openslide.c to foreign
Conflicts:
ChangeLog
TODO
libvips/iofuncs/image.c
2011-12-11 15:54:08 +00:00
John Cupitt
e34b6b92e9
small cleanups
...
minor changed to openslide.c, use PEL everywhere as the pixel pointer
type
2011-12-09 14:30:45 +00:00
John Cupitt
5e037e4c68
foreign uses the cache
2011-12-02 13:15:05 +00:00
John Cupitt
4fccf06e5d
more work on refs
2011-11-30 22:06:52 +00:00
John Cupitt
5f288314bb
factor out some stuff into base classes
2011-11-22 12:00:32 +00:00
John Cupitt
173576259e
move im_ri2c() to a class
2011-11-21 14:51:34 +00:00
John Cupitt
0addd7fb6d
c2real(), c2imag() -> classes
2011-11-21 14:38:11 +00:00
John Cupitt
a64f96f7fb
started base class for band ops
2011-11-20 21:21:36 +00:00
John Cupitt
f944742c2a
bandmean as a class
...
also moved recomb over to conversion, other small fixes
2011-11-20 09:56:02 +00:00
John Cupitt
187212768d
add class for complex ops
...
and it does conj as well
2011-11-19 11:24:04 +00:00
John Cupitt
3b238d4e7e
finish revising new docs
2011-11-18 14:34:33 +00:00
John Cupitt
d401db768d
more docs hacking
2011-11-18 10:42:41 +00:00
John Cupitt
8cbf924d3f
more docs and convenience functions
2011-11-18 09:52:27 +00:00
John Cupitt
01a64422b2
start revising new docs
2011-11-18 09:08:45 +00:00
John Cupitt
4256563332
small fixes
2011-11-17 14:43:08 +00:00
John Cupitt
a4d9385408
fix pow/exp with a constant
2011-11-16 18:05:25 +00:00
John Cupitt
2f7de7f8d0
redone ifthenelse/blend as classes
...
relational/ can now go, woo
2011-11-15 21:49:49 +00:00
John Cupitt
cf09916df9
sync
2011-11-14 14:56:43 +00:00
John Cupitt
15f7568423
min/max error initing x/y
2011-11-14 12:10:54 +00:00
John Cupitt
a31c7d8caf
added math2, various 2ary math ops
2011-11-13 17:45:27 +00:00
John Cupitt
5b133145a7
move im_shift*( to a class, remove bool package
2011-11-12 17:18:13 +00:00