Image Math
The Image Math module provides you with a way to perform arithmetic operations on a combination of two images.
Interface
Instructions
1. Select the appropriate Image #1 and Image #2 on which to perform the function.
2. Select the appropriate function used to combine the two images.
| Add | Image #1 + Image #2 |
| Subtract | Image #1 - Image #2 |
| Multiply | Image #1 * Image #2 |
| And | Image #1 & Image #2 (binary AND) |
| Or | Image #1 | Image #2 (binary OR) |
| XOr | Image #1 ^ Image #2 (binary XOR) |
| Maximum | if Image #1 > Image #2 then result = Image #1 else result = Image #2 |
| Minimum | if Image #1 < Image #2 then result = Image #1 else result = Image #2 |
| Difference | | Image #1 - Image #2 | (Absolute value of subtraction) |
| Divide | Image #1 / Image #2 |
| Replace #1 | If Image #2 then Image #1 else 0 |
| Replace #2 | If Image #2 then Image #1 else 255 |
3. Select the appropriate channel to perform the function on.
All channels - Performs the operation on each RGB channel
Red, Green, Blue - Performs the operation only on the selected channel. The result
is placed in the selected Image #2 channel.
4. Select the appropriate divisor and bias.
Divisor - divides the function's result by the specified amount.
Bias - added to the function's result.
Example
| Source Image #1 | Source Image #2 |
![]() | ![]() |
Image #1 added to Image #2
See Also
| New Post |
| Math Related Forum Posts | Last post | Posts | Views |
|
i wanted ignore the surrounding circular area of the mirror using circle module, but i can't to replace the circle blob to sourc... |
8 year | 3 | 2800 |
|
Hi Steven, Just got the commercial version for work. Wanted to show my boss a simple program where ... |
10 year | 4 | 3303 |
|
Hi all My first post here, and new on the program; I'm trying to figu... |
12 year | 4 | 4150 |
|
Hi, I am a new user of RoboRealm. It's really a fantastic software. Currently, I'm trying to use... |
12 year | 7 | 4754 |
|
Trapezium crop
Hi STeven, Is it possible to crop trapezium shapes? As the area gets smaller due to perspective, i... |
13 year | 7 | 5308 |
|
Hi Everyone, I was hoping I could get some ideas thrown around for a project I am working on for a... |
14 year | 8 | 13119 |
|
math module, merge with read http
Hi, I get my images from the read http module. Whenever I want to merge the result with the origina... |
16 year | 2 | 4372 |
|
Hello steven, i downloaded the latest version of RR. i seems to me that the Math module is not working compared with a old (free... |
16 year | 1 | 4229 |
|
defect detection
hi i want to know how to find defects in component using robo realm? that say if i have a watch without a... |
16 year | 2 | 4549 |


