Screenshots     Download     Purchase     Documentation     Tutorials     Resources     Contact     Forum     Search  

 

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


Math Related Forum PostsLast postPostsViews
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...
8 months 2 235
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...
11 months 7 924
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...
0 months 1 328
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...
6 months 2 502


© 2005 - 2010 RoboRealm. All Rights Reserved. | Contact | Glossary | Privacy | Disclaimer | Link to Us | Resources | Site Map