image IMG1, IMG2, IMG3
GetTwoLabeledImagesWithPrompt("Please select two images (C and D)", \
 "Choose Images", "C", IMG1, "D", IMG2)
IMG3 = IMG2 + IMG1
SetName(IMG3,"Sum")
ShowImage(IMG3)
