Class ColoredObject
Object
ColoredObject
An
ObjectMask
with an associated color.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionColoredObject
(ObjectMask object, RGBColor color) Creates a newColoredObject
instance. -
Method Summary
-
Constructor Details
-
ColoredObject
Creates a newColoredObject
instance.- Parameters:
object
- The object-mask.color
- The RGB color.
-
-
Method Details
-
flattenZ
A maximum-intensity projection.This flattens across z-dimension, setting a voxel to on if it is on in any one slice.
This is an immutable operation.
- Returns:
- a new
ColoredObject
flattened in Z dimension.
-
getObject
The object-mask. -
getColor
The RGB color. -
equals
-
hashCode
public int hashCode() -
toString
-