Class LoadFileImageSequence<T extends ImageBase<T>>

java.lang.Object
boofcv.io.wrapper.images.LoadFileImageSequence<T>
All Implemented Interfaces:
SimpleImageSequence<T>

public class LoadFileImageSequence<T extends ImageBase<T>> extends Object implements SimpleImageSequence<T>
Loads all the images in a directory that have the specified suffix. If requested it can scale the images down. The order in which the images are returned is determined by Collections.sort() by file name.
  • Constructor Details

    • LoadFileImageSequence

      public LoadFileImageSequence(ImageType<T> type, String directory, @Nullable @Nullable String suffix)
      Will load an image sequence with no modification.
      Parameters:
      directory - The directory containing the images.
      suffix - The suffix that the images have.
    • LoadFileImageSequence

      public LoadFileImageSequence(ImageType<T> type, String directory, @Nullable @Nullable String suffix, int scalefactor)
      Will load an image sequence and then scale the images
      Parameters:
      directory - The directory containing the images.
      suffix - The suffix that the images have.
      scalefactor - How much the images will be scaled down by.
  • Method Details