Class Image

java.lang.Object
com.agisoft.metashape.Image

public class Image extends Object
n-channel image.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Image

      public Image(long cPtr, boolean cMemoryOwn)
    • Image

      public Image()
    • Image

      public Image(Image image)
    • Image

      public Image(long width, long height, String channels, DataType data_type)
  • Method Details

    • getCPtr

      public static long getCPtr(Image obj)
    • finalize

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

      public void delete()
    • isNull

      public boolean isNull()
    • copy

      public Image copy()
    • getWidth

      public long getWidth()
      Image width.
    • getHeight

      public long getHeight()
      Image height.
    • getChannelCount

      public long getChannelCount()
      Number of color channels.
    • getChannels

      public String getChannels()
    • getDataType

      public DataType getDataType()
    • resize

      public void resize(long width, long height)
    • convert

      public Image convert(String channels, DataType data_type)
    • save

      public boolean save(String path)
    • load

      public boolean load(String path, int layer, DataType data_type, String channels)