Extract image data below labels in Amira

Sometimes it might be of interest to extract the image data below a label for specific purposes (similar to export the image below an area list in TrakEM2). This can be done by attaching the Arithmetic tool to the image data (InputA) and the label field (InputB) and furthermore using the following expression:


This extracts the grey values of InputA where InputB has a label value of 1 and sets the background grey value to 120.



Same as above, but everything outside of the label (=exterior) gets extracted.