public final class ColoredObject extends Object
ObjectMask
with an associated color.Constructor and Description |
---|
ColoredObject(ObjectMask object,
RGBColor color) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ColoredObject |
flattenZ()
A maximum-intensity projection.
|
RGBColor |
getColor()
The RGB color.
|
ObjectMask |
getObject()
The object-mask.
|
int |
hashCode() |
String |
toString() |
public ColoredObject(ObjectMask object, RGBColor color)
public ColoredObject flattenZ()
This flattens across z-dimension, setting a voxel to on if it is on in any one slice.
This is an immutable operation.
ColoredObject
flattened in Z dimension.public ObjectMask getObject()
public RGBColor getColor()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.