Package | Description |
---|---|
org.anchoranalysis.image.core.mask |
An image with only two permissible states.
|
org.anchoranalysis.image.io.stack.input |
Non-bean classes for reading a
Stack from the
filesystem. |
org.anchoranalysis.image.voxel.binary |
The
BinaryVoxels class and related operations. |
org.anchoranalysis.image.voxel.binary.values |
Defining on and off intensity-values to interpret an image in a binary way.
|
org.anchoranalysis.image.voxel.object |
The fundamental data class that is an
ObjectMask
and related structures. |
Modifier and Type | Method and Description |
---|---|
BinaryValuesInt |
Mask.binaryValuesInt()
The two states which are permitted to be assigned to the voxels, stored as unsigned
ints.
|
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,
BinaryValuesInt binaryValues)
Creates a binary-mask for specific dimensions with all voxels set to off.
|
static Mask |
MaskFactory.createMaskOn(Dimensions dimensions,
BinaryValuesInt binaryValues)
Creates a binary-mask for specific dimensions with all voxels set to on.
|
Constructor and Description |
---|
Mask(Channel channel,
BinaryValuesInt binaryValues)
Creates a mask from an existing channel.
|
Mask(Dimensions dimensions,
BinaryValuesInt binaryValues)
Creates a new empty mask of particular dimensions and with particular
BinaryValuesInt . |
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 |
---|---|
BinaryValuesInt |
BinaryVoxels.binaryValues()
Which two intensity values represent off and on states.
|
Modifier and Type | Method and Description |
---|---|
protected abstract BinaryVoxels<T> |
BinaryVoxels.binaryVoxelsFor(Voxels<T> voxels,
BinaryValuesInt binaryValues)
Creates a
BinaryVoxels corresponding to a particular voxels and BinaryValuesInt . |
static BinaryVoxels<UnsignedByteBuffer> |
BinaryVoxelsFactory.reuseByte(Voxels<UnsignedByteBuffer> voxels,
BinaryValuesInt binaryValues)
Reuses an existing voxel-buffer (of type unsigned byte) as a binary-version which should have
only two intensity-values representing off and on.
|
static BinaryVoxels<UnsignedIntBuffer> |
BinaryVoxelsFactory.reuseInt(Voxels<UnsignedIntBuffer> voxels,
BinaryValuesInt binaryValues)
Reuses an existing voxel-buffer (of type unsigned int) as a binary-version which should have
only two intensity-values representing off and on.
|
Constructor and Description |
---|
BinaryVoxels(Voxels<T> voxels,
BinaryValuesInt binaryValues) |
Modifier and Type | Method and Description |
---|---|
BinaryValuesInt |
BinaryValuesByte.asInt()
Derives a
BinaryValuesInt representation from the current values. |
BinaryValuesInt |
BinaryValuesInt.createInverted()
Inverts the values so off becomes on, and vice-versa.
|
static BinaryValuesInt |
BinaryValuesInt.getDefault()
Default values to use, if not otherwise specified.
|
Modifier and Type | Method and Description |
---|---|
BinaryValuesInt |
ObjectMask.binaryValues()
What values constitute an on and off state in
voxels - as ints. |
BinaryValuesInt |
ObjectCollection.getFirstBinaryValues()
The
BinaryValuesInt associated with the first object in the collection. |
Constructor and Description |
---|
ObjectMask(BoundedVoxels<UnsignedByteBuffer> voxels,
BinaryValuesInt binaryValues)
Creates from
BoundedVoxels and corresponding BinaryValuesInt . |
ObjectMask(BoundingBox box,
Voxels<UnsignedByteBuffer> voxels,
BinaryValuesInt binaryValues)
|
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.