Patch for /IJBlob/src/ij/blob/ManyBlobs.java
Closed this issue · 2 comments
GoogleCodeExporter commented
I added a mutator method to allow the user to change what is considered the
background color. This way it will be more cost effective than having to invert
the image before scanning for blobs.
Original issue reported on code.google.com by 1.stephe...@gmail.com
on 21 May 2013 at 10:16
Attachments:
GoogleCodeExporter commented
Hi, thank you for contributing your patch!
I have integrated your patch, but I have to do some more changes (this exposed
the unit-tests).
The else case of your patch also have a bug:
else {
BACKGROUND = 255;
OBJECT = val;
but it have to be
else {
BACKGROUND = 255;
OBJECT = 0;
Please find attached a version of ijblob with your patch applied. It also
committed to the repository.
Thank you for contributing!
Thorsten
Original comment by tho...@posteo.de
on 22 May 2013 at 4:29
- Changed state: Fixed
Attachments:
GoogleCodeExporter commented
Nice find on the bug. I made the mistake of using the Google code editor to
throw in the patch which is like using a poorly auto-formatted notebook
haha so I missed it.
I look forward to using the updated patch.
Original comment by 1.stephe...@gmail.com
on 22 May 2013 at 4:39