Package net.imglib2

Interface Interval

    • Method Detail

      • min

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

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

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

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

        default long[] minAsLongArray()
        Allocates a new long array with the minimum of this Interval. 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 min(long[]).
        Returns:
        the min
      • minAsPoint

        default Point minAsPoint()
        Allocates a new Point with the maximum of this Interval. Please note that his method allocates a new Point each time which introduces notable overhead in both compute and memory. If you query it frequently, you should allocate a dedicated Point first and reuse it with min(Positionable).
        Returns:
        the min
      • maxAsLongArray

        default long[] maxAsLongArray()
        Allocates a new long array with the maximum of this Interval. 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 max(long[]).
        Returns:
        the max
      • maxAsPoint

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