public class MinAreaRect extends CvStage
CvStage.CvStageBeanInfo, CvStage.Result
Constructor and Description |
---|
MinAreaRect() |
Modifier and Type | Method and Description |
---|---|
double |
getExpectedAngle() |
java.lang.String |
getPropertyName() |
double |
getSearchAngle() |
int |
getThresholdMax() |
int |
getThresholdMin() |
boolean |
isBottomEdge() |
boolean |
isDiagnostics() |
boolean |
isLeftEdge() |
boolean |
isRightEdge() |
boolean |
isTopEdge() |
static RotatedRect |
minAreaEdges(java.util.List<Point> points,
boolean leftEdge,
boolean rightEdge,
boolean topEdge,
boolean bottomEdge,
double expectedAngle,
double searchAngle,
int cols,
int rows) |
CvStage.Result |
process(CvPipeline pipeline)
Perform an operation in a pipeline.
|
void |
setBottomEdge(boolean bottomEdge) |
void |
setDiagnostics(boolean diagnostics) |
void |
setExpectedAngle(double expectedAngle) |
void |
setLeftEdge(boolean leftEdge) |
void |
setPropertyName(java.lang.String propertyName) |
void |
setRightEdge(boolean rightEdge) |
void |
setSearchAngle(double searchAngle) |
void |
setThresholdMax(int thresholdMax) |
void |
setThresholdMin(int thresholdMin) |
void |
setTopEdge(boolean topEdge) |
customizePropertySheet, getBeanInfo, getCategory, getDescription, getDescription, getLengthUnit, getName, getPossiblePipelinePropertyOverride, getPossiblePipelinePropertyOverride, isEnabled, recordPropertyOverride, setEnabled, setName
public int getThresholdMin()
public void setThresholdMin(int thresholdMin)
public int getThresholdMax()
public void setThresholdMax(int thresholdMax)
public double getExpectedAngle()
public void setExpectedAngle(double expectedAngle)
public double getSearchAngle()
public void setSearchAngle(double searchAngle)
public boolean isLeftEdge()
public void setLeftEdge(boolean leftEdge)
public boolean isRightEdge()
public void setRightEdge(boolean rightEdge)
public boolean isBottomEdge()
public void setTopEdge(boolean topEdge)
public boolean isDiagnostics()
public void setBottomEdge(boolean bottomEdge)
public boolean isTopEdge()
public void setDiagnostics(boolean diagnostics)
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
public CvStage.Result process(CvPipeline pipeline) throws java.lang.Exception
CvStage
process
in class CvStage
java.lang.Exception
public static RotatedRect minAreaEdges(java.util.List<Point> points, boolean leftEdge, boolean rightEdge, boolean topEdge, boolean bottomEdge, double expectedAngle, double searchAngle, int cols, int rows)