          slices = slice(size // 2 - coverage // 2, size // 2 + coverage // 2)
  #        slices = slice(size // 32, size - size // 32)  # 8px on a 256px image
          warped_image = cv2.resize(  # pylint: disable=no-member
              warped_image[slices, slices, :], (self.input_size, self.input_size),
              cv2.INTER_AREA)  # pylint: disable=no-member
          logger.trace("Warped image shape: %s", warped_image.shape)
          target_image = cv2.resize(  # pylint: disable=no-member
              target_image[slices, slices, :], (self.output_size, self.output_size),
              cv2.INTER_AREA)  # pylint: disable=no-member
          logger.trace("Target image shape: %s", target_image.shape)
 
</s> remove         warped_image = cv2.resize(  # pylint: disable=no-member
 </s> add         warped_image = cv2.resize(  # pylint:disable=no-member </s> remove                                  cv2.INTER_LINEAR,  # pylint: disable=no-member
                                 cv2.BORDER_TRANSPARENT)  # pylint: disable=no-member
 </s> add                                  cv2.INTER_LINEAR,  # pylint:disable=no-member
                                 cv2.BORDER_TRANSPARENT)  # pylint:disable=no-member </s> remove         target_image = cv2.resize(  # pylint: disable=no-member
 </s> add         target_image = cv2.resize(  # pylint:disable=no-member </s> remove             cv2.INTER_AREA)  # pylint: disable=no-member
 </s> add             cv2.INTER_AREA)  # pylint:disable=no-member </s> remove         mat = cv2.getRotationMatrix2D(  # pylint: disable=no-member
 </s> add         mat = cv2.getRotationMatrix2D(  # pylint:disable=no-member
            cv2.INTER_AREA)  # pylint:disable=no-member
          slices = slice(size // 2 - coverage // 2, size // 2 + coverage // 2)
  #        slices = slice(size // 32, size - size // 32)  # 8px on a 256px image
          warped_image = cv2.resize(  # pylint: disable=no-member
              warped_image[slices, slices, :], (self.input_size, self.input_size),
            cv2.INTER_AREA)  # pylint:disable=no-member
          logger.trace("Warped image shape: %s", warped_image.shape)
          target_image = cv2.resize(  # pylint: disable=no-member
              target_image[slices, slices, :], (self.output_size, self.output_size),
              cv2.INTER_AREA)  # pylint: disable=no-member
          logger.trace("Target image shape: %s", target_image.shape)
keep keep keep keep replace keep keep keep keep keep
 Color Augmentation method (#752)

* Color Augmentation: Implement testing code

* Tweak Contrast and Lighting augmentation amounts

* Prevent color augmentation from entering timelapse

* Remove all augmentations from preview images 
lib/training_data.py