Package com.agisoft.metashape
Class Photo
java.lang.Object
com.agisoft.metashape.Photo
Photo instance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateThumbnail(int width, int height) Create new thumbnail with specified dimensions.voiddelete()protected voidfinalize()static longlonggetLayer()Layer index in the image file.getMeta()Photo meta data.getPath()Path to the image file.Load image data.voidsetLayer(long layer) Layer index in the image file.voidPhoto meta data.voidPath to the image file.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Photo
public Photo(long cPtr, boolean cMemoryOwn) -
Photo
public Photo() -
Photo
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setPath
Path to the image file. -
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
Photo meta data. -
getMeta
Photo meta data. -
loadImage
Load image data.- Returns:
- Image data, may be null.
-
createThumbnail
Create new thumbnail with specified dimensions.- Parameters:
width- Thumbnail width.height- Thumbnail height.- Returns:
- Thumbnail image, may be null.
-