ctrueden on roitree-to-mask-converters
ctrueden on master
First cut: ROITree to SuperElli… Fill out ROITree <-> single mas… Add RealMask support and 9 more (compare)
ctrueden on roitree-to-mask-converters
First cut: ROITree to SuperElli… Fill out ROITree <-> single mas… Add RealMask support and 8 more (compare)
ctrueden on master
POM: add main-class for quick t… (compare)
tinevez on dev
Add Vlado as a contributor Merge pull request #178 from xu… (compare)
ctrueden on opSearchResult-improvements
Use stream(), not parallelStrea… OpListingInfo: ensure OpService… OpList: improve equals implemen… (compare)
-Dspark.master=local[1]
that sets the number of threads to use, or -Dspark.master=local[*]
for using all cores
imglib2-roi
question: is it possible to sample (random) points on a sphere by taking some GeomMasks.closedSphere(...).xor(GeomMasks.openSphere(…))
? And/or to get a full list of points representing the sphere surface by some Bresenham-like algorithm?imglib2-roi
for this a bad idea, and I should rather take a math function of a sphere and sample points “manually” ?
java -jar bigdataserver.jar myName myDataset.xml
CacheControl
and SharedQueue
CacheControl
has only one method: prepareNextFrame()
SharedQueue
is a CacheControl
SharedQueue(1)
for each source. I assume it's probably more efficient to create a single SharedQueue(x)
, indeed shared for all sources ? What value of x would be appropriate ? Should x be equal to the number of cpu cores ? Also, would it diminish the risk of getting a Java Heap Space issue ?
SharedQueue
would be better, however, 200 sources could become inefficient? If that is the case, I would implement an intermediate cached source that combines the 200 sources (you can do this with a simple Converter
over a Composite
). But that means that you would lose the sliders and stuff...
Regions.iterable(RAI<B>)
to retrieve those?
RandomAccessibleInterval<BooleanType>
, IterableRegion<BooleanType>
, PositionableIterableRegion<BooleanType>
into this sequence such that the Regions
methods that "add capabilities" (being iterable, positionable) can have appropriate result types."
Regions
methods exposing it. But I don't see them.
LocalizableIterableRegion
. Not Positionable
. Right? I think the latter is more complex.
IterableRegion
does have a localizingCursor
method.
IterableRegion
(similar to RAI and II) does not have a position. But it can give you accessors that do.
IterableRegion<T extends BooleanType<T>> extends IterableInterval<Void>
. So... the cursor()
method returns Cursor<Void>
. So that you can iterate the positions, but you can't access sample values because there is nothing to access (the backing region is just true
at those spots, always).
RealMaskRealInterval myMask = ...;
RandomAccessible<T> myImage = ...;
IterableInterval<T> myMaskedImage = Regions.sample(myMask, myImage);
Cursor<T> c = myMaskedImage.localizingCursor();
long[] pos = new long[c.numDimensions()];
while (c.hasNext()) {
T value = c.next();
c.localize(pos);
// and now we do something with the position and sample value
}