public class CenterOfGravity extends Object implements stream.Processor
| Modifier and Type | Field and Description |
|---|---|
int |
numberOfShowerPixelThreshold |
String |
outputKey |
| Constructor and Description |
|---|
CenterOfGravity() |
| Modifier and Type | Method and Description |
|---|---|
stream.Data |
process(stream.Data item)
This function calculates the center of gravity for every slice.
|
@Parameter(required=true,
defaultValue="CenterOfGravity",
description="The output key tag. Will be inserted before all output keys.")
public String outputKey
@Parameter(required=true,
defaultValue="4",
description="Minimum of shower pixel to start calculation.")
public int numberOfShowerPixelThreshold
Copyright © 2019. All rights reserved.