Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Fokatu
    @Fokatu
    which class does it use?
    Curtis Rueden
    @ctrueden
    @Fokatu The default UI of Fiji is the LegacyUI from imagej-legacy; it has higher priority than the SwingSDIUI from imagej-ui-swing. If you exclude imagej-legacy than imagej-ui-swing's takes precedence. If you have a barebones environment without those, then the HeadlessUI of scijava-common is picked up.
    Philipp Hanslovsky
    @hanslovsky
    I consider this a must read for anyone who likes imaging: https://ciechanow.ski/cameras-and-lenses/
    Jan Eglinger
    @imagejan
    @ctrueden @hinerm I need help regarding an imagej-legacy issue. I am looking at String => ImagePlus and String => Dataset conversion for opened images, and added a test (imagej/imagej-legacy@b13c8f9) that I am planning to flesh out to cover most use cases. JaCoCo tells me that this line in StringToImagePlusConverter is never executed.
    When I change the signature from canConvert(Object, Class) to canConvert(Object, Type), then it hangs in the test. I suspect some infinite loop, but can’t wrap my head around it. Do you have any ideas/pointers?
    Curtis Rueden
    @ctrueden
    @imagejan I don't have immediate insight, but I can certainly try to reproduce.
    Jan Eglinger
    @imagejan
    Hm, I cannot reproduce the hanging/blocking now, I don’t know what was different yesterday. Will dig deeper when it reoccurs. Anyhow, I’ll try to come up with a PR shortly, trying to improve (and test) the behavior with macro parameters for image inputs.
    Curtis Rueden
    @ctrueden
    @imagejan I also cannot reproduce.
    Jan Eglinger
    @imagejan
    sorry for stealing your time :-(
    Curtis Rueden
    @ctrueden
    However, there is a problem on my linux64 system with the use of ImagePlus fields. The legacy injector can't do its job early enough, so the context can't initialize with legacy support.
    No problem! It spurred me to finish setting up my new computer. :smile:
    (I tried putting LegacyInjector.preinit() into the static block, but even this didn't work for me.)
    I was able to work around by commenting out the imp1 and imp2 field declarations and just making them local vars.
    Then the test passes for me.
    Jan Eglinger
    @imagejan
    ok, thanks, that’s good to know.
    Curtis Rueden
    @ctrueden
    If you really need to save references to an object from ij packages, you can make them Object fields and then cast in the tests themselves. Ugly, but avoids the problem.
    Let us know if you get stuck again! I appreciate everything you do! Happy new year. :star2:
    Jan Eglinger
    @imagejan
    Happy new year to all! :star2:
    @ctrueden I did some more digging into the “opened image title”-to-ImagePlus/Dataset conversion (mostly for macro calls), and I am puzzled why some of my tests pass where I’d expect them to fail. See https://github.com/imagej/imagej-legacy/pull/261#issuecomment-753386846.
    If you (and/or @hinerm ) find the time to look into it, maybe you see where I am blind? (Not urgent though…)
    Sean
    @Sean56188445_twitter
    Hi all, happy new year!
    image.png
    Sean
    @Sean56188445_twitter
    I am using imageJ to take a line profile in a binary b/w image. However, the imageJ line profile shows some intermediate values (i.e. neither 0 or 255) for some black and white pixels. Does anyone know how those intermediate values appear? Thank you!
    Gabriel Selzer
    @gselzer
    @Sean56188445_twitter this channel is more for development chatter; I think you would find great help over at our forum
    Jan Eglinger
    @imagejan
    @Sean56188445_twitter see also this post
    Kilian
    @Kilianjoex_twitter
    Hello Guys, i i have to put a Text on a Picture. I already programmed a dialog to insert a text, but i dont know how to show this text on the picture. Can you help me?
    My idea is a Textlabel. The inserted text comes into the label and i want to set the label to visible. But the text isnt shown/visible.
    I have to do a new Plugin, no Macros :/ I know that there is "drawString" but i dont know how to code this method in Jaba
    Java*
    Jean-Yves Tinevez
    @tinevez
    @Kilianjoex_twitter this channel is more for development chatter; I think you would find great help over at our forum
    Kilian
    @Kilianjoex_twitter
    Oh okay, sorry and thank you :)
    Jan Eglinger
    @imagejan
    For the record, here’s the forum post. Thanks!
    Nic Barandun
    @nbara93_gitlab
    Hey guys :)
    I came across a weird and to me new problem in Fiji/ImageJ: When I open several images (.nd format) they all get the same name which gets quite confusing… Anyone of you ever experienced the same issue?
    Jan Eglinger
    @imagejan
    @nbara93_gitlab this is a known issue with bio-formats and the Metamorph (nd) format. I reported it in 2018 here: ome/bioformats#3216, and it’s tracked on the bio-formats trello board: https://trello.com/c/823WSGPH/247-metamorph-incorrect-image-name-in-title-bar
    Please comment on these issues, so that the developers know there’s some interest in getting this fixed. I submitted sample data and there was a pull request (ome/bioformats#3032) already that should be fixing that format, but it was never merged because apparently it breaks some legacy datasets… It’s a pity that backwards-compatibility to (non-standard?) legacy files weighs more than actual support for the standard format here 🙁
    Jan Eglinger
    @imagejan
    As a workaround: avoid any underscores in your file names, and if that doesn’t help: isolate each dataset into its own subfolder.
    Nic Barandun
    @nbara93_gitlab
    @imagejan Thank you for your quick reply! Indeed, getting rid of underscores in my file names worked very well :)
    I will comment on these issues in order to make the developers (once more) aware of this issue.
    Cheers!
    albid852
    @albid852
    Hey guys! I'm trying to convert 16-bit dicoms to 8-bit png images, but I can't get the same effect as ImageJ does when doing my conversion processes. Does anyone know what algorithm ImageJ uses for normalization?
    Ellen TA Dobson
    @etadobson
    @albid852 A great place to ask this question is on the forum: https://forum.image.sc/ This channel is more for developers... We can better help you on the forum - just post there. :smile:
    albid852
    @albid852
    Oh okay, thanks!
    Curtis Rueden
    @ctrueden
    I made a poll where you can vote on what I work on next. Feel free to vote if you have opinions.
    Bram van den Broek
    @bramvdbroek:matrix.org
    [m]
    Hi all, I'd like to loosely follow the development chatter, if that's ok.
    Jan Eglinger
    @imagejan
    :+1: welcome @bramvdbroek:matrix.org !
    (I suppose you know of the other channels: fiji, scijava-common, scifio, imglib2, … ?!)
    Bram van den Broek
    @bramvdbroek:matrix.org
    [m]
    I do now. :-)
    There must be a large amount of crosstalk between some of those channels, right?
    Curtis Rueden
    @ctrueden
    @bramvdbroek:matrix.org We make an effort to talk about the topically relevant thing in each channel. But don't always succeed. And occasionally there are cross-posts—but for the most part, the chat in each room is unique.
    Bram van den Broek
    @bramvdbroek:matrix.org
    [m]
    Thanks Curtis.
    I'll try to 'listen' silently unless I think I can say something useful. 👍️
    Michael Doube
    @mdoube
    I have just somehow pushed to imagej-ops master, did not realise I had permissions to do that!