Added exit(EXIT_FAILURE); to writer->Update in ShrinkImage.
Added exit(EXIT_FAILURE); to writer->Update in ShrinkImage.

mattgibb/registration,mattgibb/registration,mattgibb/registration,mattgibb/registration