projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
619d5d1
)
update guassian.im with IMAGER_NO_CONTEXT
author
Tony Cook
<tony@develop-help.com>
Mon, 6 Aug 2012 01:23:51 +0000
(11:23 +1000)
committer
Tony Cook
<tony@develop-help.com>
Sat, 24 Nov 2012 03:59:20 +0000
(14:59 +1100)
gaussian.im
patch
|
blob
|
blame
|
history
diff --git
a/gaussian.im
b/gaussian.im
index 45fc02d9ce04742f9e55a515da2d787e81224639..7e937692332c05852239ce97714bb27ebffba8b1 100644
(file)
--- a/
gaussian.im
+++ b/
gaussian.im
@@
-1,3
+1,4
@@
+#define IMAGER_NO_CONTEXT
#include "imager.h"
#include <math.h>
@@
-25,8
+26,9
@@
i_gaussian(i_img *im, double stddev) {
double res[MAXCHANNELS];
i_img *timg;
int radius, diameter;
+ dIMCTXim(im);
-
mm_log((
1,"i_gaussian(im %p, stdev %.2f)\n",im,stddev));
+
im_log((aIMCTX,
1,"i_gaussian(im %p, stdev %.2f)\n",im,stddev));
i_clear_error();
if (stddev <= 0) {