X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=tools%2Fif1.cpp;h=39158f8550dbf6e5dc9a37dbfa14b8ca8b6fda20;hp=cac6df3f1cf40821dbd1aa058eaa895544bf9db0;hb=8a7697ce57b56cdc43698cd1241ad98d49f9b5ac;hpb=01acfa479bff099d5de3b49cb58e0beb2221bdfa diff --git a/tools/if1.cpp b/tools/if1.cpp index cac6df3..39158f8 100644 --- a/tools/if1.cpp +++ b/tools/if1.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: if1.cpp,v 1.4 2000/12/29 19:30:08 kevin Exp $ +** $Id$ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -46,7 +46,7 @@ static struct option my_options[] = {0, 0, 0, 0} }; -static const char* g_szIdStr = "$Id: if1.cpp,v 1.4 2000/12/29 19:30:08 kevin Exp $"; +static const char* g_szIdStr = "$Id$"; void if1_usage (const char *program) @@ -138,23 +138,23 @@ if1_main (int argc, char *const argv[]) int ny = im_in.ny(); ImageFile im_out (nx, ny); - if (opt_invert) { + if (opt_invert) { im_in.invertPixelValues (im_out); histString = "Invert transformation"; } - if (opt_log) { + if (opt_log) { im_in.log (im_out); histString = "Logrithmic transformation"; } - if (opt_exp) { + if (opt_exp) { im_in.exp (im_out); histString = "Exponential transformation"; } - if (opt_sqr) { + if (opt_sqr) { im_in.square (im_out); histString = "Square transformation"; } - if (opt_sqrt) { + if (opt_sqrt) { im_in.sqrt (im_out); histString = "Square root transformation"; }