Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
  • Dec 04 09:15

    frauzufall on display-priority

    DefaultDisplayService: If multi… Adds test for DefaultDisplaySer… (compare)

  • Dec 03 18:42
    ctrueden commented #368
  • Dec 03 18:42
    ctrueden commented #368
  • Dec 03 14:51
    imagejan commented #368
  • Dec 03 12:17
    tinevez commented #90
  • Dec 03 10:53
    frauzufall commented #368
  • Dec 03 10:37
    frauzufall opened #368
  • Dec 03 10:32

    frauzufall on display-priority

    DefaultDisplayService: If multi… Adds test for DefaultDisplaySer… (compare)

  • Dec 03 08:26
    imagejan opened #614
  • Nov 28 03:30
    ctrueden commented #90
  • Nov 28 03:29
    ctrueden synchronize #90
  • Nov 27 07:59
    tinevez commented #90
  • Nov 26 15:15

    ctrueden on fix-imagej-scripting

    Use type variable in op signatu… WIP (compare)

  • Nov 22 09:28
    tinevez commented #90
NicoKiaru
@NicoKiaru
Is it a problem of Java version ? Do you have any idea how I could solve this ?
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 !