use of boofcv.factory.filter.binary.ConfigThreshold in project BoofCV by lessthanoptimal.
the class DetectBlackPolygonApp method imageThresholdUpdated.
@Override
public void imageThresholdUpdated() {
DetectBlackPolygonAppControlPanel controls = (DetectBlackPolygonAppControlPanel) DetectBlackPolygonApp.this.controls;
ConfigThreshold config = controls.polygonPanel.getThresholdPanel().createConfig();
synchronized (this) {
inputToBinary = FactoryThresholdBinary.threshold(config, imageClass);
}
reprocessImageOnly();
}
Aggregations