Reduced the size of images to process and reverted to using GPUImage to threshold images. Cannot process more than 2 images without receiving a memory warning. Need to store images in core data prior to processing to avoid memory warnings.