Documentation of 'boofcv.io.wrapper.images.ImageStreamSequence' Java class
ImageStreamSequence
boofcv.io.wrapper.images

Class ImageStreamSequence<T extends ImageBase>

  • All Implemented Interfaces:
    SimpleImageSequence<T>


    public class ImageStreamSequence<T extends ImageBase>
    extends java.lang.Object
    implements SimpleImageSequence<T>
    Given a sequence of images encoded with CombineFilesTogether, it will read the files from the stream and decode them. Only one image is read at a time and if it is initialized from a file the sequence can be restarted.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close()
      Call when done reading the image sequence.
      int getFrameNumber()
      Returns the number of the current frame in the sequence.
      java.awt.image.BufferedImage getGuiImage()
      Returns the image in the original format that it was read in as.
      ImageType<T> getImageType()
      Returns the type of class used to store the output image
      int getNextHeight()
      Returns the height of the next image
      int getNextWidth()
      Returns the width of the next image
      boolean hasNext()
      If a new image is available.
      static void main(java.lang.String[] args) 
      T next()
      Returns the next image available in the sequence.
      void reset()
      Start reading the sequence from the start
      void setLoop(boolean loop)
      Sets if the video should loop or not
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.