From 62783aee16f96fe5e513fb230b8efddaa02981df Mon Sep 17 00:00:00 2001 From: scuri Date: Thu, 1 Oct 2009 02:56:38 +0000 Subject: New: functions imProcessUnsharp and imProcessSharp. Changed: now imProcessUnArithmeticOp, imProcessArithmeticConstOp and imProcessArithmeticOp willl crop the result to 0-255 if destiny has data type byte. Changed: removed IM_UN_INC operation from imProcessUnArithmeticOp. It was not an unary operation. Can simply be done in place by imProcessArithmeticOp and IM_BIN_ADD. --- html/en/history.html | 11 ++- include/im_complex.h | 20 ++++ include/im_math_op.h | 15 +-- include/im_process_loc.h | 29 ++++++ include/im_process_pon.h | 20 ++-- src/im_process.def | 3 + src/lua5/im_process.lua | 3 + src/lua5/imlua_process.c | 56 ++++++++++- src/process/im_arithmetic_bin.cpp | 98 ++++++++++++++++++-- src/process/im_arithmetic_un.cpp | 64 +++++++++++-- src/process/im_convolve.cpp | 190 +++++++++++++++++++++++++++----------- 11 files changed, 420 insertions(+), 89 deletions(-) diff --git a/html/en/history.html b/html/en/history.html index afff43e..99da0f2 100644 --- a/html/en/history.html +++ b/html/en/history.html @@ -14,7 +14,9 @@

CVS (28/Set/2009)