Class GradientSobel_Naive


  • public class GradientSobel_Naive
    extends java.lang.Object

    This implementation of the sobel edge dector is implements it in such as way that the code can be easily read and verified for correctness, however it is much slower than it needs to be. The intended purpose of this class is to compare it against others.

    This code is being saved to avoid repeating past work and make it easier to understand other implementations.

    See Also:
    GradientSobel
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void process​(boofcv.struct.image.GrayF32 orig, boofcv.struct.image.GrayF32 derivX, boofcv.struct.image.GrayF32 derivY)
      Computes the derivative of 'orig' along the x and y axes
      static void process​(boofcv.struct.image.GrayI orig, boofcv.struct.image.GrayI derivX, boofcv.struct.image.GrayI derivY)
      Computes the derivative of 'orig' along the x and y axes
      • Methods inherited from class java.lang.Object

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

      • GradientSobel_Naive

        public GradientSobel_Naive()
    • Method Detail

      • process

        public static void process​(boofcv.struct.image.GrayI orig,
                                   boofcv.struct.image.GrayI derivX,
                                   boofcv.struct.image.GrayI derivY)
        Computes the derivative of 'orig' along the x and y axes
      • process

        public static void process​(boofcv.struct.image.GrayF32 orig,
                                   boofcv.struct.image.GrayF32 derivX,
                                   boofcv.struct.image.GrayF32 derivY)
        Computes the derivative of 'orig' along the x and y axes