Revision: 54885
http://brlcad.svn.sourceforge.net/brlcad/?rev=54885&view=rev
Author: carlmoore
Date: 2013-03-26 18:59:03 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
touchup so that pixfilter.c resembles, as close as possible, bwfilter.c .
Modified Paths:
--------------
brlcad/trunk/src/util/pixfilter.c
Modified: brlcad/trunk/src/util/pixfilter.c
===================================================================
--- brlcad/trunk/src/util/pixfilter.c 2013-03-26 17:36:58 UTC (rev 54884)
+++ brlcad/trunk/src/util/pixfilter.c 2013-03-26 18:59:03 UTC (rev 54885)
@@ -20,8 +20,8 @@
/** @file util/pixfilter.c
*
* Filters a color pix file with an arbitrary 3x3 kernel.
- * Leaves the outer rows untouched.
- * Allows an alternate divisor and offset to be given.
+ * Leaves the outer rows untouched. Allows an alternate divisor and
+ * offset to be given.
*
*/
@@ -50,7 +50,7 @@
{ "Low Pass", "lo", {3, 5, 3, 5, 10, 5, 3, 5, 3}, 42, 0 },
{ "Laplacian", "la", {-1, -1, -1, -1, 8, -1, -1, -1, -1}, 16, 128 },
{ "High Pass", "hi", {-1, -2, -1, -2, 13, -2, -1, -2, -1}, 1, 0 },
- { "Horizontal Gradient", "hg", {1, 0, -1, 1, 0, -1, 1, 0, -1}, 6, 128 },
+ { "Horizontal Gradient", "hg", {1, 0, -1, 1, 0, -1, 1, 0, -1}, 6, 128},
{ "Vertical Gradient", "vg", {1, 1, 1, 0, 0, 0, -1, -1, -1}, 6, 128 },
{ "Boxcar Average", "b", {1, 1, 1, 1, 1, 1, 1, 1, 1}, 9, 0 },
{ NULL, NULL, {0, 0, 0, 0, 0, 0, 0, 0, 0}, 0, 0 },
@@ -238,8 +238,8 @@
/*
* S E L E C T _ F I L T E R
*
- * Looks at the command line string and selects a filter based
- * on it.
+ * Looks at the command line string and selects a filter
+ * based on it.
*/
void
select_filter(char *str)
@@ -275,9 +275,10 @@
int i;
fputs(usage, stderr);
+ fputs("Possible arguments for -f (type):\n",stderr);
i = 0;
while (kernel[i].name != NULL) {
- fprintf(stderr, "%-10s%s\n", kernel[i].uname, kernel[i].name);
+ fprintf(stderr, " %-10s%s\n", kernel[i].uname, kernel[i].name);
i++;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits