Offset  
Top  Previous  Next


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

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

offsetim

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.  
 
Offset
 
Lets you enter the constant value that will be added to each pixel of the image.  

Mode
 
Lets you select the mode for the operation.  
 
Click Wrap to have pixel values in the output image to wrap around the permitted intensity in case of a positive offset, and around the zero level in case of a negative offset.  
Click Clip to have pixel values in the output image clipped to the highest permitted intensity in case of a positive offset, and to the zero level in case of a negative offset.  
 
If the image is of the floating point or complex type, this option is disregarded.