Class ConfigThreshold

    • Field Detail

      • fixedThreshold

        public double fixedThreshold
        The threshold to apply to the image. Only valid for fixed threshold.
      • scale

        public double scale
        Scale factor applied to computed threshold. Only used with adaptive techniques. 0.95 is a good starting value when tuning. It will remove much of the noise in nearly uniform regions without degrading interesting features by much.
      • down

        public boolean down
        If true then it thresholds down
      • width

        public boofcv.struct.ConfigLength width
        Radius of adaptive threshold. If relative then it's relative to the min(width,height) of the image
      • minPixelValue

        public int minPixelValue
        Minimum pixel value. Only used for some algorithms.
      • maxPixelValue

        public int maxPixelValue
        Maximum pixel value. Only used for some algorithms.
      • thresholdFromLocalBlocks

        public boolean thresholdFromLocalBlocks
        If a block threshold is being used then this indicates if the threshold should be computed using a local 3x3 block region (true) or just one block (false). The local region should result in a less abrupt change in threshold.
    • Constructor Detail

      • ConfigThreshold

        public ConfigThreshold()
    • Method Detail

      • checkValidity

        public void checkValidity()
        Specified by:
        checkValidity in interface boofcv.struct.Configuration
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object