Class ColoredObject
Object
ColoredObject
An
ObjectMask with an associated color.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionColoredObject(ObjectMask object, RGBColor color) Creates a newColoredObjectinstance. -
Method Summary
-
Constructor Details
-
ColoredObject
public ColoredObject(ObjectMask object, RGBColor color) Creates a newColoredObjectinstance.- 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
ColoredObjectflattened in Z dimension.
-
getObject
public ObjectMask getObject()The object-mask. -
getColor
public RGBColor getColor()The RGB color. -
equals
-
hashCode
-
toString
-