Tabnine Logo
GImageStatistics.max
Code IndexAdd Tabnine to your IDE (free)

How to use
max
method
in
boofcv.alg.misc.GImageStatistics

Best Java code snippets using boofcv.alg.misc.GImageStatistics.max (Showing top 2 results out of 315)

origin: org.boofcv/boofcv-ip

private T ensureMaxValueOfOne(T input, double maxPixelValue) {
  T adjusted;
  if( maxPixelValue < 0 ) {
    maxPixelValue = GImageStatistics.max(input);
  }
  if( maxPixelValue != 1.0f ) {
    adjusted = this.adjusted;
    GPixelMath.divide(input, maxPixelValue, adjusted);
  } else {
    adjusted = input;
  }
  return adjusted;
}
origin: org.boofcv/feature

float max1 = (float)GImageStatistics.max(image1);
float max2 = (float)GImageStatistics.max(image2);
float min1 = (float)GImageStatistics.min(image1);
float min2 = (float)GImageStatistics.min(image2);
boofcv.alg.miscGImageStatisticsmax

Javadoc

Returns the maximum pixel value across all bands.

Popular methods of GImageStatistics

  • maxAbs
    Returns the absolute value of the element with the largest absolute value, across all bands
  • histogram
    Computes the histogram of intensity values for the image. For floating point images it is rounded to
  • mean
    Returns the mean pixel intensity value.
  • min
    Returns the minimum pixel value across all bands
  • sum
    Returns the sum of all the pixels in the image across all bands.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now