Your company here, and a link to your site. Click to find out more.

gprobe - Man Page

shows off the functionality of the gage library


gprobe -i <nin> -k <kind> [-v <verbosity>] -q <query> [-gmc <min gradmag>] [-ofs] [-seed <N>] [-c <bool>] [-k00 <kern00>] [-k11 <kern11>] [-k22 <kern22>] [-rn] [-ssn <SS #>] [-ssr <scale range>] [-kssb <kernel>] [-kssr <kernel>] [-ssu] [-sso] [-ssnd] [-ssnb <bias>] [-ssf <SS read/save format>] [-s <sclX xclY sxlZ>] [-ssp <pos>] [-pg <nrrd>] [-pi <nrrd>] [-pp <pos ...>] [-eps <epsilon>] [-psi <p>] [-t <type>] [-o <nout>]


Shows off the functionality of the gage library. Uses gageProbe() to query various kinds of volumes to learn various measured or derived quantities.


-i <nin>

input volume

-k <kind>

“kind” of volume (“scalar”, “vector”, “tensor”, or “dwi”)

-v <verbosity>

verbosity level (int); default: “1

-q <query>

the quantity (scalar, vector, or matrix) to learn by probing (string)

-gmc <min gradmag>

For curvature-based queries, use zero when gradient magnitude is below this (double); default: “0.0


If only per-axis spacing is available, use that to contrive full orientation info

-seed <N>

RNG seed; mostly for debugging (unsigned int); default: “42

-c <bool>

clamp positions as part of probing (bool); default: “false

-k00 <kern00>

kernel for gageKernel00; default: “tent

-k11 <kern11>

kernel for gageKernel11; default: “cubicd:1,0

-k22 <kern22>

kernel for gageKernel22; default: “cubicdd:1,0


renormalize kernel weights at each new sample location. “Accurate” kernels don’t need this; doing it always makes things go slower

-ssn <SS #>

how many scale-space samples to evaluate, or, 0 to turn-off all scale-space behavior (unsigned int); default: “0

-ssr <scale range>

range of scales in scale-space (2 doubles); default: “nan nan

-kssb <kernel>

blurring kernel, to sample scale space; default: “dgauss:1,5

-kssr <kernel>

kernel for reconstructing from scale space samples “hermite


do uniform samples along sigma, and not (by default) samples according to the effective diffusion scale


if not using “-ssu”, use pre-computed optimal sigmas when possible


normalize derivatives by scale

-ssnb <bias>

bias on scale-based derivative normalization (double); default: “0.0

-ssf <SS read/save format>

printf(3)-style format (including a “%u”) for the filenames from which to read pre-blurred volumes computed for the stack, if they exist and match the stack parameters, and where to save them if they had to be re-computed. Leave this as empty string to disable this. (string); default: “”

-s <sclX sclY sxlZ>

scaling factor for resampling on each axis (>1.0: supersampling); use “-ssp” (and “-psi”) to specify scale position of sampling (3 doubles); default: “1 1 1

-ssp <pos>

when using scale-space, scale-position at which to probe (double); default: “0

-pg <nrrd>

overrides “-s”: 2-D nrrd which specifies origin and direction vectors for sampling grid; default: “”

-pi <nrrd>

overrides “-pv”: probes at this list of 3-vec or 4-vec positions; default: “”

-pp <pos ...>

overrides “-pi”: only sample at this specified point (3..4 doubles); default: “nan nan

-eps <epsilon>

if non-zero, and if query is a scalar, and if using “-pp” to query at a single point, then do epsilon offset probes to calculate discrete differences, to find the numerical gradient and hessian (for debugging) (double); default: “0

-psi <p>

whether the probe location specification (by any of the four previous flags) are in index space (bool); default: “false

-t <type>

type of output volume (type); default: “float

-o <nout>

output volume (string); default: “-

See Also

ilk(1), miter(1), mrender(1), nrrdSanity(1), overrgb(1), puller(1), tend(1), unu(1), vprobe(1)

Referenced By

ilk(1), miter(1), mrender(1), nrrdSanity(1), overrgb(1), puller(1), tend(1), unu(1), vprobe(1).

April 2021