---
name: "mincwindow"
section: "1"
platform: "linux"
package: "minc-tools"
version: "2.3.00+dfsg-12"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mincwindow"
---

# mincwindow(1)

limit voxel values to a given range

## NAME

mincwindow - limit voxel values to a given range

## SYNOPSIS

**mincwindow** **\[options\]** **in.mnc** **out.mnc** **min** **max** **\[newvalue\]**

## DESCRIPTION

*mincwindow* copies *in.mnc* to *out.mnc*. Each voxel value that lies within the window \[*min*,*max*\] is copied unmodified.  If the voxel value is outside that window and *newvalue* is specified, then that voxel is set to  *newvalue*. Otherwise, the voxel value is set to  *min* if it is less than *min*, and to *max* if it is higher than *max*.

## OPTIONS

- **-2**

  Create MINC 2.0 format output files.

- **-clobber**

  Overwrite an existing file.

- **-noclobber**

  Don't overwrite an existing file (default).

- **-verbose**

  Print out log messages (default).

- **-quiet**

  Do not print log messages.

- **-help**

  Print summary of command-line options and exit.

- **-version**

  Print the program's version number and exit.

## SEE ALSO

[**mincmath**(1)](/mincmath/1.md), [**minccalc**(1)](/minccalc/1.md)
