openmicroscopy/openmicroscopy — pull request #1440 by chris-allan (2013-09-03 07:54:23+00:00)
Title: Disable location stats calculation for big images (Fixes #11420)

Ticket for reference with more overarching explanation:
* https://trac.openmicroscopy.org.uk/ome/ticket/11420

Testing requirements:

1. Read-Annotate or Read-Write group (at least two users present in the group)
2. 8 bits per channel RGB image (Aperio SVS suggested)
3. 16 bits per channel image (Aperio AFI suggested)

Expectations before (8 bits per channel):

1. As the user who imported the image thumbnail display should be available in a few seconds
* The scale for all three channels should be `[0, 255]`
2. As *another* user who has permissions to see the image the thumbnail display should be available in a few seconds
* The scale for all three channels should be `[0, 255]`

Expectations after (8 bits per channel):
* Identical to those before

Expectations before (16 bits per channel):

1. As the user who imported the image thumbnail display should be available in a few seconds
* The scale for all three channels should be some calculated values in the range `0-65535`
2. As **another** user who has permissions to see the image the thumbnail display should be take many minutes, timeout, cause the server to crash or completely not display

Expectations after (16 bits per channel):

1. As the user who imported the image thumbnail display should be available in a few seconds
* The scale for all three channels should be `[0, 65535]`
2. As **another** user who has permissions to see the image the thumbnail display should be available in a few seconds
* The scale for all three channels should be `[0, 65535]`