public class Sensor
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
Sensor.Reference |
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
protected |
Sensor(long cPtr,
boolean cMemoryOwn) |
|
Sensor(Sensor sensor) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
Antenna |
getAntenna()
GPS antenna correction.
|
Calibration |
getCalibration()
Adjusted calibration of the photo.
|
Calibration.Type |
getCameraModel()
Sensor projection model.
|
java.util.Optional<Chunk> |
getChunk()
Chunk container, may be null.
|
protected static long |
getCPtr(Sensor obj) |
double |
getFocalLength()
Focal length in mm.
|
long |
getHeight()
Image width.
|
int |
getKey()
Sensor identifier.
|
java.lang.String |
getLabel()
Sensor label.
|
java.util.Optional<Sensor> |
getMaster()
Sensor master, may be null.
|
java.util.Map<java.lang.String,java.lang.String> |
getMeta()
Sensor meta data.
|
double |
getPixelHeight()
Pixel height in mm.
|
double |
getPixelWidth()
Pixel width in mm.
|
Sensor.Reference |
getReference()
Sensor reference data.
|
java.util.Optional<Calibration> |
getUserCalib()
Custom calibration used as initial calibration during photo alignment, may be null.
|
Vignetting[] |
getVignetting()
Vignetting for each band.
|
long |
getWidth()
Image width.
|
boolean |
isFixed()
Fix calibration flag.
|
void |
makeMaster()
Make this sensor master in the multi-camera system.
|
void |
setAntenna(Antenna antenna)
GPS antenna correction.
|
void |
setCalibration(Calibration calibration)
Adjusted calibration of the photo.
|
void |
setCameraModel(Calibration.Type type)
Sensor projection model.
|
void |
setFixed(boolean fixed)
Fix calibration flag.
|
void |
setFocalLength(double focal_length)
Focal length in mm.
|
void |
setLabel(java.lang.String label)
Sensor label.
|
void |
setMaster(Sensor sensor)
Sensor master, may be null.
|
void |
setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
Sensor meta data.
|
void |
setPixelSize(double width,
double height)
Pixel size in mm.
|
void |
setReference(Sensor.Reference reference)
Sensor reference data.
|
void |
setResolution(long width,
long height)
Image resolution.
|
void |
setUserCalib(Calibration calibration)
Custom calibration used as initial calibration during photo alignment, may be null.
|
void |
setVignetting(Vignetting[] vignetting)
Vignetting for each band.
|
protected Sensor(long cPtr, boolean cMemoryOwn)
public Sensor(Sensor sensor)
protected static long getCPtr(Sensor obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void close()
close
in interface java.lang.AutoCloseable
public int getKey()
public java.util.Optional<Chunk> getChunk()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public void setResolution(long width, long height)
public long getWidth()
public long getHeight()
public void setCameraModel(Calibration.Type type)
public Calibration.Type getCameraModel()
public void setCalibration(Calibration calibration)
public Calibration getCalibration()
public void setUserCalib(Calibration calibration)
public java.util.Optional<Calibration> getUserCalib()
public void setFixed(boolean fixed)
public boolean isFixed()
public void setPixelSize(double width, double height)
public double getPixelWidth()
public double getPixelHeight()
public void setFocalLength(double focal_length)
public double getFocalLength()
public void setMaster(Sensor sensor)
public java.util.Optional<Sensor> getMaster()
public void setReference(Sensor.Reference reference)
public Sensor.Reference getReference()
public void setAntenna(Antenna antenna)
public Antenna getAntenna()
public void setVignetting(Vignetting[] vignetting)
public Vignetting[] getVignetting()
public void setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
public java.util.Map<java.lang.String,java.lang.String> getMeta()
public void makeMaster()