Search in sources :

Example 11 with ConfigThreshold

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();
}
Also used : ConfigThreshold(boofcv.factory.filter.binary.ConfigThreshold)

Aggregations

ConfigThreshold (boofcv.factory.filter.binary.ConfigThreshold)11 ConfigFiducialBinary (boofcv.factory.fiducial.ConfigFiducialBinary)3 GrayU8 (boofcv.struct.image.GrayU8)3 ConfigFiducialImage (boofcv.factory.fiducial.ConfigFiducialImage)2 ConvertBufferedImage (boofcv.io.image.ConvertBufferedImage)2 BufferedImage (java.awt.image.BufferedImage)2 ArrayList (java.util.ArrayList)2 SquareImage_to_FiducialDetector (boofcv.abst.fiducial.SquareImage_to_FiducialDetector)1 InputToBinary (boofcv.abst.filter.binary.InputToBinary)1 LensDistortionRadialTangential (boofcv.alg.distort.radtan.LensDistortionRadialTangential)1 ConfigThresholdBlockMinMax (boofcv.factory.filter.binary.ConfigThresholdBlockMinMax)1 ConfigThresholdLocalOtsu (boofcv.factory.filter.binary.ConfigThresholdLocalOtsu)1 FactoryShapeDetector (boofcv.factory.shape.FactoryShapeDetector)1 PathLabel (boofcv.io.PathLabel)1 GrayF32 (boofcv.struct.image.GrayF32)1 BufferedReader (java.io.BufferedReader)1 File (java.io.File)1 FileReader (java.io.FileReader)1 IOException (java.io.IOException)1 List (java.util.List)1