Class ThresholdLocalOtsu

    • Constructor Summary

      Constructors 
      Constructor Description
      ThresholdLocalOtsu​(boolean otsu2, boofcv.struct.ConfigLength regionWidthLength, double tuning, double scale, boolean down)
      Configures the detector
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boofcv.struct.image.ImageType<boofcv.struct.image.GrayU8> getInputType()  
      void process​(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)
      Converts the gray scale input image into a binary image
      protected void process​(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output, int x0, int y0, int x1, int y1, byte a, byte b)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThresholdLocalOtsu

        public ThresholdLocalOtsu​(boolean otsu2,
                                  boofcv.struct.ConfigLength regionWidthLength,
                                  double tuning,
                                  double scale,
                                  boolean down)
        Configures the detector
        Parameters:
        regionWidthLength - How wide the local square region is.
        tuning - Tuning parameter. 0 = standard Otsu. Greater than 0 will penalize zero texture.
    • Method Detail

      • process

        public void process​(boofcv.struct.image.GrayU8 input,
                            boofcv.struct.image.GrayU8 output)
        Converts the gray scale input image into a binary image
        Specified by:
        process in interface InputToBinary<boofcv.struct.image.GrayU8>
        Parameters:
        input - Input image
        output - Output binary image
      • process

        protected void process​(boofcv.struct.image.GrayU8 input,
                               boofcv.struct.image.GrayU8 output,
                               int x0,
                               int y0,
                               int x1,
                               int y1,
                               byte a,
                               byte b)
      • getInputType

        public boofcv.struct.image.ImageType<boofcv.struct.image.GrayU8> getInputType()
        Specified by:
        getInputType in interface InputToBinary<boofcv.struct.image.GrayU8>