Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:20

    ctrueden on master

    UIService: make isVisible metho… (compare)

  • 14:07

    ctrueden on master

    PluginService: be less verbose … (compare)

  • 14:02

    ctrueden on master

    QuitProgram: be more resilient … (compare)

  • 13:36

    ctrueden on master

    UIService: quit more gracefully… (compare)

  • Dec 10 19:40

    bnorthan on master

    Lower DefaultPadInputFFT priori… (compare)

  • Dec 10 14:41

    tinevez on jungle

    Color the table text depending … Fixed bug in Table views preven… Also close table windows when c… and 4 more (compare)

  • Dec 10 14:41
    tinevez synchronize #79
  • Dec 10 14:41

    tinevez on colorbar

    Add a background window to the … (compare)

  • Dec 10 09:48
    tinevez synchronize #105
  • Dec 10 09:48

    tinevez on master-view-table3

    Color the table text depending … Fixed bug in Table views preven… Also close table windows when c… and 1 more (compare)

  • Dec 09 15:10

    tinevez on jungle

    Avoid keyboard clashes with BDV… Merge remote-tracking branch 'o… (compare)

  • Dec 09 14:48
    tinevez synchronize #85
  • Dec 09 14:48

    tinevez on harness-2d

    Avoid keyboard clashes with BDV… (compare)

  • Dec 09 13:30

    tinevez on jungle

    Harness 2D datasets in BDV view… Merge remote-tracking branch 'o… (compare)

  • Dec 05 16:04

    ctrueden on display-priority

    (compare)

  • Dec 05 07:23
    imagejan commented #368
  • Dec 04 21:05
    frauzufall closed #368
  • Dec 04 21:05
    frauzufall commented #368
  • Dec 04 09:18
    frauzufall commented #368
  • Dec 04 09:15
    frauzufall synchronize #368
NicoKiaru
@NicoKiaru
Simple examples work however
Philipp Hanslovsky
@hanslovsky
@NicoKiaru that looks like version skew, probably between imglib2-cache and bdv-vistools
What versions of those are you using?
NicoKiaru
@NicoKiaru
Just forked the current version of bigdataviewer-vistools
My forked repo is here actually : https://github.com/BIOP/bigdataviewer-vistools
Philipp Hanslovsky
@hanslovsky
Idk if pom-scijava sets the imglib2-cache version to the latest release. You should probably double-check and then set the imglib2-cache version in your pom, if necessary.
NicoKiaru
@NicoKiaru
Will try, thanks! Tha latest version on scijava maven is <version>1.0.0-beta-14-SNAPSHOT</version>. Hope that's recent enough
NicoKiaru
@NicoKiaru
Ok, like this it works:
        <dependency>
            <groupId>sc.fiji</groupId>
            <artifactId>bigdataviewer-core</artifactId>
            <version>7.0.1-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>net.imglib2</groupId>
            <artifactId>imglib2</artifactId>
            <!--<version>5.8.1-SNAPSHOT</version>-->
        </dependency>
        <dependency>
            <groupId>net.imglib2</groupId>
            <artifactId>imglib2-cache</artifactId>
            <version>1.0.0-beta-14-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>net.imglib2</groupId>
            <artifactId>imglib2-realtransform</artifactId>
            <version>2.2.2-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>net.imglib2</groupId>
            <artifactId>imglib2-ui</artifactId>
            <version>2.0.1-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.scijava</groupId>
            <artifactId>ui-behaviour</artifactId>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
Thanks @hanslovsky !
Philipp Hanslovsky
@hanslovsky
:plus1:
NicoKiaru
@NicoKiaru
So I don't know if that's the place to share that, but I've made some modifications on BdvFunctions:
  • [a helper class to download and cache datasets for testing] (BIOP/bigdataviewer-vistools@a4e414c)
  • [a way to wrap Source when required and possible according to the functionVolatileViews.wrapAsVolatile] (BIOP/bigdataviewer-vistools@17eeeaa). There are issues, notably regarding the way the cache is handled I guess. It's working for my use case, but I'd like to hear from you regarding what should be improved. Maybe the whole approach is wrong.
Christian "Tischi" Tischer
@tischi
@tpietzsch @NicoKiaru Very interesting that SourceAndConverter can also return a Volatile version of itself! Given that's the case it seems to me to be the object of choice to work with for multi-resolution image analysis and display in imglib2 land. @hanslovsky Do you see any advantages of using your DataSource instead? https://github.com/saalfeldlab/paintera/blob/master/src/main/java/org/janelia/saalfeldlab/paintera/data/DataSource.java
tpietzsch
@tpietzsch
It seems to me that DataSource is more a version of Source instead of a replacement for SourceAndConverter. That is, you still need a Converter to display it.
to work with for multi-resolution image analysis and display
for display, yes
for image analysis probably not, because you will not care about converting to ARGB, and also not about volatile access
for that the non-volatile Source is enough
Philipp Hanslovsky
@hanslovsky
Yes, @tpietzsch is right. DataSource still requires a converter (which is part of a SourceState (not the same as in BDV) in Paintera).
tpietzsch
@tpietzsch
but in general, yes, if you want something for both display AND analysis, then SourceAndConverter is the thing
@hanslovsky same idea in BDV. BDV's SourceState< T > extends SourceAndConverter< T >
Philipp Hanslovsky
@hanslovsky
:plus1:
Christian "Tischi" Tischer
@tischi

@tpietzsch @hanslovsky Thanks! Sounds great! I could look into

(1) make a way to expose adding SourceAndConverter in the vistools BdvFunctions

unless someone else wants to do it?

@hanslovsky @bogovicj @tpietzsch Some other topic: I need to serve a TB sized volume EM data set via http, streaming it into Bdv. Currently I am using BigDataServer with bdv.h5 files. This works well, however our IT-department wants to store the data as S3. Is there something useable in terms of n5/S3 for Bdv?
Philipp Hanslovsky
@hanslovsky
John Bogovic
@bogovicj
:+1:
Christian "Tischi" Tischer
@tischi
@hanslovsky @bogovicj Thanks! Do you also have examples that writes a pyramid to n5-s3 from an RandomAccessibleInterval and reads it back, e.g., into a Source (CachedCellImg backed). Or something like that?
John Bogovic
@bogovicj
I don't, but @igorpisarev might
(he's away this week, though, maybe poke again on this topic next week if you haven't already made something work)
Philipp Hanslovsky
@hanslovsky
Using n5-aws-s3 should not be any different than any other N5Reader or N5Writer. Maybe n5-spark, n5-utils, n5-imglib2, or the paintera conversion helper have some inspiration for you.
John Bogovic
@bogovicj
yea, but the "other" stuff you do will be more involved (all the aws cli stuff) https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html#cli-quick-configuration
Philipp Hanslovsky
@hanslovsky
:plus1:
tpietzsch
@tpietzsch
bdv will soon have export to N5, just needs to be merged
is it 1 TB or many?
because for many TB, you will probably want to do it on a cluster. And for that @igorpisarev stuff might be perfect
Otherwise, if it is 1TB it might still be possible from Fiji/BDV locally
Christian "Tischi" Tischer
@tischi
Awesome that you have done the work for the Bdv! It is 8 TB if you naively load it into RAM, but since there are many black pixels, lossless compressed it is 2.5 TB. @tpietzsch would your code also support export to and reading from n5-aws-s3 or only to the standard file based n5?
Christian "Tischi" Tischer
@tischi
@bogovicj I guess I wait until Igor is back in case he already has some practical experience with aws-s3. And thanks for the pointers regarding the aws user guide. We would have the data stored locally, so I have to look at this with our IT guys.
NicoKiaru
@NicoKiaru
I have a hard time understanding the link between the SharedQueue beeing passed when using VolatileViews.wrapAsVolatile(final RandomAccessibleInterval< T > rai, final SharedQueue queue, final CacheHints hints ) and the CacheControl that I see a bit everywhere when Volatile type are involved. My main issue is to make a class that makes a VolatileSource from a non-volatile source (see here), but I don't know how to deal properly with the cache.
Christian "Tischi" Tischer
@tischi
Not sure that helps, but for me, when the RandomAccessibleInterval rai is backed by a CachedCellImg it was working fine automagically just using VolatileViews.wrapAsVolatile( rai ) without specifying any of the Queues and CacheHints..
Christian "Tischi" Tischer
@tischi
@hanslovsky @NicoKiaru @bogovicj Does any of you maybe have an idea about this issue? tischi/bdv-utils#2
Christian "Tischi" Tischer
@tischi
@NicoKiaru Thanks for posting in the issue. I think you found the "bug".
NicoKiaru
@NicoKiaru
Hi, http://fly.mpi-cbg.de:8081 do not seem to be alive. Is it temporary ? Is there another bigdataserver that can be used for testing ?
NicoKiaru
@NicoKiaru
I've just pull a PR in bigdataviewer-vistools which allows for some bdv.viewer.Sourceto be wrapped as Volatile. (bigdataviewer/bigdataviewer-vistools#38) Probably not optimal, but I think it exposes a current limitation of BdvFunctions.show(Souce src): it does wrap sources that could be wrapped as volatile. I put an example of such limitation being overcomed in this small video : https://www.youtube.com/watch?v=SdngXeEatqA. Maybe it's the wrong way to solve the limitation (exposing the SourceAndConverter is probably more general), but here it is if you want to have a look.
Curtis Rueden
@ctrueden
@NicoKiaru Bene knows. He says (via private mail) that server is permanently down, but he is working on restoring it somewhere.
Oh wait, I am talking about a different server I think. The 3D Viewer docs.
@turekg Do you have power/influence over the fly.mpi-cbg.de server?
Christian "Tischi" Tischer
@tischi
@NicoKiaru Here is a BigDataServer running, but many images, takes a while: http://cbb-bigdata01.embl.de/0.6.0
NicoKiaru
@NicoKiaru
thanks @tischi and @ctrueden !
Stephan Saalfeld
@axtimwalde
@tomancak @tpietzsch I think fly.mpi-cbg.de is not very alive, can you resurrect it?