Package net.imglib2

Interface RealInterval

    • Method Detail

      • realMin

        double realMin​(int d)
        Get the minimum in dimension d.
        Parameters:
        d - dimension
        Returns:
        minimum in dimension d.
      • realMin

        default void realMin​(double[] min)
        Write the minimum of each dimension into double[].
        Parameters:
        min -
      • realMax

        double realMax​(int d)
        Get the maximum in dimension d.
        Parameters:
        d - dimension
        Returns:
        maximum in dimension d.
      • realMax

        default void realMax​(double[] max)
        Write the maximum of each dimension into double[].
        Parameters:
        max -
      • minAsDoubleArray

        default double[] minAsDoubleArray()
        Allocates a new double array with the minimum of this RealInterval. Please note that his method allocates a new array each time which introduces notable overhead in both compute and memory. If you query it frequently, you should allocate a dedicated array first and reuse it with realMin(double[]).
        Returns:
        the min
      • minAsRealPoint

        default RealPoint minAsRealPoint()
        Allocates a new RealPoint with the minimum of this RealInterval. Please note that his method allocates a new RealPoint each time which introduces notable overhead in both compute and memory. If you query it frequently, you should allocate a dedicated RealPoint first and reuse it with realMin(RealPositionable).
        Returns:
        the min
      • maxAsDoubleArray

        default double[] maxAsDoubleArray()
        Allocates a new double array with the maximum of this RealInterval. Please note that his method allocates a new array each time which introduces notable overhead in both compute and memory. If you query it frequently, you should allocate a dedicated array first and reuse it with realMax(double[]).
        Returns:
        the max
      • maxAsRealPoint

        default RealPoint maxAsRealPoint()
        Allocates a new RealPoint with the maximum of this RealInterval. Please note that his method allocates a new RealPoint each time which introduces notable overhead in both compute and memory. If you query it frequently, you should allocate a dedicated RealPoint first and reuse it with realMax(RealPositionable).
        Returns:
        the max