Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:05
    tischi commented #26
  • Sep 21 21:25
    ctrueden commented #26
  • Sep 21 13:26
    tischi commented #26
  • Sep 21 11:49
    ctrueden commented #26
  • Sep 21 11:49
    ctrueden commented #26
  • Sep 20 08:02
    erjel closed #22
  • Sep 20 08:02
    erjel commented #22
  • Sep 19 19:42
    tinevez commented #22
  • Sep 19 09:59
    erjel opened #22
  • Sep 19 08:18

    tpietzsch on master

    Create Simi/TGMM import dialogs… Add TODO (compare)

  • Sep 19 05:43
    tischi commented #26
  • Sep 18 17:48
    ctrueden commented #26
  • Sep 18 12:16

    tpietzsch on serialize-feature-model2

    (compare)

  • Sep 18 12:16

    tpietzsch on master

    Implements the Contextual metho… Interface for classes that can … Feature serialization service a… and 36 more (compare)

  • Sep 18 12:16
    tpietzsch closed #106
  • Sep 18 12:16
    tpietzsch commented #106
  • Sep 18 12:12
    tpietzsch synchronize #106
  • Sep 18 12:12

    tpietzsch on serialize-feature-model2

    Make UpdateStackSerializationTe… Make TrackMateImporterTest work… Make MaMuTExporterTest work hea… (compare)

  • Sep 18 12:09
    jburel opened #237
  • Sep 18 12:08
    jburel opened #236
Ellen T Arena
@etarena
:)
Varun Kapoor
@kapoorlab
@ctrueden ok I will try this tomorrow by doing a local fiji install and then hopefully be able to find a fix.
Varun Kapoor
@kapoorlab
Ok I know why it is acting like this, to fix this I need to know this: If my maven based main java project depends on other local maven based java projects, how do I generate the jars of those to be compiled when generating the main jar file? This would fix the issue I had with Fiji quitting on opening after following the wiki instructions above, plus including the libraries on the java build path of the main project did not help.
Jan Eglinger
@imagejan
@kapoorlab mvn -Dimagej.app.directory=/path/to/your/Fiji.app should take care of copying all dependencies of your maven project, no?
Stefan Helfrich
@stelfrich
@imagejan @kapoorlab I might be wrong here, but that doesn't actually trigger a build of an artifact but "only" retrieves an artifact from your local Maven repository
Varun Kapoor
@kapoorlab
@stelfrich @imagejan Yeah this does not goes in to build a jar for the referenced dependent project, it would be nice to build a jar for the master project which triggers the compilation of dependent maven projects and includes those jars in the Fiji.app/plugins/jars folder and the jar for the main plugin in Fiji.app/plugins folder , is that possible somehow?
Curtis Rueden
@ctrueden
@kapoorlab Does your project depend on snapshot versions of other libraries? Ideally it should not. If it does not, then it does not matter whether you rebuild, or fetch the existing dependency from the Maven repository. That's a major advantage of reproducible builds: modularity of builds.
If you do depend on snapshot versions of other libraries, then things become a lot more complicated. It is your responsibility to generate the JARs from the "bottom up" of your dependency tree. The imagej-maven-plugin does not (and probably will never) support this use case.
Varun Kapoor
@kapoorlab
@ctrueden Ok i get it, i am working with three snapshot versions of slave projects that the master needs and right now I do physically put them in the plugins/jar, when they become non-snapshots then I will try again by putting them in the java build path of the master.
Curtis Rueden
@ctrueden
@kapoorlab One thing I like to do to ease development in that scenario is to use symlinks from the target/foo-x.y.z.jar file to the Fiji.app installation. Then, while you still need to rebuild each with mvn package, at least you do not need to copy them every time.
This assumes you need to test in a full-blown Fiji.app installation, though. Do you really need to do that?
Varun Kapoor
@kapoorlab
@ctrueden Do not need this so urgently, just wanted to know if i am missing some automated way of doing it in the wiki imageJ way of doing things. But I can live with moving jars to their correct location for now, thanks for letting me know about this.
Curtis Rueden
@ctrueden
@kapoorlab If you do not need a full-blown Fiji.app installation for testing, then the much simpler thing to do is to run your code via a main method from inside the IDE.
amirffff
@amirffff
@amirffff
Hi guys
can I ask a general question?
How do you work with imageJ in order to write scripts (Jython, Macro, Java) and why?
thanks in advance
Ellen T Arena
@etarena
@amirffff posted on the forum this same question - so all responses can be addressed there. ^^^ The link is pasted here for others to follow.
amirffff
@amirffff
@etarena Thnaks I have already done it
Ellen T Arena
@etarena
:thumbsup:
Varun Kapoor
@kapoorlab
@ctrueden , yeah thats how i am doing it now, when it is done then a direct integration of maven based eclipse project having master-slave relation into Fiji would be convenient. Thanks.
amirffff
@amirffff
there is anyone in this forum now?
Jan Eglinger
@imagejan
Interesting discussion on the mailing list about Fiji vs. plain ImageJ1.x performance on multithreaded systems: http://imagej.1557.x6.nabble.com/very-very-very-slow-process-tp5020053p5020144.html
Any opinions/experience from the Fiji experts?
Curtis Rueden
@ctrueden
@imagejan I'm sorry, I don't have much insight into the problem, nor any time to investigate it. I agree with @axtimwalde that the parameters used to launch the JVM are paramount. I did not see any details from Michael Schmid about the exact invocations to java that were used. If I were to investigate I would definitely want to do the benchmarks after invoking java directly, rather than via the ImageJ launcher. The goal being to ensure we are comparing apples to apples.
The next step is then to profile the code to see where the bottlenecks are, comparing plain IJ1 with IJ2.
I will respond to the mail now with these suggestions.
Varun Kapoor
@kapoorlab
Hi, quick question, need to draw 3d line from (x, y, z)A to (x, y, z)B on a canvas of imageplus without having to write a drawing routine myself, can i find one where this is already there?
Curtis Rueden
@ctrueden
@kapoorlab bresenham style? Or antialiased? Or...?
You can render it with imglib2-roi + BDV now data structure wise. @awalter17
Varun Kapoor
@kapoorlab
Just for visualizing tracks which I extract out of a graph, any style would be ok for this, is there a method that I can call for such a rendering?
Curtis Rueden
@ctrueden
@kapoorlab You want to make a 3D display then, it sounds like? TrackMate does it using the 3D Viewer, but the 3D Viewer is on its way out unfortunately.
Varun Kapoor
@kapoorlab
@ctrueden Ok then if I could link my program to trackmate visualization utilities that would be great, I want to come in with a graph or a model made from a graph and then call trackmate utilities to visualize, is that possible @tinevez, anz example on how an external java program can call trackmate visualization part of the library?
Jean-Yves Tinevez
@tinevez
@kapoorlab The best is to check the https://imagej.net/Scripting_TrackMate page.
Here I use a Model object programmatically to create some spots and links and then to show them.
matrixbot
@matrixbot
superusercode test
superusercode Does Fiji have an IRC room?
Varun Kapoor
@kapoorlab
@tinevez Merci beaucoup, it looks exactly what I was looking for, I will try to use this and let you know if I faced any issues.
Kabouik
@Kabouik
Hi, is there a way to reorder ROI according to y AND x coordinates ? Or manually with clicks? The Sort button seems to work only on y coordinates.
Kabouik
@Kabouik
Nevermind, my sample was not so big so I just worked around by exporting the measurement results one by one in the order I needed.
Curtis Rueden
@ctrueden
@matrixbot It does! But it's not very active. I usually see posts there after a few days, long after whoever asked the question has given up and left. -_- So I would not recommend using it.
You should use http://forum.imagej.net/, or here if you want to discuss code.
matrixbot
@matrixbot
superusercode I'll just keep accessing gitter through matrix then.
Kabouik
@Kabouik
Last year I used a folder batch .ijm script that I wrote based on that: https://imagej.net/Batch_Processing
Now I am trying to run it again, on the same folders, and I get an error because my script starts with "@" (the three lines defining input folder, output folder and suffix). I tried commenting them out with either "//" or "#", but of course then the following lines don't work because they do not know input.
Was there an update breaking this syntax, or is it possible that I edited the script in a wrong text editor that removed some important symbols due to wrong syntax highlighting?
Jan Eglinger
@imagejan
@Kabouik the syntax is explained here: https://imagej.net/Script_Parameters
// @ is legacy and works
#@ is current recommendation
independent of the script language you choose
Kabouik
@Kabouik
None of them work, I suppose there are other changes to apply to my script then
Jan Eglinger
@imagejan
If in doubt, please open a topic on the forum with some example code and your installation details
Kabouik
@Kabouik
But it that something that changed since last year? I wonder why my script was even starting with @ and not // if it didn't work back then (probably did a mistake with some alternate versions of the script)
For instance, with the current recommendation, I get an error from line 1: Statement cannot begin with "#" in line 1.
Curtis Rueden
@ctrueden
@Kabouik The script syntax was enhanced, but it is supposed to be backwards compatible. If not, it is a bug. If you post the first 10 lines of your script, it would be helpful for analysis.