Package com.agisoft.metashape
Class Image
java.lang.Object
com.agisoft.metashape.Image
public class Image extends Object
n-channel image.
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn -
Constructor Summary
-
Method Summary
Modifier and Type Method Description Imageconvert(String channels, DataType data_type)Imagecopy()voiddelete()protected voidfinalize()longgetChannelCount()Number of color channels.StringgetChannels()static longgetCPtr(Image obj)DataTypegetDataType()longgetHeight()Image height.longgetWidth()Image width.booleanisNull()booleanload(String path, int layer, DataType data_type, String channels)voidresize(long width, long height)booleansave(String path)
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Image
public Image(long cPtr, boolean cMemoryOwn) -
Image
public Image() -
Image
-
Image
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
isNull
public boolean isNull() -
copy
-
getWidth
public long getWidth()Image width. -
getHeight
public long getHeight()Image height. -
getChannelCount
public long getChannelCount()Number of color channels. -
getChannels
-
getDataType
-
resize
public void resize(long width, long height) -
convert
-
save
-
load
-