- Hands-On Image Processing with Python
- Sandipan Dey
- 56字
- 2025-02-22 06:42:33
Subtracting two images and superimposing two image negatives
The subtract() function can be used to first subtract two images, followed by dividing the result by scale (defaults to 1.0) and adding the offset (defaults to 0.0). Similarly, the screen() function can be used to superimpose two inverted images on top of each other.