Class LookUpImageFilesByPath

java.lang.Object
boofcv.io.image.LookUpImageFilesByPath
All Implemented Interfaces:
LookUpImages

public class LookUpImageFilesByPath
extends Object
implements LookUpImages
The image ID or name is assumed to the path to the image
  • Constructor Details

  • Method Details

    • loadShape

      public boolean loadShape​(String path, ImageDimension shape)
      Description copied from interface: LookUpImages
      Loads the shape for an image
      Specified by:
      loadShape in interface LookUpImages
      Parameters:
      path - (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 path, 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:
      path - (Input) Name of the image
      output - (Output) Storage for the image
      Returns:
      true if the image was found or false if not