6 ANALYSIS OPERATION
6.6.9
Double Math
A mathematical operation is performed for each pixel of the current image and any
desired image in the computer memory.
The following ten mathematical operations are provided.
Operation
Add
Subtract
Difference
Multiply
Divide
Bitwise AND
Bitwise OR
Bitwise XOR
Minimum
Maximum
Here, a shows the current image data and b shows the selected image data.
Image currently displayed
on the frame memory
Example】 When Add is selected,
20
Image currently displayed
on the frame memory
6-34
Average of the data; (a+b)/2
Difference of the data; (a − b+255)/2, that is, [a+(255 − b)]/2
Difference of absolute value of the data; |a| − |b|
Product of the data; (a*b)/255
Quotient of current image data divided by selected image data (a/b)
Note: If "b" is zero, resultant set to "a".
Logical multiplication of the two data in each bit (a AND b)
Logical sum of the two data in each bit (a OR b)
Exclusive OR of the two data in each bit (a XOR b)
The smaller of the two data
The larger of the two data
x
200
+
Description
Image selected
from the list
128
10
Image selected
from the list
=
Calculated image
74
108
=
Calculated image
TMPM5200-2
Need help?
Do you have a question about the JSPM-5200 and is the answer not in the manual?