Class GradientReduceToSingle


  • public class GradientReduceToSingle
    extends java.lang.Object
    Contains functions that reduce the number of bands in the input image into a single band.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void maxf​(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> inX, boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> inY, boofcv.struct.image.GrayF32 outX, boofcv.struct.image.GrayF32 outY)
      Reduces the number of bands by selecting the band with the largest Frobenius norm and using its gradient to be the output gradient on a pixel-by-pixel basis
      static void maxf​(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> inX, boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> inY, boofcv.struct.image.GrayU8 outX, boofcv.struct.image.GrayU8 outY)
      Reduces the number of bands by selecting the band with the largest Frobenius norm and using its gradient to be the output gradient on a pixel-by-pixel basis
      • Methods inherited from class java.lang.Object

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

      • GradientReduceToSingle

        public GradientReduceToSingle()
    • Method Detail

      • maxf

        public static void maxf​(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> inX,
                                boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> inY,
                                boofcv.struct.image.GrayF32 outX,
                                boofcv.struct.image.GrayF32 outY)
        Reduces the number of bands by selecting the band with the largest Frobenius norm and using its gradient to be the output gradient on a pixel-by-pixel basis
        Parameters:
        inX - Input gradient X
        inY - Input gradient Y
        outX - Output gradient X
        outY - Output gradient Y
      • maxf

        public static void maxf​(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> inX,
                                boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> inY,
                                boofcv.struct.image.GrayU8 outX,
                                boofcv.struct.image.GrayU8 outY)
        Reduces the number of bands by selecting the band with the largest Frobenius norm and using its gradient to be the output gradient on a pixel-by-pixel basis
        Parameters:
        inX - Input gradient X
        inY - Input gradient Y
        outX - Output gradient X
        outY - Output gradient Y