Image Arithmetic
The experiment is designed to understand and learn image arithmetic concepts. It demonstrates five operations:
- Image addition
- Image subtraction
- Image difference
- Image multiplication
- Image division
Steps to run the simulation
Click Select Image and drag over the mosaic to choose a region.
- On small screens, use a drag or touch-drag gesture directly on the mosaic image.
- The selected region appears in the Input Image panel.
Choose one of the images in the Second Operand Picker.
- Dull image gives a darker operand.
- Bright image gives a brighter operand.
- Gradient image gives a smooth intensity ramp.
- Mosaic crop preview uses the selected crop as the second operand.
Select an operation from Addition, Subtraction, Difference, Multiplication, or Division.
Select a mapping from Normal, Clipping, or Auto-Scaling.
- Normal shows the raw arithmetic result in display form.
- Clipping limits values to the display range.
- Auto-Scaling remaps the result to use the full intensity range.
Click Run to perform the operation.
- The result is displayed in the Output Image panel.
- The status bar shows the current step or any validation message.
Click Reset to clear the selected crop and restore the default picker, operation, and mapping.
What to expect
- The input panel updates immediately after a valid mosaic selection.
- The output panel updates only after you click Run.
- The selected second operand changes the output image.
- Different operation and mapping choices should produce visibly different results.
Interesting observations
- Compare subtraction and difference to see how absolute difference avoids negative intensities.
- Compare multiplication with clipping and auto-scaling to see how mapping changes the output.