Package com.agisoft.metashape
Class Sensor
java.lang.Object
com.agisoft.metashape.Sensor
public class Sensor extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSensor.Reference -
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static long[]cArrayUnwrap(Sensor[] arrayWrapper)static Sensor[]cArrayWrap(long[] cArray, boolean cMemoryOwn)voiddelete()protected voidfinalize()AntennagetAntenna()GPS antenna correction.CalibrationgetCalibration()Adjusted calibration of the photo.Calibration.TypegetCameraModel()Sensor projection model.ChunkgetChunk()Chunk container.static longgetCPtr(Sensor obj)doublegetFocalLength()Focal length in mm.longgetHeight()Image width.intgetKey()Sensor identifier.StringgetLabel()Sensor label.MetaDatagetMeta()Sensor meta data.doublegetPixelHeight()Pixel height in mm.doublegetPixelWidth()Pixel width in mm.Sensor.ReferencegetReference()Sensor reference data.CalibrationgetUserCalib()Custom calibration used as initial calibration during photo alignment or null.Vignetting[]getVignetting()Vignetting for each band.longgetWidth()Image width.booleanisFixed()Fix calibration flag.voidsetAntenna(Antenna antenna)GPS antenna correction.voidsetCalibration(Calibration calibration)Adjusted calibration of the photo.voidsetCameraModel(Calibration.Type type)Sensor projection model.voidsetFixed(boolean fixed)Fix calibration flag.voidsetFocalLength(double focal_length)Focal length in mm.voidsetLabel(String label)Sensor label.voidsetMeta(MetaData meta)Sensor meta data.voidsetPixelSize(double width, double height)Pixel size in mm.voidsetReference(Sensor.Reference reference)Sensor reference data.voidsetResolution(long width, long height)Image resolution.voidsetUserCalib(Calibration calibration)Custom calibration used as initial calibration during photo alignment or null.voidsetVignetting(Vignetting[] vignetting)Vignetting for each band.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Sensor
public Sensor(long cPtr, boolean cMemoryOwn) -
Sensor
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
cArrayUnwrap
-
cArrayWrap
-
getKey
public int getKey()Sensor identifier. -
getChunk
Chunk container. -
setLabel
Sensor label. -
getLabel
Sensor label. -
setResolution
public void setResolution(long width, long height)Image resolution. -
getWidth
public long getWidth()Image width. -
getHeight
public long getHeight()Image width. -
setCameraModel
Sensor projection model. -
getCameraModel
Sensor projection model. -
setCalibration
Adjusted calibration of the photo. -
getCalibration
Adjusted calibration of the photo. -
setUserCalib
Custom calibration used as initial calibration during photo alignment or null. -
getUserCalib
Custom calibration used as initial calibration during photo alignment or null. -
setFixed
public void setFixed(boolean fixed)Fix calibration flag. -
isFixed
public boolean isFixed()Fix calibration flag. -
setPixelSize
public void setPixelSize(double width, double height)Pixel size in mm. -
getPixelWidth
public double getPixelWidth()Pixel width in mm. -
getPixelHeight
public double getPixelHeight()Pixel height in mm. -
setFocalLength
public void setFocalLength(double focal_length)Focal length in mm. -
getFocalLength
public double getFocalLength()Focal length in mm. -
setReference
Sensor reference data. -
getReference
Sensor reference data. -
setAntenna
GPS antenna correction. -
getAntenna
GPS antenna correction. -
setVignetting
Vignetting for each band. -
getVignetting
Vignetting for each band. -
setMeta
Sensor meta data. -
getMeta
Sensor meta data.
-