Image Calculator
Performs a mathematical operation on a video and an image. Similar to ImageJ's built-in one (without the need to load the video to RAM).
Interface

Input Video
Any videos supported by ffmpeg. This includes most video formats in existence. Notably, one exclusion: AVI videos saved from ImageJ with compression set to "None" (codec rawvideo) will not work.
Open Frame
Opens the first frame of the video as a preview. Can be used to set the ROI in functions that require it. Ignores the file's EXIF rotation data.
Input Image
Image to perform the operation. Any image format supported by OpenCV's imread can be used.
Image and Video Mismatch
This image and the input video need to be in the same resolution, bit depth and channel count.
It's recommended to only use images generated from this plugin's Z-Project function.
Notably, 32-bit images aren't supported.
Output File
The path to save the operation's output.
Output Formats
The user can choose between AVI, TIFF or MP4.
Save Output
Choose whether to save the output to the specified output path. If left unchecked, only displays the output.
Invert before operation
Invert each frame before performing the operation. Done as a bitwise NOT operation.
Operation
Mathematical operation to be performed on the inputs. Same effect as the built-in ImageJ ones.
Start and End frame
Specify the frame number to begin and end the processing.
The selection is inclusive, meaning both the start and end frames will be processed.
Frame numbers are one-indexed (the first frame has a frame number equal to 1).
To process the video all the way to its final frame, enter 0 in the 'End frame' field.
Preview
Shows a preview of the function, using the first 10 frames ahead of the Start frame set by the user.