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
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
The object-mask. -
getColor
The RGB color. -
equals
-
hashCode
public int hashCode() -
toString
-