rescale - rescale the current image



next up previous contents
Next: resize - change Up: Commands Previous: remove_sources - remove

rescale - rescale the current image

  rescale[/qualifiers]

The current image can be rescaled either by multiplying every pixel value by a constant (the default) or by adding a constant to all pixel values.

rescale/multiplicative

Specifies that the scaling is multiplicative, that is, the value of every pixel in the current image is multiplied by a constant.

rescale/additive

Specifies that the scaling is additive, that is, the value of every pixel in the current image is increased by adding a constant.

rescale/scaling_factor=value

Enter the scaling factor value.

Examples:

 
rescale_image/mult/scal=10     ! every pixel value in the current image is
                               ! multiplied by a factor 10.
 
rescale_image/add/scal=25      ! 25 is added to every pixel value in the
                               ! current image.



Lorella Angelini
Thu 12 Oct 16:28:11 1995