  
          warped_image = cv2.remap(image,  # pylint: disable=no-member
                                   map_x_32,
                                   map_y_32,
                                   cv2.INTER_LINEAR,  # pylint: disable=no-member
                                   cv2.BORDER_TRANSPARENT)  # pylint: disable=no-member
          target_image = image
  
          # TODO Make sure this replacement is correct
          slices = slice(size // 2 - coverage // 2, size // 2 + coverage // 2)
  #        slices = slice(size // 32, size - size // 32)  # 8px on a 256px image
 
</s> remove         warped_image = cv2.resize(  # pylint: disable=no-member
 </s> add         warped_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         warped_image = cv2.remap(image,  # pylint: disable=no-member
 </s> add         warped_image = cv2.remap(image,  # pylint:disable=no-member </s> remove         mat = cv2.getRotationMatrix2D(  # pylint: disable=no-member
 </s> add         mat = cv2.getRotationMatrix2D(  # pylint:disable=no-member </s> remove         result = cv2.warpAffine(  # pylint: disable=no-member
 </s> add         result = cv2.warpAffine(  # pylint:disable=no-member
                                 cv2.INTER_LINEAR,  # pylint:disable=no-member
                                 cv2.BORDER_TRANSPARENT)  # pylint:disable=no-member
  
          warped_image = cv2.remap(image,  # pylint: disable=no-member
                                   map_x_32,
                                   map_y_32,
                                 cv2.INTER_LINEAR,  # pylint:disable=no-member
                                 cv2.BORDER_TRANSPARENT)  # pylint:disable=no-member
                                 cv2.INTER_LINEAR,  # pylint:disable=no-member
                                 cv2.BORDER_TRANSPARENT)  # pylint:disable=no-member
          target_image = image
  
          # TODO Make sure this replacement is correct
          slices = slice(size // 2 - coverage // 2, size // 2 + coverage // 2)
  #        slices = slice(size // 32, size - size // 32)  # 8px on a 256px image
keep keep keep keep replace 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