Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImDecorr Exception #3

Open
EsleyGit opened this issue Apr 19, 2022 · 4 comments
Open

ImDecorr Exception #3

EsleyGit opened this issue Apr 19, 2022 · 4 comments

Comments

@EsleyGit
Copy link

Hi, I was running the plugin and i get this exception:

Exception in thread "Thread-6" java.lang.ArrayIndexOutOfBoundsException: 102
at ImageDecorrelationAnalysis.getCorrCoefRing(ImageDecorrelationAnalysis.java:556)
at ImageDecorrelationAnalysis.computeD(ImageDecorrelationAnalysis.java:242)
at ImageDecorrelationAnalysis.runAnalysis(ImageDecorrelationAnalysis.java:168)
at ImageDecorrelationAnalysis$1.run(ImageDecorrelationAnalysis.java:79)
at java.lang.Thread.run(Thread.java:748)

Also I notice that does not work on all images. For example, if the image is too small less than 100x100 pixels, does not compute the values neither plots the decorrelation graph. I test the plugin on images of the same size and sometimes does not compute values.

@alcrevenna
Copy link

Hi, I have the same error:
Exception in thread "Thread-6" java.lang.ArrayIndexOutOfBoundsException: 100 at ImageDecorrelationAnalysis.getCorrCoefRing(ImageDecorrelationAnalysis.java:556) at ImageDecorrelationAnalysis.computeD(ImageDecorrelationAnalysis.java:242) at ImageDecorrelationAnalysis.runAnalysis(ImageDecorrelationAnalysis.java:168) at ImageDecorrelationAnalysis$1.run(ImageDecorrelationAnalysis.java:79) at java.lang.Thread.run(Thread.java:748)

I can run the plugin with the example.tif but not with mine. To be accurate I took a crop of my larger image to have the same dimensions as the example.tif: 512 x 512 pixels, 8 bit, grayscale.
I'm using linux.
By the way the window: Image decorrelation Analysis does not resize, and it is hard to see the box for the radius max input parameter.
Any idea is appreciated,
Alvaro

@schroeme
Copy link

schroeme commented May 4, 2022

I am having the same issue on a Windows 10 system, 8-bit image, larger in size.

"Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException: 100
at ImageDecorrelationAnalysis.getCorrCoefRing(ImageDecorrelationAnalysis.java:556)
at ImageDecorrelationAnalysis.computeD(ImageDecorrelationAnalysis.java:242)
at ImageDecorrelationAnalysis.runAnalysis(ImageDecorrelationAnalysis.java:168)
at ImageDecorrelationAnalysis$1.run(ImageDecorrelationAnalysis.java:79)
at java.lang.Thread.run(Thread.java:748)"

@EsleyGit
Copy link
Author

EsleyGit commented May 4, 2022 via email

@schroeme
Copy link

schroeme commented May 4, 2022

thank you - radius 0 to 0.5 worked!

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

No branches or pull requests

3 participants