Factor  
Top  Previous  Next


Menu:   Processing > Arithmetic/Logic… > Arithmetic > Offset  
Script:   factorIm  

Use this function to multiply each pixel in an image to a constant value. The following formula is used for calculating the intensity of a target pixel:

factorim

If a pixel's result falls outside of the image's intensity scale, it will be clipped or wrapped around the highest /lowest permitted value, depending on the Mode selected.

If you choose this command, the following options will become available:

Input
 
Displays the input image frame number. If you want to perform the operation on another image, type or select the corresponding value.  

Output
 
Displays the number of the frame in which the output image will be created. Depending on the Preferences. ImageWarp will set it either to the first available value or to the Input frame number. Type or select another value if you want the output image to be created in a different frame.  
 
Preview
 
Select this check box to watch the Preview of the output image.  
 
Factor
 
Lets you enter the constant value that will be multiplied to each pixel of the image.  

Mode
 
Lets you select the mode for the operation.  
 
Click Wrap to have the output pixel values which fall outside of the image's intensity range to wrap around the highest permitted value or zero level.  
Click Clip to have pixel values the output pixel values which fall outside of the image's intensity range clipped to the highest permitted value or zero level.  
 
If the image is of the floating point or complex type, this option is disregarded.