loading

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.

Source - the original image that was initially loaded or captured into RoboRealm
Current - the currently processed image within RoboRealm
Last - the last image processed by RoboRealm
CameraX - a list of attached and active USB camera devices
MarkerX - a list of created marker images using the Marker module. The Marker labels represent images at the time markers were created. If you wish to process the image at a certain point within the image processing pipeline create a marker at that point. The marker will then be included in the dropdown image list.

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 #1Source Image #2

Image #1 added to Image #2

See Also

Marker


 New Post 

Math Related Forum PostsLast postPostsViews
Background Removal
i wanted ignore the surrounding circular area of the mirror using circle module, but i can't to replace the circle blob to sourc...
6 year 3 2036
Simulate Long Exposure Time
Hi Steven, Just got the commercial version for work. Wanted to show my boss a simple program where ...
9 year 4 2541
masking
Hi all My first post here, and new on the program; I'm trying to figu...
10 year 4 3275
Defect Detection of No. Plate
Hi, I am a new user of RoboRealm. It's really a fantastic software. Currently, I'm trying to use...
11 year 7 3913
Trapezium crop
Hi STeven, Is it possible to crop trapezium shapes? As the area gets smaller due to perspective, i...
12 year 7 4401
Automated Rifle target Scoring
Hi Everyone, I was hoping I could get some ideas thrown around for a project I am working on for a...
12 year 8 11867
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...
14 year 2 3658
adding differences problem
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...
14 year 1 3508
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...
15 year 2 3821