Bsoft 2.1.4
Bernard's software package
bphase.cpp File Reference

A program to examine phase differences between image pairs. More...

#include "rwimg.h"
#include "utilities.h"
#include "options.h"
#include "timer.h"

Functions

int main (int argc, char *argv[])
 

Variables

int verbose
 
const char * use []
 

Detailed Description

A program to examine phase differences between image pairs.

Author
Bernard Heymann
Date
Created: 20020217
Modified: 20220803

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ use

const char* use[]
Initial value:
= {
" ",
"Usage: bphase [options] file1.img file2.img outfile.img",
"-------------------------------------------------------",
"Calculates the phase difference between two images.",
" ",
"Actions:",
"-sum Calculate the phase angle sum rather than the difference.",
"-cosine Calculate the cosine of the phase angle difference.",
"-amplitude Weigh the phase difference with the amplitude product.",
"-center Center phase difference map and output it.",
"-flip Flip phases based on phase difference map and modify second image.",
" ",
"Parameters:",
"-verbose 7 Verbosity of output.",
"-datatype short Force writing of a new data type (default float).",
"-origin 0.8,-10,15.7 Set the origin of both images (default from input images).",
"-resolution 4.5,130 Resolution (default 0 - 10000 angstrom).",
" ",
NULL
}

◆ verbose

int verbose
extern