Modifier and Type | Method and Description |
---|---|
NamedProviderStore<Mask> |
ImageInitialization.masks()
A collection of
Mask s, indexed by name. |
Modifier and Type | Method and Description |
---|---|
protected abstract Mask |
MaskProviderUnary.createFromMask(Mask mask)
Creates a
Mask given the entity provided by the delegate. |
Mask |
MaskProviderUnary.get() |
Modifier and Type | Method and Description |
---|---|
Provider<Mask> |
MaskProviderUnary.getMask()
The delegate
Provider<Mask> that is called. |
Modifier and Type | Method and Description |
---|---|
protected abstract Mask |
MaskProviderUnary.createFromMask(Mask mask)
Creates a
Mask given the entity provided by the delegate. |
Modifier and Type | Method and Description |
---|---|
void |
MaskProviderUnary.setMask(Provider<Mask> mask)
The delegate
Provider<Mask> that is called. |
Modifier and Type | Method and Description |
---|---|
static Mask |
FindContour.createFrom(Mask mask,
int numberErosions,
boolean do3D,
boolean atImageBoundary)
Creates an contour from a
Mask at the boundary of depth 1 pixel. |
static Mask |
FindContour.createFromGuess3D(Mask mask,
int numberErosions,
boolean force2D,
boolean atImageBoundary)
Like
FindContour.createFrom(Mask, int, boolean, boolean) , but guesses whether to do this in 2D
or 3D. |
Modifier and Type | Method and Description |
---|---|
static Mask |
FindContour.createFrom(Mask mask,
int numberErosions,
boolean do3D,
boolean atImageBoundary)
Creates an contour from a
Mask at the boundary of depth 1 pixel. |
static Mask |
FindContour.createFromGuess3D(Mask mask,
int numberErosions,
boolean force2D,
boolean atImageBoundary)
Like
FindContour.createFrom(Mask, int, boolean, boolean) , but guesses whether to do this in 2D
or 3D. |
Modifier and Type | Method and Description |
---|---|
static Mask |
MaskFromObjects.createFromNotObjects(ObjectCollection objects,
Dimensions dimensions,
BinaryValuesInt outValues)
Create a
Mask corresponding to all off voxels in an ObjectCollection . |
static Mask |
MaskFromObjects.createFromObjects(ObjectCollection objects,
Dimensions dimensions,
BinaryValuesInt outValues)
Create a
Mask corresponding to all on voxels in an ObjectCollection . |
static Mask |
MaskFactory.createMaskOff(Dimensions dimensions)
Creates a binary-mask for specific dimensions with all voxels set to off.
|
static Mask |
MaskFactory.createMaskOff(Dimensions dimensions,
BinaryValuesInt binaryValues)
Creates a binary-mask for specific dimensions with all voxels set to off.
|
static Mask |
MaskFactory.createMaskOn(Dimensions dimensions)
Creates a binary-mask for specific dimensions with all voxels set to on.
|
static Mask |
MaskFactory.createMaskOn(Dimensions dimensions,
BinaryValuesInt binaryValues)
Creates a binary-mask for specific dimensions with all voxels set to on.
|
Mask |
Mask.duplicate()
Deep-copies the object.
|
Mask |
Mask.extractSlice(int z)
Creates a new
Mask containing only one particular slice. |
Mask |
Mask.flattenZ()
Creates an otherwise identical
Mask but a maximum-intensity-projection applied to the
z-dimension. |
Mask |
Mask.scaleXY(ScaleFactor scaleFactor)
Creates a new
Mask whose X- and Y- dimensions are scaled by scaleFactor . |
Modifier and Type | Method and Description |
---|---|
static RunningSum |
IterateVoxelsMask.calculateRunningSum(Mask mask,
Voxels<UnsignedByteBuffer> voxelsIntensity)
Calculates the sum and count across voxels intensity that correspond to on voxels on a
mask
|
static void |
MaskInverter.invert(Mask mask)
Modifies a mask so that off voxels become on voxels and vice versa.
|
static <T> void |
IterateVoxelsMask.withBuffer(Mask mask,
Voxels<T> voxels,
ProcessBufferUnary<T> process)
Iterate over each voxel in a mask - with an associated buffer for each slice from a voxel-bo
|
Modifier and Type | Method and Description |
---|---|
static void |
MaskAnd.apply(Mask first,
Mask second)
Performs a logical and operation on each voxel in two masks, writing the result onto
the second mask.
|
static void |
MaskOr.apply(Mask first,
Mask second)
Performs a logical or operation on each voxel in two masks, writing the result onto
the first mask.
|
static void |
MaskXor.apply(Mask first,
Mask second)
Performs a logical xor (exclusive or) operation on each voxel in two masks, writing
the result onto the first mask.
|
Modifier and Type | Method and Description |
---|---|
static Histogram |
HistogramFromObjectsFactory.createFrom(Channel channel,
Mask mask)
|
Modifier and Type | Method and Description |
---|---|
static Histogram |
HistogramFromObjectsFactory.createFrom(Channel channel,
Optional<Mask> mask)
Creates a
Histogram of all voxel intensity values in channel , or only
those in mask if it is dfined. |
Modifier and Type | Method and Description |
---|---|
static List<Point2i> |
PointsFromMask.listFrom2i(Mask mask)
|
static List<Point3i> |
PointsFromMask.listFrom3i(Mask mask)
|
Modifier and Type | Method and Description |
---|---|
static Mask |
MaskReader.openMask(StackReader stackReader,
Path path,
BinaryValuesInt binaryValues,
OperationContext context)
Utility functions for opening a single-channeled stack as a
Mask . |
Modifier and Type | Method and Description |
---|---|
protected Channel |
DistanceTransform3D.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
protected Mask |
AutoLocalThreshold.createFromSource(Channel channel) |
Modifier and Type | Method and Description |
---|---|
protected Channel |
SubtractMean.createFromMaskedChannel(Channel channel,
Mask mask) |
Modifier and Type | Method and Description |
---|---|
protected Channel |
AssignValue.createFromMaskedChannel(Channel channel,
Mask mask) |
protected Channel |
AssignFromChannel.createFromMaskedChannel(Channel channel,
Mask mask) |
Modifier and Type | Method and Description |
---|---|
protected abstract Channel |
FromMaskBase.createFromMask(Mask mask) |
protected Channel |
FromMask.createFromMask(Mask mask) |
protected abstract Channel |
UnaryWithMaskBase.createFromMaskedChannel(Channel channel,
Mask mask) |
protected Channel |
ZeroOutsideMask.createFromMaskedChannel(Channel channel,
Mask mask) |
Modifier and Type | Method and Description |
---|---|
protected Mask |
AllValuesOff.createFromDimensions(Dimensions dimensions) |
protected abstract Mask |
FromDimensionsBase.createFromDimensions(Dimensions dimensions) |
protected Mask |
AllValuesOn.createFromDimensions(Dimensions dimensions) |
Mask |
ScaleXY.createFromMask(Mask mask) |
Mask |
Invert.createFromMask(Mask maskToInvert) |
Mask |
Duplicate.createFromMask(Mask mask) |
protected abstract Mask |
FromChannelBase.createFromSource(Channel source) |
Mask |
Reference.get() |
Mask |
FromDimensionsBase.get() |
Mask |
FromChannelBase.get() |
Modifier and Type | Method and Description |
---|---|
Mask |
ScaleXY.createFromMask(Mask mask) |
Mask |
Invert.createFromMask(Mask maskToInvert) |
Mask |
Duplicate.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
Mask |
CombineBase.createFromMask(Mask mask) |
protected Mask |
And.createFromTwoMasks(Mask maskToModify,
Mask maskOther) |
protected Mask |
IfHighLow.createFromTwoMasks(Mask maskToModify,
Mask maskReceiver) |
protected abstract Mask |
CombineBase.createFromTwoMasks(Mask maskToModify,
Mask maskOther)
Creates masks from some combination of two masks
|
protected Mask |
Or.createFromTwoMasks(Mask maskToModify,
Mask maskOther) |
protected Mask |
Xor.createFromTwoMasks(Mask maskToModify,
Mask maskOther) |
Modifier and Type | Method and Description |
---|---|
Mask |
CombineBase.createFromMask(Mask mask) |
protected Mask |
And.createFromTwoMasks(Mask maskToModify,
Mask maskOther) |
protected Mask |
IfHighLow.createFromTwoMasks(Mask maskToModify,
Mask maskReceiver) |
protected abstract Mask |
CombineBase.createFromTwoMasks(Mask maskToModify,
Mask maskOther)
Creates masks from some combination of two masks
|
protected Mask |
Or.createFromTwoMasks(Mask maskToModify,
Mask maskOther) |
protected Mask |
Xor.createFromTwoMasks(Mask maskToModify,
Mask maskOther) |
Modifier and Type | Method and Description |
---|---|
protected Mask |
FromObjects.createFromDimensions(Dimensions dimensions) |
protected Mask |
FromChannel.createFromSource(Channel source) |
Mask |
FromStackChannel.get() |
Modifier and Type | Method and Description |
---|---|
protected Mask |
Box.createFromDimensions(Dimensions dimensions) |
Mask |
ExteriorContour.createFromMask(Mask mask) |
Mask |
FitBoxToOnVoxels.createFromMask(Mask mask) |
Mask |
MorphologicalOperatorBase.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
protected void |
Dilate.applyMorphologicalOperation(Mask source,
boolean do3D) |
protected void |
Erode.applyMorphologicalOperation(Mask source,
boolean do3D) |
protected abstract void |
MorphologicalOperatorBase.applyMorphologicalOperation(Mask source,
boolean do3D) |
Mask |
ExteriorContour.createFromMask(Mask mask) |
Mask |
FitBoxToOnVoxels.createFromMask(Mask mask) |
Mask |
MorphologicalOperatorBase.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
protected Mask |
IfPredicateBase.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
protected Mask |
IfPredicateBase.createFromMask(Mask mask) |
protected boolean |
IfNotEmpty.predicate(Mask mask) |
protected boolean |
IfObjectFilter.predicate(Mask mask) |
protected boolean |
IfStackExists.predicate(Mask mask) |
protected boolean |
IfKeyValueCondition.predicate(Mask mask) |
protected abstract boolean |
IfPredicateBase.predicate(Mask mask)
If this evaluates true, the mask will be returned as-is, otherwise
maskElse is
returned |
Modifier and Type | Method and Description |
---|---|
protected Mask |
SegmentChannel.createFromSource(Channel source) |
protected Mask |
Threshold.createFromSource(Channel source) |
Modifier and Type | Method and Description |
---|---|
Mask |
FlattenZ.createFromMask(Mask mask) |
Mask |
RepeatSlice.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
Mask |
FlattenZ.createFromMask(Mask mask) |
Mask |
RepeatSlice.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
Provider<Mask> |
ConnectedComponentsFromMask.getMask() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectedComponentsFromMask.setMask(Provider<Mask> mask) |
Modifier and Type | Method and Description |
---|---|
Provider<Mask> |
FromMask.getMask() |
Modifier and Type | Method and Description |
---|---|
void |
FromMask.setMask(Provider<Mask> mask) |
Modifier and Type | Method and Description |
---|---|
Provider<Mask> |
FromChannelOrMask.getMask()
A mask that is provided to the stack.
|
Modifier and Type | Method and Description |
---|---|
void |
FromChannelOrMask.setMask(Provider<Mask> mask)
A mask that is provided to the stack.
|
Modifier and Type | Method and Description |
---|---|
static Mask |
DimensionsChecker.createSameSize(MaskProvider provider,
String providerName,
Channel channelSameSize)
Creates a new channel from a provider, making sure it's the same size as an an existing
channel
|
Modifier and Type | Method and Description |
---|---|
static void |
DimensionsChecker.check(Channel channel,
Mask mask) |
static void |
DimensionsChecker.check(Mask maskToCheck,
String channelToCheckName,
Dimensions dimensionsFromChannel)
Checks a channel to make sure it's the same size as an an existing channel
|
Modifier and Type | Method and Description |
---|---|
Mask |
MorphologicalOperation.createFromMask(Mask mask) |
Mask |
FillHoles.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
Mask |
MorphologicalOperation.createFromMask(Mask mask) |
Mask |
FillHoles.createFromMask(Mask mask) |
Modifier and Type | Method and Description |
---|---|
protected Mask |
CheckMarkWithMask.createChannel() |
Modifier and Type | Method and Description |
---|---|
Provider<Mask> |
CheckMarkWithMask.getMask() |
Modifier and Type | Method and Description |
---|---|
void |
CheckMarkWithMask.setMask(Provider<Mask> mask) |
Modifier and Type | Method and Description |
---|---|
Provider<Mask> |
TraverseOuterContourOnImage.getMaskContour() |
Provider<Mask> |
TraverseOuterContourOnImage.getMaskFilled() |
Modifier and Type | Method and Description |
---|---|
void |
TraverseOuterContourOnImage.setMaskContour(Provider<Mask> maskContour) |
void |
TraverseOuterContourOnImage.setMaskFilled(Provider<Mask> maskFilled) |
Modifier and Type | Method and Description |
---|---|
Provider<Mask> |
XYOrientationExtendToZ.getMask() |
Provider<Mask> |
XYOrientationExtendToZ.getMaskFilled() |
Modifier and Type | Method and Description |
---|---|
void |
XYOrientationExtendToZ.setMask(Provider<Mask> mask) |
void |
XYOrientationExtendToZ.setMaskFilled(Provider<Mask> maskFilled) |
Modifier and Type | Method and Description |
---|---|
Provider<Mask> |
FindPointOnContourWalk.getMask() |
Modifier and Type | Method and Description |
---|---|
void |
FindPointOnContourWalk.setMask(Provider<Mask> mask) |
Modifier and Type | Method and Description |
---|---|
Mask |
ConvexHullBase.createFromMask(Mask mask) |
protected abstract Mask |
ConvexHullBase.createFromMask(Mask mask,
Mask outline) |
protected Mask |
ConvexHull3D.createFromMask(Mask maskIn,
Mask outline) |
protected Mask |
ConvexHull2D.createFromMask(Mask mask,
Mask outline) |
Modifier and Type | Method and Description |
---|---|
Mask |
ConvexHullBase.createFromMask(Mask mask) |
protected abstract Mask |
ConvexHullBase.createFromMask(Mask mask,
Mask outline) |
protected Mask |
ConvexHull3D.createFromMask(Mask maskIn,
Mask outline) |
protected Mask |
ConvexHull2D.createFromMask(Mask mask,
Mask outline) |
Modifier and Type | Method and Description |
---|---|
static Mask |
MaskFixture.create(boolean do3D)
Creates the
Mask with the default corner and no assigned resolution. |
static Mask |
MaskFixture.create(boolean do3D,
Optional<Resolution> resolution)
Creates the
Mask with the default corner and a particular resolution. |
static Mask |
MaskFixture.create(Point3i corner,
boolean do3D)
Creates the
Mask with a particular corner and no assigned resolution. |
static Mask |
MaskFixture.create(Point3i corner,
boolean do3D,
Optional<Resolution> resolution)
Creates the
Mask with a particular corner and a particular resolution. |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.