public class SegmentationInfo extends Object implements Serializable
| Constructor and Description |
|---|
SegmentationInfo(float[][] bgSignature,
float[][] fgSignature,
int smoothness,
double sizeFactorToKeep)
Basic constructor
|
| Modifier and Type | Method and Description |
|---|---|
float[][] |
getBgSignature() |
float[][] |
getFgSignature() |
double |
getSizeFactorToKeep() |
int |
getSmoothness() |
void |
setBgSignature(float[][] bgSignature) |
void |
setFgSignature(float[][] fgSignature) |
void |
setSizeFactorToKeep(double sizeFactorToKeep) |
void |
setSmoothness(int smoothness) |
public SegmentationInfo(float[][] bgSignature,
float[][] fgSignature,
int smoothness,
double sizeFactorToKeep)
bgSignature - background color signaturefgSignature - foreground color signaturesmoothness - smoothing steps in the post processingsizeFactorToKeep - size factor for keeping objectspublic void setBgSignature(float[][] bgSignature)
public float[][] getBgSignature()
public void setFgSignature(float[][] fgSignature)
public float[][] getFgSignature()
public void setSmoothness(int smoothness)
public int getSmoothness()
public void setSizeFactorToKeep(double sizeFactorToKeep)
public double getSizeFactorToKeep()
Copyright © 2015–2021 Fiji. All rights reserved.