Package boofcv.misc

Class FactoryFilterLambdas

java.lang.Object
boofcv.misc.FactoryFilterLambdas

public class FactoryFilterLambdas
extends Object
Random filters for lambas. Not sure where else to put these
  • Constructor Details

    • FactoryFilterLambdas

      public FactoryFilterLambdas()
  • Method Details

    • createDownSampleFilter

      public static <T extends ImageBase<T>> BoofLambdas.Transform<T> createDownSampleFilter​(int maxImagePixels, ImageType<T> imageType)
      Creates a filter which seeks to scale an image down to the specified pixel count. If the image is larger then the original image is returned. Uses AverageDownSampleOps to scale the image.
      Parameters:
      maxImagePixels - If the image has more pixels than this it will be scaled down. Set to a value ≤ 0 to disable this function;