Class JCodecSimplified<T extends ImageBase<T>>

All Implemented Interfaces:

public class JCodecSimplified<T extends ImageBase<T>>
extends Object
implements SimpleImageSequence<T>
Reads movie files using JCodec
  • Constructor Summary

    Constructor Description
    JCodecSimplified​(String filename, ImageType<T> typeOutput)  
  • Method Summary

    Modifier and Type Method Description
    void close()
    Call when done reading the image sequence.
    int getFrameNumber()
    Returns the number of the current frame in the sequence.
    Returns the image in the original format that it was read in as.
    int getHeight()
    Returns the height of the current image
    T getImage()
    Returns the currently loaded image in the sequence
    ImageType<T> getImageType()
    Returns the type of class used to store the output image
    int getWidth()
    Returns the width of the current image
    boolean hasNext()
    If a new image is available.
    T next()
    Steps to the next image in the sequence and loads it.
    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

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