mbehrisch/ijblob

Infinite loop

Closed this issue · 5 comments

First of all thanks for the hard work on this lib. Its a pleasure using it!

I have an issue with an infinite loop when trying to find blobs in certain 
images.
My observations showed that it happes with images in portrait mode when there 
is a pixel at:
y-location = width-of-image.

I have attached a few images which are of this type.

It is a bit vague so Im not sure if its me not using the lib correctly..
Im using version 1.0.4!

Thats the code I tested it with:

ImagePlus imp = new ImagePlus(IMAGE_URI);
ManyBlobs blobs = new ManyBlobs(imp);
blobs.findConnectedComponents();
System.out.println("Done");

Original issue reported on code.google.com by phil.r.o...@googlemail.com on 20 Nov 2012 at 2:00

Attachments:

Original comment by tho...@posteo.de on 20 Nov 2012 at 5:22

Original comment by tho...@posteo.de on 20 Nov 2012 at 6:11

  • Changed state: Started
I think i've fixed it. Could you try the version attached?

Original comment by tho...@posteo.de on 20 Nov 2012 at 6:14

Attachments:

Yup, that fixed it :)
Thanks a lot!

Original comment by phil.r.o...@googlemail.com on 20 Nov 2012 at 11:18

Thanks for reporting! :-)

Original comment by tho...@posteo.de on 21 Nov 2012 at 8:32

  • Changed state: Fixed