Package com.agisoft.metashape
Class Sensor
java.lang.Object
com.agisoft.metashape.Sensor
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long[]cArrayUnwrap(Sensor[] arrayWrapper) static Sensor[]cArrayWrap(long[] cArray, boolean cMemoryOwn) voiddelete()protected voidfinalize()GPS antenna correction.Adjusted calibration of the photo.Sensor projection model.getChunk()Chunk container, may be null.static longdoubleFocal length in mm.longImage width.intgetKey()Sensor identifier.getLabel()Sensor label.Sensor master, may be null.getMeta()Sensor meta data.doublePixel height in mm.doublePixel width in mm.Sensor reference data.Custom calibration used as initial calibration during photo alignment, may be null.Vignetting for each band.longgetWidth()Image width.booleanisFixed()Fix calibration flag.voidMake this sensor master in the multi-camera system.voidsetAntenna(Antenna antenna) GPS antenna correction.voidsetCalibration(Calibration calibration) Adjusted calibration of the photo.voidSensor projection model.voidsetFixed(boolean fixed) Fix calibration flag.voidsetFocalLength(double focal_length) Focal length in mm.voidSensor label.voidSensor master, may be null.voidSensor 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, may be 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, may be null. -
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, may be null. -
getUserCalib
Custom calibration used as initial calibration during photo alignment, may be 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. -
setMaster
Sensor master, may be null. -
getMaster
Sensor master, may be null. -
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. -
makeMaster
public void makeMaster()Make this sensor master in the multi-camera system.
-