performing predetermined image processing on image data and recording the image data in which {HEAD ~ the predetermined image processing} has been performed on {TAIL ~ a memory} 
performed on
performing predetermined image processing on image data and recording the image data in which { HEAD ~ the predetermined image processing } has been performed on { TAIL ~ a memory }
OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH REL REL TAIL TAIL TAIL TAIL TAIL TAIL