Class LookUpImageListByIndex<Image extends ImageBase<Image>>

java.lang.Object
boofcv.io.image.LookUpImageListByIndex<Image>
All Implemented Interfaces:
LookUpImages

public class LookUpImageListByIndex<Image extends ImageBase<Image>>
extends Object
implements LookUpImages
Implementation of LookUpImages that converts the name into an integer and grabs images from memory.
  • Constructor Details

    • LookUpImageListByIndex

      public LookUpImageListByIndex​(List<Image> images)
  • Method Details

    • loadShape

      public boolean loadShape​(String name, ImageDimension shape)
      Description copied from interface: LookUpImages
      Loads the shape for an image
      Specified by:
      loadShape in interface LookUpImages
      Parameters:
      name - (Input) Name of the image
      shape - (Output) shape of the image
      Returns:
      true if the image was found or false if not
    • loadImage

      public <LT extends ImageBase<LT>> boolean loadImage​(String name, LT output)
      Description copied from interface: LookUpImages
      Loads an image. If a multi change image is passed in it will load the image as a RGB image.
      Specified by:
      loadImage in interface LookUpImages
      Parameters:
      name - (Input) Name of the image
      output - (Output) Storage for the image
      Returns:
      true if the image was found or false if not