                                          cv2.NORMAL_CLONE)  # pylint: disable=no-member
              blended = blended[h:-h, w:-w, :]
  
          else:
              foreground = masked * image_mask
              background = frame * (1.0 - image_mask)
              blended = foreground + background
  
          np.clip(blended, 0.0, 255.0, out=blended)
  
 
</s> remove             blended = blended[h:-h, w:-w, :]
 </s> add             blended = blended[h:-h, w:-w] </s> remove                 masked = masked + adjustment
 </s> add                 new_image = new_image + adjustment </s> remove             np.clip(masked, 0.0, 255.0, out=masked)
 </s> add             np.clip(new_image, 0.0, 255.0, out=new_image) </s> remove                                 (15, 15),
                                10)
        new_face[crop, crop] = (mask / 255 * new_face +
                                (1 - mask / 255) * old_face)
 </s> add                                 (window, window),
                                sigma)
        new_face[crop, crop] = (mask * new_face + (1.0 - mask ) * old_face) </s> remove                 masked = cv2.filter2D(masked, -1, kernel)  # pylint: disable=no-member
 </s> add                 new_image = cv2.filter2D(new_image, -1, kernel)  # pylint: disable=no-member
            foreground = new_image * image_mask
                                          cv2.NORMAL_CLONE)  # pylint: disable=no-member
              blended = blended[h:-h, w:-w, :]
  
          else:
            foreground = new_image * image_mask
              background = frame * (1.0 - image_mask)
              blended = foreground + background
  
          np.clip(blended, 0.0, 255.0, out=blended)
  
keep keep keep keep replace keep keep keep keep keep
 auto smooth edges size and clarify naming 
plugins/convert/masked.py