Commit Graph

233 Commits

Author SHA1 Message Date
John Cupitt e74a0b71d9 almost done compass 2013-10-24 14:46:08 +01:00
John Cupitt 4d724c0023 started compass 2013-10-24 08:33:59 +01:00
John Cupitt 5475cabbf2 redo im_dilate()/erode() as classes
just a thin wrapper over the vips7 operations for now
2013-10-23 13:15:31 +01:00
John Cupitt 439522a254 add vips_similarity()
simple wrapper over vips_affine() that lets you give the matrix as scale
+ angle.
2013-10-03 11:56:35 +01:00
John Cupitt 81bd3c1b53 more cosmetic 2013-10-02 05:51:14 +01:00
John Cupitt feb72b2a5a vips_conv() should work 2013-10-02 05:21:11 +01:00
John Cupitt 45a9e417f4 start vips_conv() 2013-10-01 14:26:13 +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 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 88c3f7ab7d fix compiler warnings
some compiler warnings appeared in a production build (assert()s
commented out, -Wall, and -O2)

thanks to Dmitry Roshchin for the report
2012-08-14 12:43:54 +01:00
John Cupitt f98dbceb60 add VIPS_IMAGE_N_PELS()
a macro to calculate the number of pels in an image, in 64 bits
2012-01-15 11:15:12 +00:00
John Cupitt d0ec401a12 hackery to get goi working 2011-12-31 18:22:42 +00:00
John Cupitt d75f2af5ea oop bandjoin bug 2011-12-16 12:25:39 +00:00
John Cupitt 64e43c6a5c VipsFormat compat fixes 2011-12-16 08:35:44 +00:00
John Cupitt fba3d000a3 handle offset correctly in convsep
separable convolutions didn't handle offset correctly, thanks Nicolas
2011-10-15 13:12:46 +01:00
John Cupitt d6526f7814 allow quoted strings in CSV files 2011-10-11 14:30:44 +01:00
John Cupitt ae8faf6597 remove dmalloc support
we never used it and valgrind etc. is better anyway
2011-09-23 17:12:47 +01:00
John Cupitt 9c84b0dfd9 add vips_tracked_malloc()
new malloc()/free() pair do tracked allocations ... use g_new()/g_free()
everywhere else
2011-09-21 14:50:32 +01:00
John Cupitt 5efdcd9b76 Merge remote-tracking branch 'origin/master'
Conflicts:
	libvips/convolution/im_aconv.c
2011-06-15 17:53:24 +01:00
John Cupitt 4650234e20 add VIPS_EXEEXT to the exported API
EXEEXT was just internal, now it's part of the API we export
2011-06-15 14:42:49 +01:00
John Cupitt 7bd79e3ef4 16-bit intermediates for im_aconv()
im_aconv() can use 16-bit intermediates for 8-bit images, if the mask has
small enough hlines (all less than 256 elements)

also, work for all types
2011-06-14 12:36:07 +01:00
John Cupitt 85e1359e4a Merge remote-tracking branch 'origin/master' 2011-06-13 21:36:05 +01:00
John Cupitt ef8fee1722 -ore im_aconv() tweaks
common-up hlines where we can
2011-06-13 14:09:19 +01:00
John Cupitt c248b7203d more im_aconv() cluster polishing
larger edge buffer, strike out all involved nodes on merge
2011-06-10 17:21:32 +01:00
John Cupitt 702ffd3d36 oops 2011-06-10 14:33:29 +01:00
John Cupitt c605153852 much faster clustering in im_aconv()
cluster lines in batches to avoid rescanning the whole space each time
2011-06-10 12:02:33 +01:00
John Cupitt 953a315755 more im_aconv() speedups
now uses rolling boxes for the vertical pass too
2011-06-09 17:53:53 +01:00
John Cupitt 4e3e0cee6c refactor im_aconv
get ready for rolling vertical sums too
2011-06-09 15:21:42 +01:00
John Cupitt 21fce2ab9e im_aconv() works for a large 2d mask
needs some more tuning, we should be able to speed it up still
2011-06-09 11:39:31 +01:00
John Cupitt d0cb80b341 more testing
now fails for large square masks
2011-06-09 00:57:55 +01:00
John Cupitt ab06ba8a1b woo, works 2011-06-09 00:45:43 +01:00
John Cupitt ecf344ec0f more tweaks, still not working
argh, can't see the problem
2011-06-08 22:13:30 +01:00
John Cupitt 788a43b8b1 im_aconv() almost working 2011-06-08 14:49:28 +01:00
John Cupitt 69331fab9f new im_aconv() compiles
compiled and linked in, needs testing though
2011-06-08 13:37:03 +01:00
John Cupitt 2d717ec578 more aconv hackery 2011-06-08 10:30:18 +01:00
John Cupitt b1c1a3a65d more hacking on im_aconv()
got the splitter more-or-less done, the convolver next
2011-06-07 14:50:32 +01:00
John Cupitt 0aa9f81c30 started im_aconv()
started hacking non-separable version of im_aconvsep()
2011-06-06 17:35:32 +01:00
John Cupitt 20a65cca59 aconvsep supports all formats
float/int/complex etc. all work
2011-06-04 21:12:55 +01:00
John Cupitt 710294f889 rename aconv as aconvsep 2011-06-04 17:44:54 +01:00
John Cupitt 70dc170d97 much better accuracy for small masks 2011-06-04 12:39:54 +01:00
John Cupitt 56d8f75500 fix an edge problem in aconv
aconv no longer has tiling artifacts
2011-06-04 10:01:52 +01:00
John Cupitt 971615d6ae back to fixed refs, add a pool system instead
floating refs were very confusing and annoying, instead use simple fixed
refs and add a pool system to track refs for you

also fixed a couple of dumb errors in close callbacks
2011-06-02 12:23:56 +01:00
John Cupitt 75e5804e3c small fixes
also bumped smalltile to 512x512 for tetsing aconv, this needs checking
2011-06-01 17:56:28 +01:00
John Cupitt 6819919f0c im_aconv() works
got im_aconv() working, woo
2011-06-01 17:36:17 +01:00
John Cupitt 45b582678f first paste of aconv 2011-06-01 09:17:07 +01:00
John Cupitt 03d54dd099 im_conv() bug fixed
there was a typo in overflow estimation which could cause vips to use
the vector path when it should not, resulting in errors
2011-05-09 16:56:41 +01:00
John Cupitt b8e526d40e now runs simple operations
im_copy and im_invert at least seem to work
2011-03-09 17:45:37 +00:00
John Cupitt 86163fe9ec allow more dimensions for fits read 2010-11-30 13:47:45 +00:00
John Cupitt 83fc52c491 smaller norm factor for d->i mask 2010-11-30 11:53:53 +00:00
John Cupitt d4e7af5f58 stuff 2010-11-18 13:54:44 +00:00
John Cupitt b0f162478f more im_conv improvements 2010-11-18 12:36:49 +00:00
John Cupitt 2872fc8eb8 stuff 2010-11-09 16:30:19 +00:00
John Cupitt 425795a8c8 multipass mode for im_conv() 2010-11-08 17:24:58 +00:00
John Cupitt 526590d244 fix vector stuff 2010-11-05 10:52:29 +00:00
John Cupitt 3dfc8d8ee2 stuff 2010-11-04 17:30:49 +00:00
John Cupitt f930fe061b use names less in orc 2010-11-04 13:50:20 +00:00
John Cupitt 49aac21adc morph oops 2010-11-03 13:43:42 +00:00
John Cupitt 5283a14575 stuff 2010-11-02 14:48:46 +00:00
John Cupitt 854bf2e5e3 oops 2010-11-02 13:14:32 +00:00
John Cupitt 2bcf18a2b7 remove special im_convsep_f() code 2010-11-02 13:00:48 +00:00
John Cupitt f3b5bfde80 merge orc branch 2010-11-01 17:46:47 +00:00
John Cupitt 288d8583ac gtk-doc for mask 2010-10-23 09:27:41 +00:00
John Cupitt 3145b7aed5 added complex convolution 2010-10-01 11:03:11 +00:00
John Cupitt bdfab2b297 added win32 build system to svn 2010-09-07 16:01:13 +00:00
John Cupitt 38dde13826 3x3 mode for im_conv() 2010-08-23 11:18:59 +00:00
John Cupitt 3d0aba1a89 /0 probs with masks 2010-03-28 09:56:49 +00:00
John Cupitt 3268bd0aaf hist hacking 2010-03-26 10:03:37 +00:00
John Cupitt fb4a191ab7 stuff 2010-02-17 22:06:29 +00:00
John Cupitt 3c18b0f0c1 stuff 2010-02-17 17:17:38 +00:00
John Cupitt 81afcea40d stuff 2010-02-15 17:32:21 +00:00
John Cupitt 2932f383bc convolution docs 2010-02-03 16:24:05 +00:00
John Cupitt e493e7136a polishing 2010-02-02 21:55:29 +00:00
John Cupitt 79c050c814 added vips_bandfmt_*() 2010-01-26 21:28:33 +00:00
John Cupitt 73fba1c2ea rename convf to conv_f to help overloading 2009-11-13 12:01:36 +00:00
John Cupitt 2b3a198f9b stuff 2009-11-12 15:47:41 +00:00
John Cupitt c2a4908d43 stuff 2009-11-07 21:33:07 +00:00
John Cupitt 04f01d3e60 deprecate _raw versions 2009-11-05 14:57:30 +00:00
John Cupitt cf18ba40ab stuff 2009-11-04 14:06:47 +00:00
John Cupitt 42b73f0dc8 stuff 2009-11-03 19:03:47 +00:00
John Cupitt b628642f4a fix im_errormsg() calls 2009-09-21 15:50:29 +00:00
John Cupitt 0534e5563d im_stats fix 2009-09-01 14:21:28 +00:00
John Cupitt 4e76695e19 merge gtkdoc branch 2009-08-16 15:00:08 +00:00