1. 14 Sep, 2020 1 commit
    • Qiaofei Li's avatar
      Supports brightness and contrast augmentations (#546) · a0cc5a84
      Qiaofei Li authored
      * add brightness and contrast augmentation
      
      * remove unnecessary
      
      * reformat
      
      * relax the precision constrain for adjust_brightness aug
      
      * fix percision assertion error in unit test
      
      * remove toy
      
      * rename alpha as factor
      
      * use np.testing.assert_allclose in place of np.less_equal
      a0cc5a84
  2. 08 Sep, 2020 2 commits
    • Qiaofei Li's avatar
      Supports Equalize Augmentation. (#543) · a59a35bc
      Qiaofei Li authored
      * add equalize augmentation in mmcv
      
      * delete unnecessary
      
      * reformat
      
      * remove clip in implementing equalize, and add uint test with case step=0
      
      * remove clip in implementing equalize, and add uint test with case step=0
      
      * add comments for unit test
      
      * rename function name as imequalize
      a59a35bc
    • Qiaofei Li's avatar
      Supports Color augmentation. (#542) · 95417a5d
      Qiaofei Li authored
      * add Color augmentation
      
      * reformat
      
      * reformat
      
      * reformat docstring
      
      * reformat docstring
      
      * add more unit test
      
      * add more unit test
      
      * add clip value and uint test for image with type float
      
      * rename function name
      95417a5d
  3. 26 Apr, 2020 1 commit