Load this example

# COMPUTE  2 RANDOM IMAGES AND THEIR DIFFERENCE
#==============================================

verbose
send_set_verbose
set_workpace_geometry PlaneWidth=1024 PlaneHeight=1024 DataType=0 CellWidth=512 CellHeight=512
send_destroy_all_data
send_algebra_conv " 0 -> 255 1 ->254 2 ->253"
send_algebra mask=No SetVal=Yes Expand=No CutMin=0.000000 CutMax=255.000000 "C[3,1]=rnd()*255"
send_algebra mask=No SetVal=No Expand=No CutMin=0.000000 CutMax=255.000000 "C[3,2]=rnd()*255"
send_algebra mask=No SetVal=No Expand=No CutMin=0.000000 CutMax=255.000000 "C[3,3]=C[3,2]-C[3,1]"
send_unset_verbose

MATH.gif