Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Curtis Rueden
    @ctrueden
    ericrg: Which chat client are you using?
    matrixbot
    @matrixbot
    ericrg Element (ex RIOT)
    Curtis Rueden
    @ctrueden
    And how did you find this channel? Do they have some kind of browsing feature?
    matrixbot
    @matrixbot
    ericrg I explored the public rooms :)
    Curtis Rueden
    @ctrueden
    Ah, OK. :+1:
    matrixbot
    @matrixbot
    ericrg I was looking for something else but It happens I use ImageJ
    ericrg So , I'm here :)
    Curtis Rueden
    @ctrueden
    Welcome. :-)
    Be aware we mostly use this chat for developer talk... happy to help with quick user questions, but if you have questions about e.g. image analysis, or other more detailed questions, then forum.image.sc is the best place to go.
    matrixbot
    @matrixbot
    ericrg I like very much imageJ simplicity (I'm french so I may write some bad english)
    ericrg I may have some questions but they must be very simple ones
    ericrg ... but you may have something else to do than anwser to me πŸ™‚ I'd understand
    ericrg I'd like to have transparency png ...
    ericrg maybe there is a plugin somewhere
    Curtis Rueden
    @ctrueden
    ericrg: I don't know of any plugins for working with the alpha channel in ImageJ, sorry. This is a longstanding deficiency.
    matrixbot
    @matrixbot
    ericrg :D
    ericrg So I go on to open Gimp for that ! :D
    ericrg thanks for the forum link : I'm going to use that
    Jan Eglinger
    @imagejan

    @ctrueden wrote:

    ericrg: I think you're our first matrix user...

    I think we had comments routed via matrixbot in the past already:
    :point_up: March 4, 2018 7:36 AM

    Curtis Rueden
    @ctrueden
    @imagejan Ah yeah, I claimed that rather nonchalantly, didn't I.
    Regardless: I expect we'll be seeing it more often, with the Element acquisition.
    Jan Eglinger
    @imagejan
    :smile: :+1:
    ericrg: you can define a transparent color when exporting to PNG in ImageJ. I was using that feature in the past. Please ask on the forum if you still want to do it with ImageJ and need help.
    Mark Hiner
    @hinerm
    @ctrueden what's the difference between https://imagej.net/developer/api/ and https://javadoc.scijava.org/ImageJ1/? And where are they configured?
    Curtis Rueden
    @ctrueden
    For lurkers: the answer to @hinerm's question is that javadoc.scijava.org/ImageJ1 proxies imagej.net/developer/api which proxies mirror.imagej.net/developer/api which mirrors imagej.nih.gov/ij (updated nightly). We determined that the mirroring process did not include the developer/api/package-list file because it wasn't accessible via a chain of links from index.html. We implemented a workaround to hopefully ensure it gets included in the mirror henceforth.
    Wei Ouyang
    @oeway
    Screenshot 2020-10-14 at 11.16.37.png
    Together with @ctrueden we made a prototype for running ImageJ2 in the browser
    Florian Jug
    @fjug
    :point_up_2: :eyes: :point_up_2: Yeah!!! :heart:
    @oeway @ctrueden What works/does not work? How likely is it that one can e.g. run BigWarp in the browser any time soon? Or Labkit? The updater??? #somanyquestions #soooooexciting
    Wei Ouyang
    @oeway
    Most components will work directly if they only do processing, interact with UI. Most of the non-working parts are related to accessing files on file system, manipulating socket, JNI/C++ etc. However, most of them should work after we patch the corresponding classes to make them browser friendly. The loading time is also an issue for now, we need to find a way to support lazy loading scijava components.
    @ctrueden feel free to add
    Wei Ouyang
    @oeway
    Also notice that we are running in a single thread, so the performance is not comparable to native java, however, this might change in the coming year since WebAssembly is enhancing its supports for garbage collection, multi-threading and object support.
    Florian Jug
    @fjug
    Ok, thanks. The single thread thing is limiting, but this is still really crazy awesome! πŸ‘
    Wei Ouyang
    @oeway
    To clarify, you can create multi-thread in java, and the runtime will emulate that with in a single thread.
    Florian Jug
    @fjug
    clear
    Wei Ouyang
    @oeway

    A step back, even if we can use all the memory and all the CPU power on the host computer, they won't be enough anyway as we are dealing with massive dataset and heavy compute workloads.

    My view on this regard is that we should think about a more scalable architecture to further separate UI with the compute part, to make it distributed, e.g. UI in browser, compute in ImageJ-server running remotely, and connecting them with RPC over flexible transport layer.

    Jan Eglinger
    @imagejan

    @ctrueden thanks for merging imagej/imagej-legacy#256 so quickly! In the travis build of imagej-legacy, I see this now (presumably caused by the bump to pom-scijava-29.2.1):

    [ERROR] Cannot create plugin: class='io.scif.convert.FileToDatasetConverter', priority=1.0, enabled=true, pluginType=Converter

    … whenever we look for any Converter plugins.
    Any idea what caused this?

    Curtis Rueden
    @ctrueden
    @imagejan I'm not sure. I pushed imagej/imagej-legacy@51fbe09 to hopefully enable debug mode, which should print a stack trace for each of those. I don't know if the extra information will shed light, but we'll see.
    Jan Eglinger
    @imagejan
    (I’m also seeing these errors locally, they don’t block the maven build.)
    Curtis Rueden
    @ctrueden
    Oh, OK. I'll also try to reproduce locally, then.
    Jan Eglinger
    @imagejan
    Sorry, I just noticed them after submitting the PR.
    Ah, DatasetIOService is missing in the test context.
    Is that something that should be improved on the SCIFIO side? I.e. in the converter, make the service required=false, and then return false on supports when the service is missing?
    Curtis Rueden
    @ctrueden
    We could do that, sure. I feel this is a fundamental design limitation of SciJava's application containe, when a plugin depends on a missing service... but I don't have a good idea for how to fix it surgically. To do it "right" we'd have to load all plugin classes on context creation to scan their service dependencies and add those into the service index, which would be pretty aggressive. Or perhaps better, silently exclude plugins that depend on missing services. I dunno.
    But yeah, your idea would fix this particular instance of the messages.
    Jan Eglinger
    @imagejan
    πŸ˜„ with debug mode: The job exceeded the maximum log length, and has been terminated.
    Curtis Rueden
    @ctrueden
    I'm going to roll back the imagej-legacy commit.
    I'm not shocked. :laughing:
    Jan Eglinger
    @imagejan
    :+1:
    That converter needs a fix anyhow: scifio/scifio#434 I’m on it.