# int32
Convert an image to an int32 image.

## Synopsis

img = int32( f )

Implemented in Python.

### Input

f | Image Any image

### Output

img | Image The converted image

## Description

int32 clips the input image between the values -2147483647 and 2147483647 and converts it to the signed 32-bit datatype.

## Source Code

    def int32(f):
        from Numeric import array, clip
        img = array(clip(f,-2147483647,2147483647)).astype('i')
        return img

## See also

uint16 | Convert an image to a uint16 image.
uint8 | Convert an image to an uint8 image.
mmdatatype | Return the image datatype string

[`mmgray`] [Up] [`uint8`] |
Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center.