---
name: "ConvertInputImagePixelTypeToFloat"
section: "1"
platform: "linux"
package: "ants"
version: "2.1.0-5"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ConvertInputImagePixelTypeToFloat"
---

# ConvertInputImagePixelTypeToFloat(1)

part of ANTS registration suite

## NAME

ConvertInputImagePixelTypeToFloat - part of ANTS registration suite

## SYNOPSIS

**ConvertInputImagePixelTypeToFloat** *infile.nii out.ext TYPE-OPTION*

## DESCRIPTION

-

  ext is the extension you want, e.g. tif. TYPE-OPTION  :  TYPE

- 0

  :  char

- 1

  :  unsigned char

- 2

  :  short

- 3

  :  unsigned short

- 4

  :  int

- 5

  :  unsigned int

- Note that some pixel types are not supported by some image formats. e.g.

  int is not supported by jpg.

-

  You can easily extend this for other pixel types with a few lines of code and adding usage info.
