GPIV_MKTESTIMG(1) General Commands Manual GPIV_MKTESTIMG(1)NAME
gpiv_mktestimg - Generates a simplified image for image processing.
SYNOPSIS
gpiv_mktestimg [-h | --help] [-p | --print] [-t N | --threshold N] [-w N] [-v | --version] [filename] < stdin > stdout
DESCRIPTION
gpiv_mktestimg generates an image (pair) in order to be processed by the processing tools. This program is provided for developing and
testing image processing tools.
The parameters read from the configuration resources (containing the key GPIV_IMGPROC) may be overruled by the command line options, as
explained below.
Options-h | --help
On-line help
-t N | --threshold N
Threshold value
-v | --version
Print version information on standard output, then exit successfully.
-w N window size (default: 15)
filename
Input image filename. Overrides stdin and stdout with the full filename of the image. Output will be written to filename.png. Param-
eters are stored in filename.par and may be used for future use by including them in ./gpivrc. If stdin and stdout are used, the
input is expected to be a PNG formatted image.
SEE ALSO
gpivtools
AUTHOR
Gerber Van der Graaf
7 November 2006 GPIV_MKTESTIMG(1)
Check Out this Related Man Page
GPIV_IMGPROC(1) General Commands Manual GPIV_IMGPROC(1)NAME
gpiv_imgproc - Image processing program for (PIV) images.
SYNOPSIS
gpiv_imgproc [-b N] [--filter N] [-h | --help] [-p | --print] [-o N | --operation N] [-t N | --threshold N] [-w N] [-v | --version] [file-
name] < stdin > stdout
DESCRIPTION
gpiv_imgproc processes, filters or converts images in order to improve the interrogation for Particle Image Velocimetry. gpiv_smooth:
smoothing filter, gpiv_hilo : high-low filter, gpiv_clip: clipping, gpiv_fft: Fast Fourier Transform, gpiv_invfft: Inverse Fast Fourier
Transform, gpiv_highpass: high-pass filtering gpiv_getbit: get bit bumber. gpiv_mktestimg: generates test image-pair for PIV
The parameters read from the configuration resources (containing the key GPIV_IMGPROC) may be overruled by the command line options, as
explained below.
Options-b N In case of using gpiv_getbit N denotes the bit number [0, .., 7]
--filter N
Image filter to be applied: make test image (N=0), smoothing (N=1), high-low filtering (N=2), clipping (N=3), fft (N=4), inverse fft
(N=5), lowpass filter (N=8), highpass filter (N=9), getbit (N=10).
-h | --help
On-line help
-o N | --operation N
In case of using gpiv_smooth: set pixel equal to the mean of the window value (N0), subtract mean from from pixel (N1) add (N2),
multiply (N3) or divide (N4)
-t N | --threshold N
In case of using gpiv_clip: threshold value to be set to zero
-v | --version
Print version information on standard output, then exit successfully.
-w N window size (default: 15)
filename
Input image filename. Overrides stdin and stdout with the full filename of the image. Output will be written to filename.png. Param-
eters are stored in filename.par and may be used for future use by including them in ./gpivrc. If stdin and stdout are used, the
input is expected to be a PNG formatted image.
SEE ALSO
gpivtools
AUTHOR
Gerber Van der Graaf
7 November 2006 GPIV_IMGPROC(1)
hi,
how does a program know whether some data are available from stdin?
I would like to make a program which could read its data from stdin
and _if_there_is_nothing_at_stdin_ from a file which name is given
as an argument. If there is nothing in stdin and no filename is given as
argument,... (2 Replies)
Hi,
I have a requirement that i need to store only the filename without its extension. Can anyone please help me to do this.
For Example, i have stored the filename in a varialble called fname. I need to extract all the charecters before the first occurence of the dot.
If fname has value... (3 Replies)
Hi Guys..
Got a NIM issue.. Am trying to pull a image of a client from NIM server.
am getting the following error... in standard error output..
0042-001 nim: processing error encountered on "master":
Usage: rm File...
Am using the same script to pull image and it works fine..... (1 Reply)
hii..
I need to implement a pure virtual FSM program design which copies stdin to stdout, converting any C trigraphs found to their single character form (e.g. converting trigraph ??= to #) including those in the comments.
implement a pure virtual FSM program design. See the class notes for more... (1 Reply)
At the command line, If I type:
%dtpad filename &
It opens up a blank dtpad window, just as if I typed:
%dtpad &
And no difference if I give it the pathname, such as:
%dtpad /here/there/filename &
No issues with passing a filename using vi, xedit, emacs, etc...
The SA indicated... (1 Reply)
I posted this in the Advanced forum, thought I'd try it here as well...
At the command line, If I type:
%dtpad filename &
It just opens up a blank dtpad window (and no error is returned), just as if I typed:
%dtpad &
And no difference if I give it the pathname, such as:
%dtpad... (1 Reply)
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (1 Reply)
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (3 Replies)
Hi,
I am working on a project where I have to generate and execute nasm code on-the-fly. I generate the code in a file program.asm and then execute it.This output is to stdout which i redirect to an output file which i read back to compare results:
system("nasm -f elf program.asm >... (5 Replies)
Running on AIX 5.3L.
I have a program "foo" written in Fortran that requires 3 levels of inputs from stdin (command prompt).
> foo
Enter Input 1: a
Enter Input 2: b
Enter Input 3: c
running foo
success!
>
How do I get a shell script to run this automatically?
> echo "a" | foo... (2 Replies)
Hi Everyone,
I am a Ph.D student working on some image processing tasks and I have run into an interesting problem that I thought someone on here might have an idea about. This paper discusses a method to compare two images based upon the amount they can be compressed. Sorry, since this is my... (3 Replies)