Documentation of 'boofcv.alg.filter.basic.GGrayImageOps' Java class
GGrayImageOps
boofcv.alg.filter.basic

Class GGrayImageOps



  • public class GGrayImageOps
    extends java.lang.Object
    Weakly typed version of GrayImageOps.
    • Constructor Summary

      Constructors 
      Constructor and Description
      GGrayImageOps() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static <T extends ImageGray>
      T
      brighten(T input, double beta, double max, T output)
      Brightens the image's intensity:
      Ox,y = Ix,y + beta
      static <T extends ImageGray>
      T
      stretch(T input, double gamma, double beta, double max, T output)
      Stretches the image's intensity:
      Ox,y = Ix,yγ + beta
      • Methods inherited from class java.lang.Object

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

      • GGrayImageOps

        public GGrayImageOps()
    • Method Detail

      • stretch

        public static <T extends ImageGray> T stretch(T input,
                                                      double gamma,
                                                      double beta,
                                                      double max,
                                                      T output)

        Stretches the image's intensity:
        Ox,y = Ix,yγ + beta

        The image's intensity is clamped at 0 and max;

        Parameters:
        input - Input image. Not modified.
        output - If not null, the output image. If null a new image is declared and returned. Modified.
        Returns:
        Output image.
      • brighten

        public static <T extends ImageGray> T brighten(T input,
                                                       double beta,
                                                       double max,
                                                       T output)

        Brightens the image's intensity:
        Ox,y = Ix,y + beta

        The image's intensity is clamped at 0 and max;

        Parameters:
        input - Input image. Not modified.
        beta - How much the image is brightened by.
        output - If not null, the output image. If null a new image is declared and returned. Modified.
        Returns:
        Output image.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.