Class ContourPlot.Iterators.ImgIterator<P extends ContourPlot.PixelBase>

java.lang.Object
gov.nih.mipav.model.algorithms.ContourPlot.Iterators.ImgIterator<P>
Type Parameters:
P - the pixel type of this iterator
All Implemented Interfaces:
Iterator<P>
Enclosing class:
ContourPlot.Iterators

public static class ContourPlot.Iterators.ImgIterator<P extends ContourPlot.PixelBase> extends Object implements Iterator<P>
The standard Iterator class for images.
Author:
hageldave
  • Field Details

    • px

      private final P extends ContourPlot.PixelBase px
    • numValues

      private final int numValues
    • index

      private int index
  • Constructor Details

    • ImgIterator

      public ImgIterator(P px)
      Creates a new ImgIterator over the image of the specified pixel. The specified pixel will be reused on every invocation of next() with incremented index.
      Parameters:
      px - pixel that will be used to iterate its image
  • Method Details