public class HoughTransform extends Object implements stream.StatefulProcessor
| Modifier and Type | Class and Description |
|---|---|
class |
HoughTransform.RingId |
| Modifier and Type | Field and Description |
|---|---|
String |
bestCircleKey |
String |
bestRadiusKey |
String |
bestRingPixelKey |
String |
bestXKey |
String |
bestYKey |
ArrayList<ArrayList<int[]>> |
chid2circles |
HashMap<HoughTransform.RingId,ArrayList<Integer>> |
circle2chids |
String |
cleaningPercentageKey |
String |
distanceKey |
String |
octantsHitKey |
String |
peaknessKey |
String |
photonChargeKey |
String |
pixelSetKey |
String |
ringPercentageKey |
boolean |
showMatrixKey |
boolean |
showRingKey |
| Constructor and Description |
|---|
HoughTransform() |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
void |
init(stream.ProcessContext processContext) |
stream.Data |
process(stream.Data item) |
void |
resetState() |
@Parameter(required=false,
description="outputkey for the hough peakness")
public String peaknessKey
@Parameter(required=false,
description="outputkey for the hough distance")
public String distanceKey
@Parameter(required=false,
description="outputkey for the octantsHit parameter")
public String octantsHitKey
@Parameter(required=false,
description="outputkey for the cleaningPercentage parameter")
public String cleaningPercentageKey
@Parameter(required=false,
description="outputkey for the ringPercentage parameter")
public String ringPercentageKey
@Parameter(required=false,
description="outputkey for the hough pixelset of the best Ring")
public String bestCircleKey
@Parameter(required=false,
description="outputkey for x coordinate of the center point of the best ring")
public String bestXKey
@Parameter(required=false,
description="outputkey for y coordinate of the center point of the best ring")
public String bestYKey
@Parameter(required=false,
description="outputkey for the radius of the best ring")
public String bestRadiusKey
@Parameter(required=false,
description="outputkey for pixel chids on the best ring")
public String bestRingPixelKey
@Parameter(required=true,
description="The Pixelset on which the hough transform is performed, usually the cleaning output")
public String pixelSetKey
@Parameter(required=true,
description="PhotonCharge")
public String photonChargeKey
@Parameter(required=false,
description="if this key is true, the three best rings will be shown in the viewer",
defaultValue="false")
public boolean showRingKey
@Parameter(required=false,
description="if this key is true, the Hough Accumulator at the bestR will be printetd on the terminal",
defaultValue="false")
public boolean showMatrixKey
public HashMap<HoughTransform.RingId,ArrayList<Integer>> circle2chids
public stream.Data process(stream.Data item)
process in interface stream.Processorpublic void init(stream.ProcessContext processContext)
throws Exception
init in interface stream.StatefulProcessorExceptionpublic void resetState()
throws Exception
resetState in interface stream.StatefulProcessorExceptionCopyright © 2019. All rights reserved.