Skip to content

Conversation

@rohitdavas
Copy link

  1. docstring that explains the arguments.
  2. mask fixing if mask is not uint8. or 3 dim.
  3. np.bool deprecated. and removed in numpy. suggestion is to use bool. updated with that.
  4. when target_img is of same size as the source img, there was index overflow in diagonal that happens sometimes. created a bound check for the diagonal update.

atleast the current api would work for the same size. for the target image less than source image, user needs to take care, as reizing could produce skew.

1. docstring that explains the arguments.
2. mask fixing if mask is not uint8. or 3 dim.
3. np.bool deprecated. and removed in numpy. suggestion is to use bool. updated with that.
4. when target_img is of same size as the source img, there was index overflow in diagonal that happens sometimes. created a bound check for the diagonal update.

atleast the current api would work for the same size. for the  target image less than source image, user needs to take care, as reizing could produce skew.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant