Skip to content

Conversation

@melissalinkert
Copy link
Member

Same as #211, rebased onto develop.

We cannot always assume that T is 1; in particular, it should be 3 for
pyramids generated from single RGB images.

See #9871.
This multiplication was introduced in 0599079, and as far as I can tell
that was always a bug.  It works fine if at least one of the following
is true:

  * only one tile
  * only one channel
  * non-planar channels

However, if we have a multi-channel, multi-tile image with planar
channels then SizeC times too many tiles are read into the image buffer.

See also github.com/ome/pull/211.
@ghost
Copy link

ghost commented Nov 20, 2012

Some failures testing with test_images_good/pyramid. Thumbnail size issues are expected. Not sure if the SizeT issues are actual errors, or just outdated configuration.

S25531% egrep 'Initial|FAIL|ERR' loci-software-test-2012-11-20_10-06-07.log | egrep -B1 'FAIL|ERR'
INFO [20-11-2012 10:06:10.406] Initializing /Users/rleigh/images/test_images_good/pyramid/101_pyramid: 
INFO [20-11-2012 10:06:23.139]  SizeT: FAILED (Series 0)
INFO [20-11-2012 10:06:23.703]  ThumbSizeX: FAILED (Series 4)
INFO [20-11-2012 10:06:23.704]  ThumbSizeY: FAILED (Series 4)
INFO [20-11-2012 10:07:04.267] Initializing /Users/rleigh/images/test_images_good/pyramid/111_pyramid_x: 
INFO [20-11-2012 10:09:12.966]  SizeT: FAILED (Series 0)

@ghost
Copy link

ghost commented Nov 20, 2012

With the test configuration updated, the thumbsize errors are removed:

LS25531% egrep 'Init|FAIL|ERR' loci-software-test-2012-11-20_15-40-13.log 
INFO [20-11-2012 15:40:13.857] Initializing /Users/rleigh/images/test_images_good/pyramid/101_pyramid: 
INFO [20-11-2012 15:40:24.244]  SizeT: FAILED (Series 0)
INFO [20-11-2012 15:41:00.064] Initializing /Users/rleigh/images/test_images_good/pyramid/111_pyramid_x: 
INFO [20-11-2012 15:42:54.472]  SizeT: FAILED (Series 0)

@melissalinkert
Copy link
Member Author

Fixed in configuration (but note that BIOFORMATS-test_images_good will now fail until this PR is merged).

@melissalinkert
Copy link
Member Author

Merging this on Wednesday morning if no other objections.

@joshmoore
Copy link
Member

Similarly getting this now so that the tests will have it for the morning.

joshmoore added a commit that referenced this pull request Nov 27, 2012
@joshmoore joshmoore merged commit d799e4f into ome:develop Nov 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants