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

Program to calculate density in selected regions of a map. More...

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

Functions

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

Variables

int verbose
 
const char * use []
 

Detailed Description

Program to calculate density in selected regions of a map.

Author
Bernard Heymann
Date
Created: 20140424
Modified: 20230110

Function Documentation

◆ main()

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

Variable Documentation

◆ use

const char* use[]
Initial value:
= {
" ",
"Usage: bdens [options] input.img output.img",
"-------------------------------------------",
"Calculate density in selected regions of a map.",
" ",
"Actions:",
"-box 12,34,2,45,34,25 Calculate statistics within this box (start and size).",
"-oval 5,10,28,50,22,89 Calculate statistics within this oval (start and size).",
" ",
"Parameters:",
"-verbose 7 Verbose output.",
"-datatype u Force writing of a new data type.",
"-select 1 Select an image (first image = 0; default: 0).",
" ",
"Input:",
"-Mask mask.map Calculate statistics with a mask with any number of levels.",
" ",
NULL
}

◆ verbose

int verbose
extern