A non-transitory computer readable medium storing program code for processing image data, the program code being executable by a processor to perform operations comprising:
- controlling a signal processor that is configured to execute compound processing that synthesizes a plurality of pieces of image data and monocular processing that processes any one of the plurality of pieces of image data;
- and
- performing a comparison of a physical amount to a threshold value and causing the signal processor to execute either the compound processing or the monocular processing on a basis of the comparison.