normalize {EBImage} | R Documentation

## Functions to normalize images

### Description

Functions to normalize images.

### Usage

        negate(x, ...)
        normalize(x, from=0, to=1, ...)
        normalize2(x, ...)

### Arguments

`x`
  An object of `Image-class`.
`from, to`
  Target minimum and maximum intensity values after normalization for `Grayscale` images.
`...`
  Reserved for future use.

### Value

A transformed image in an object of `Image-class`.

### Details

`negate` negates the colors in the reference image. Operates on all image modes.

`normalize` normalizes `Grayscale` images to the given range.

`normalize2` uses `ImageMagick` normalization routine to normalize `Grayscale` or `TrueColor` images.

### Author(s)

Copyright (c) 2005-2006 Oleg Sklyar : osklyar@ebi.ac.uk

### References

ImageMagick: http://www.imagemagick.org.

### See Also

`Image-class, channel`

### Examples

      ## Not run: see ?watershed for examples

[Package EBImage version 2.0.1 Index]