openmicroscopy/bioformats — pull request #118 by melissalinkert (2012-08-09 14:38:29+00:00)
Title: Add API to support sub-resolutions

With this branch, each series can now have a pyramid of sub-resolution series associated with it.

The new methods in IFormatReader are:

* setFlattenedResolutions(boolean) (controls whether or not the resolution hierarchy is respected)
* hasFlattenedResolutions() (true by default; whether or not the resolution hierarchy is respected)
* int getResolutionCount() (the number of sub-resolutions for the current series)
* setResolution(int) (sets the current sub-resolution for the current series)
* int getResolution() (gets the current sub-resolution for the current series)

Affected readers have data in the following directories:

* cellsens
* imaris
* jpeg2000
* ome-tiff
* tiff
* svs
* test_images_good

There is also a new test (loci.tests.testng.SubResolutionTest) which will be added to Jenkins once this PR is merged.