Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tammy DiPrima
    @tdiprima
    (Just click "Draw Rectangle". It'll do 5 :)
    Alistair Buxton
    @ali1234
    APIs where you can apply arbitrary transformations to images are hard to do right. even if you have all the operations, you still have the question of what order to apply them in. the endgame for this type of thing is to just have a stack of affine matrices, then you can apply any operation in any order. but that ends up being really difficult to use and requires rendering every tile as a textured polygon which is probably really slow on some systems
    Tammy DiPrima
    @tdiprima
    I'm glad you said that. 'cause when this thing flops, that's what I'm gonna tell them. Lol... :beers:
    'This thing' only meaning only 'my' thing, of course :)
    Alistair Buxton
    @ali1234
    i only started looking at openseadragon code this morning. i have several years experience in opengl and graphics programming, but none in javascript, so i'm still trying to figure out how this all works
    Tammy DiPrima
    @tdiprima
    :thumbsup:
    Tammy DiPrima
    @tdiprima
    I'm going to play around with OpenseadragonImagingHelper. dataToPhysicalX and Y might be what I'm looking for.
    Alistair Buxton
    @ali1234
    does anyone know how i would set up webstorm so that i can use breakpoint debugging?
    Tammy DiPrima
    @tdiprima
    Supposedly one can click in the margin to set a breakpoint, and then right-click and choose 'debug'. But here's the thing... for example, you want to debug javascript... you'd have to set the breakpoint in your script, but then do the right-click / 'debug' from the html that calls it.
    Alistair Buxton
    @ali1234
    i suspect i'd actually have to set the breakpoint in built js file, rather than the source
    once you've right clicked the margin to debug once, it should remember the profile
    Tammy DiPrima
    @tdiprima
    yes
    there's a video from a couple of months ago, for the visual https://youtu.be/Qcqnmle6Wu8
    Alistair Buxton
    @ali1234
    got it working, thanks
    Tammy DiPrima
    @tdiprima
    yay :)
    Alistair Buxton
    @ali1234
    had to fiddle with chromium settings but that was actually a lot easier than i expected
    looks like i'm going to end up giving jetbrains more money
    Tammy DiPrima
    @tdiprima
    why?
    Alistair Buxton
    @ali1234
    because their stuff is too good
    everything just works and now i can't do without it
    Tammy DiPrima
    @tdiprima
    :smile:
    Alistair Buxton
    @ali1234
    this code really really needs a scene graph
    Alistair Buxton
    @ali1234
    okay it finally feels like i am getting somewhere. i have managed to find the place (tilecache) where i can flip the individual tiles
    Alistair Buxton
    @ali1234
    ugh... okay so tiles are only cached once so if you have the same image flipped and unflipped... it breaks
    ...but i can flip it in the drawer so no problem
    Adnaan Shaikh
    @Adnaan03
    @iangilman thanks
    Tushar Khairnar
    @tussharkhairnar

    @tussharkhairnar Watch for the 'open-failed' event.

    Thank you

    Alistair Buxton
    @ali1234
    my assumption is that this deals with wrapping
    but what if x or y is negative?
    Alistair Buxton
    @ali1234
    hmm never mind, this actually works fine
    Alistair Buxton
    @ali1234
    why are getTile, updateLevel etc unbound functions instead of members of tiledImage?
    i want to implement a wrapper around getTileBounds which is aware of flipping and wrapping. this will reduce duplicated code and fix that "optimization disabled" thing. i am not sure whether to make it a member of tiledImage or unbound like getTile. it should probably be used instead of the tileSource one just about everywhere. it will behave identically if flip/wrap are off.
    Alistair Buxton
    @ali1234
    Ian Gilman
    @iangilman
    @ali1234 I believe the unbound functions (throughout OpenSeadragon) were an earlier developer's attempt to make things private, but I'm in favor of moving away from that. Private functions should be prefixed with an underscore, and not documented (or documented as private), but they should still be attached to the object so they can be debugged and potentially overridden by folks who are willing to take the responsibility.
    @ali1234 Your app is phenomenal! That's a really great use of OpenSeadragon, and a cool way to understand circuit boards! Mind if I share it?
    Philippe Rivière
    @Fil
    I'm still blocked by openseadragon/openseadragon#1895
    Ian Gilman
    @iangilman
    @Fil Thank you for the nudge, and apologies for being out of touch… The pandemic has thrown my work schedule for a loop! I've now replied to that issue.
    Philippe Rivière
    @Fil
    yeah I figured you had forgotten :) thanks for the reply!
    and no, not my work, but the artist is a friend
    Philippe Rivière
    @Fil
    thanks for pointing me in the right direction; I found how to fix this!
    spy0505
    @spy0505
    There is a button on the page that, when clicked, retrieves the tiles of other colors, but the navigation diagram remains the same color. How can I do that
    Ian Gilman
    @iangilman
    @spy0505 I'm not sure I understand, but it sounds like you want to be able to change the main image without changing the navigator image? That's not really a supported feature, but there is some discussion on ways to do it here: openseadragon/openseadragon#1598 and here: openseadragon/openseadragon#1588
    Tammy DiPrima
    @tdiprima
    (Ugh... sorry. Never mind my last question about the pan/zoom.)
    AdamOrHd123
    @AdamOrHd123
    @msalsbery Hi Mark, I'm trying to use the openseadragon-imaginghelper plugin and I encounter an issue where the callback event includes a zoom factor of Infinity
    I'm using this code to register the callback:
    this.imagingHelper_ref = viewer_ref.activateImagingHelper({onImageViewChanged: onImageViewChanged});
    Did you encounter such a behavior?
    Alistair Buxton
    @ali1234

    @ali1234 Your app is phenomenal! That's a really great use of OpenSeadragon, and a cool way to understand circuit boards! Mind if I share it?

    go ahead... hopefully the server can handle the load

    Tejas
    @TejasBob
    Hi,
    I'm using openseadragon for creating a browser based whole slide image viewer.
    Recently, I noticed that, after changing "minPixelRatio" to 0.4 ( from 0.5), my viewer is requesting 40X resolution tiles at 9X viewer resolution.
    I tried searching for definition or formula for "minPixelRatio", but couldn't find one.
    Can someone point me in correct direction?