Skip to content

java gui --zoom out #10

Open
Open

Description

@evillalon

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions