FBCONV
Section: User Commands (1)
Updated: 03-Jun-93
Index
Return to Main Contents
NAME
fbconv - convert image format
SYNOPSIS
fbconv [ -<type> ] [ -c ] <n> <k00> <k01> .. <kNN> < 8bit > 8bit
fbconv [ -<type> ] [ -s ] < 8bit > 8bit
DESCRIPTION
A general convolution filter.
OPTIONS
- -s
-
Sobel,
Calculate the Sobel gradient instead of a simple convolution.
The
-s5
option calculates a 5x5 analog of the Sobel filter.
EXAMPLE
To compute a simple area averaging, you could use:
% fbconv 3 0.1 0.1 0.1 0.1 0.2 0.1 0.1 0.1 0.1 < 8bit > 8bit
It's much easier to keep filters in a file, and then use the
csh's backquote mechanism to include them in the argument list.
For example, if
smooth.5x5
contains these numbers:
5
0.000 0.025 0.050 0.025 0.000
0.025 0.050 0.075 0.050 0.025
0.050 0.075 0.100 0.075 0.050
0.025 0.050 0.075 0.050 0.025
0.000 0.025 0.050 0.025 0.000
then this command will apply this filter to an image:
% fbconv `cat smooth.5x5` < 8bit > 8bit
SEE ALSO
fbm(1) for general discussion, fbsample(1) for 1bit to 8bit averaging.
BUGS
None known.
HISTORY
Copyright (C) 1993 by Michael Mauldin. Permission is granted
to use this file in whole or in part for any purpose, educational,
recreational or commercial, provided that this copyright notice
is retained unchanged. This software is available to all free of
charge by anonymous FTP and in the UUNET archives.
- 03-Jun-93 Michael Mauldin at Carnegie Mellon University
-
Created.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXAMPLE
-
- SEE ALSO
-
- BUGS
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 04:11:01 GMT, November 29, 2024