Class Photo

java.lang.Object
com.agisoft.metashape.Photo

public class Photo extends Object
Photo instance.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Photo

      public Photo(long cPtr, boolean cMemoryOwn)
    • Photo

      public Photo()
    • Photo

      public Photo(Photo photo)
  • Method Details

    • getCPtr

      public static long getCPtr(Photo obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • setPath

      public void setPath(String path)
      Path to the image file.
    • getPath

      public String getPath()
      Path to the image file.
    • setLayer

      public void setLayer(long layer)
      Layer index in the image file.
    • getLayer

      public long getLayer()
      Layer index in the image file.
    • setMeta

      public void setMeta(MetaData meta)
      Photo meta data.
    • getMeta

      public MetaData getMeta()
      Photo meta data.
    • loadImage

      public Image loadImage(String channels, DataType data_type)
      Load image data.
      Returns:
      Image data, may be null.
    • createThumbnail

      public Image createThumbnail(int width, int height)
      Create new thumbnail with specified dimensions.
      Parameters:
      width - Thumbnail width.
      height - Thumbnail height.
      Returns:
      Thumbnail image, may be null.