augraphy icon indicating copy to clipboard operation
augraphy copied to clipboard

Error in the __call__ method of ImageOverlay

Open btessore opened this issue 1 year ago • 2 comments

There is a minor bug in the call of augraphy.utilities.imageoverlay.ImagOverlay Parenthesis are missing in image.copy.

image.copy should be image.copy()

Also, the class returns the a RGBA image (H,W,4) instead of a 1 or 3 channels image. I'm not sure if it is the intended meaning.

cheers

btessore avatar Oct 10 '24 15:10 btessore

Hi @btessore! It's always great to see someone identify a bug, so now we can make things even better!

Would you be able to prepare a pull request, or even a more complete code snippet identifying what fix is needed and confirm on your end that it resolves the issue?

jboarman avatar Oct 10 '24 16:10 jboarman

Hi, ImageOverlay is an internal function and actually it's obsolete now.

The similar functionality is replaced by OverlayBuilder now.

kwcckw avatar Oct 13 '24 08:10 kwcckw