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

java gui --zoom out #10

Open
evillalon opened this issue Dec 6, 2010 · 0 comments
Open

java gui --zoom out #10

evillalon opened this issue Dec 6, 2010 · 0 comments

Comments

@evillalon
Copy link

Using downsampleBase=1.2 and maxDownsampleExponent=40 can create a problem when zooming out the image; the downsample values range from 1.2 up to 1.2^40 = 1469.772.
The lowest limit 1.2 is reached for the lower layers, e.g. 0, but the highest limit 1469.772
is approached for the highest layer (number of layers-1). The slide zooms out to the highest layer for a downsample of below 100 and, then, the image just keeps decreasing in size until it disappears from the GUI with a memory exception because the array of data requested for such large downsamples are very large in size, and probably never gets as high as the value 1469.772 before it just disappears. I think that there should also be a maxdownsample of around 65 -100 so that the downsample should not increase above it. In my opinion, a better choice is downsampleBase=1.15 and maxDownsampleExponent=30, which gives a maximum value of 1.15^30 = 66.21177. I do not know if the choices for these parameters should depend on the images but for the ones I am working with 1.15 and 30 are better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant