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

Big images fs 9701 (develop) #634

Merged
merged 6 commits into from Feb 15, 2013
Merged

Conversation

will-moore
Copy link
Member

This fixes the PanoJS big image viewer in Web to handle zoom factors other than 50% between levels.

Currently the required scaling factors for zoom levels is not provided by the server (http://trac.openmicroscopy.org.uk/ome/ticket/9813) so it is hard-coded in the BlitzGateway will-moore@4c07e3f

This PR should be put on hold awaiting #9813.

To test, browse an SVS image in 'develop'.

  • Zoom in/out, Pan around the image etc.
  • Check that viewer remains centered on the same spot
  • Check that thumbnail view and main viewport correspond

@joshmoore
Copy link
Member

@chris-allan/@melissalinkert : did either of you have any prior art and/or a particular interface method you wanted added for the scaling factors?

@ghost
Copy link

ghost commented Jan 21, 2013

Could we add a getResolutionScaleFactor method to IFormatReader which returns sizeX[n]/sizeX[0]?

@melissalinkert
Copy link
Member

If the scale factor is always getSizeX() / core.get(0).sizeX, then I'm not convinced that it belongs in IFormatReader. I'd rather see the scale factor calculation as a utility method somewhere (FormatTools?), if there isn't one already (which there is not, as far as I know).

@pwalczysko
Copy link
Member

Tested on Safari Mac OS 10.8, and on WindowsXP in: Chrome, Firefox and IE8.
Works as expected in all except IE8.

  • The panning is very slow in IE8, nearly unusable (see screenshot).

panning in IE8

  • The panning using the "birds eye" (the red tool in right-bottom corner mini-view) is impossible in IE8 (neither does it really move in real-time, nor is the action performed after a long wait)
  • The zoom 200% is broken (see screenshot)

svs alexandra 200 percent IE8

@joshmoore
Copy link
Member

@will-moore, any thoughts on next steps here?

@will-moore
Copy link
Member Author

@joshmoore The issues we have with PanoJS in IE8 are not new to this PR. This PR is mostly waiting on #9813, so that I don't have to hard-code the zoom scaling. Then it needs testing on all our big image formats.

joshmoore and others added 2 commits January 31, 2013 21:42
Provide a list of ResolutionDescription objects which should
eventually represent the entire geometry of the tiled plane.
@joshmoore
Copy link
Member

NB: Closed my PR since it's been cherry-picked here.

@will-moore
Copy link
Member Author

@ximenesuk If possible, this could really do with testing on a bunch of different big image formats. Only tried on svs so far. Thanks

@ximenesuk
Copy link
Contributor

@will-moore @pwalczysko Do you know if there are any other big image formats on gretzky - I found the svs ones under user-5 If there are other formats already imported I'll test further but importing from home given my upload speed is probably a barrier.

The zooming and panning seemed to work well using Safari on Mac OS 10.6.8 despite being on the end of a relatively slow ADSL connection. At one point the Testis.svs seemed to stall in providing new tiles but re-opening the image viewer seemed to fix that and then I couldn't reproduce - maybe a temporary connectivity issue due to my connection?

@pwalczysko
Copy link
Member

Hi Colin
see below.

data_repo/from_skyking/gatan/biosamplefullframe.dm3
data_repo/test_images_good/jpeg/8kx8k.jpg

These are pre-loaded to Gretzky.
Check here
https://docs.google.com/spreadsheet/ccc?key=0AoKiTAl8UOxndER5UF9mczRNNklxbWFfakN4clhDaXc#gid=0
what user/group.

Cheers
Petr

On 4 Feb 2013, at 11:25, Colin Blackburn <notifications@github.commailto:notifications@github.com>
wrote:

@will-moorehttps://github.com/will-moore @pwalczyskohttps://github.com/pwalczysko Do you know if there are any other big image formats on gretzky - I found the svs ones under user-5 If there are other formats already imported I'll test further but importing from home given my upload speed is probably a barrier.

The zooming and panning seemed to work well using Safari on Mac OS 10.6.8 despite being on the end of a relatively slow ADSL connection. At one point the Testis.svs seemed to stall in providing new tiles but re-opening the image viewer seemed to fix that and then I couldn't reproduce - maybe a temporary connectivity issue due to my connection?


Reply to this email directly or view it on GitHubhttps://github.com//pull/634#issuecomment-13071922.

The University of Dundee is a registered Scottish Charity, No: SC015096

@ximenesuk
Copy link
Contributor

Thanks @pwalczysko

@pwalczysko
Copy link
Member

@ximenesuk : wait a minute please, josh is just kicking the auto-import script on - the images are not there yet (sorry)

@pwalczysko
Copy link
Member

@ximenesuk - importing some big images formats manually as well - see user-8, group read-only, project "for Colin".
hamamatsu/.ndpi, pyramids, trestle, ....
Pyramids are there already. The others will come as import progresses.

@joshmoore
Copy link
Member

Some of the formats failed due to OutOfMemory. If something is required, please let me know.

@pwalczysko
Copy link
Member

Manual import of test_images_good/hamamtsu/david/2009-12-18 09.20.56.ndpi failed due to IceCommunicationDestroyed. See ticket https://trac.openmicroscopy.org.uk/ome/ticket/10287.

@ximenesuk
Copy link
Contributor

Tested on svs and omero pyramid files with everything looking good. If further testing is needed on other formats I can pick up on Tuesday lunchtime if no-one else wants to take it.

@jburel
Copy link
Member

jburel commented Feb 7, 2013

@pwalczysko: to test with big images format other than svs, as long as do not take too long. If you have already imported some big images, could you indicate under which user/group and the location? Thanks

@pwalczysko
Copy link
Member

@jburel
Import is in progress now on.
user-8
read-only-1
Project: big images to test PR 08-02-13
Datasets names are self-explaining.

@jburel :
mporting the big images for tomorrows testing, the "Cannot create thumbnail" error in importer was spotted.
Please see below - I thought it was claimed to be sorted ?
If not, I cannot find the particular ticket - do you want me to file a new ticket for this ?
cannot create thumbnail

@pwalczysko
Copy link
Member

Problems:

  1. Web: Being at Scale 100% and clciking once at minus sign in Web goes to Scale:523.53%. Another click on minus brings goes to Scale: 3.03%.
  2. Tiles are not corresponding correctly with the birds eye red square position (both Web and Insight). (See screenshots)
  3. Insight: First click on minus goes to x0.8 - all the tiles are black. Second click on minus goes to x0.64 - tiles never show up (because the whole image is perched in the topmost leftmost tile, see screenshot). The placement of red square in birds eye is okay when panning is used. When the red square itself is moved, it becomes displaced.
  4. Web: Image scales numerically well (1-- - 5- -25 ...) and is displayed sensibly in birds eye, but full viewer is just grey. Also, it causes Stacktrace.

Screenshots: squig- team/screenshots/pwalczysko/08-02-13/PR634

These problems are connected to following files:

1, 
(Problems 1.,2., 3.) ticket http://trac.openmicroscopy.org.uk/ome/ticket/10353#comment:1
/ome/data_repo/test_images_good/cellsens/anda/Image_01_V76 K2 11_lung/stack1/frame_t.ets [frame_t.ets] 

2, 
(Problems 1.,2., 3.) ticket http://trac.openmicroscopy.org.uk/ome/ticket/10353#comment:1
/Volumes/ome/data_repo/test_images_good/cellsens/anda/Image_01_V76 K2 11_lung.vsi [Image_01_V76 K2 11_lung.vsi]

3. 
(Problem 4.) made comment to ticket http://trac.openmicroscopy.org.uk/ome/ticket/10287#comment:2
/Volumes/ome/data_repo/test_images_good/hamamatsu/david/2009-12-18 09.20.56.ndpi - the other two .ndpi files had the same problem, see ticket

Works as expected (the scaling and panning):

  1. /Volumes/ome/data_repo/test_images_good/gatan/biosamplefullframe.dm3
  2. /Volumes/ome/data_repo/test_images_good/gatan/DMtest2.dm3
  3. /Volumes/ome/data_repo/test_images_good/hamamatsu/philippe/fluorescence/green redZ.ndpis [green redZ.ndpis]
  4. /Volumes/ome/data_repo/test_images_good/hamamatsu/philippe/fluorescence/green redZ.ndpis [green redZ.ndpis](2nd image with the same name)
  5. /Volumes/ome/data_repo/test_images_good/jpeg2000/8kx8k.jpf
  6. /Volumes/ome/data_repo/test_images_good/jpeg/8kx8k.jpg
  7. /Volumes/ome/data_repo/test_images_good/mrw/1600R PICT0005.MRW (not really a large image though)
  8. /Volumes/ome/data_repo/test_images_good/trestle/openslide/CMU-1/CMU-1.tif [Series 1](no thumbnail display and birds eye small insert not displaying in Web - okay in Insight, but tiles and scaling okay)
  9. - 14. /Volumes/ome/data_repo/test_images_good/trestle/openslide/CMU-1/CMU-1.tif [Series 2-7]
  10. /Volumes/ome/data_repo/test_images_good/trestle/openslide/CMU-2/CMU-2.tif [Series 1](no thumbnail display and birds eye small insert not displaying in Web - okay in Insight, but tiles and scaling okay)
  11. - 16. /Volumes/ome/data_repo/test_images_good/trestle/openslide/CMU-2/CMU-2.tif [Series 2-7]

@pwalczysko
Copy link
Member

See ticket http://trac.openmicroscopy.org.uk/ome/ticket/10356 for specific trestle problems. These do not seem to have anything to do with scaling and panning.

@will-moore
Copy link
Member Author

@joshmoore @pwalczysko I don't know how much the problems with images above are due to this PR, e.g. http://trac.openmicroscopy.org.uk/ome/ticket/10353#comment:2. Do we just want to keep this PR open until everything is working (maybe with an 'onhold' label) or merge it?

@jburel
Copy link
Member

jburel commented Feb 13, 2013

@will-moore: let see how the file formats testing goes tomorrow and access where we are on that front after.

@joshmoore
Copy link
Member

Even though FTS and a few other file formats may not be working, we're merging, since it's possible to state that some readers won't be supported.

joshmoore added a commit that referenced this pull request Feb 15, 2013
@joshmoore joshmoore merged commit 19cf1f1 into ome:develop Feb 15, 2013
@joshmoore joshmoore deleted the big_images_FS_9701 branch February 15, 2013 10:05
@sbesson sbesson modified the milestones: 5.0.0, 5.0.0-alpha1 Nov 29, 2017
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.

None yet

7 participants