Package com.agisoft.metashape.tasks
Class DetectMarkers
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.DetectMarkers
Task class containing processing parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.agisoft.metashape.tasks.Task
Task.TaskTarget -
Field Summary
Fields inherited from class com.agisoft.metashape.tasks.Task
swigCMemOwn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()protected voidfinalize()int[]List of cameras to process.protected static longgetCPtr(DetectMarkers obj) booleanIgnore masked image regions.int[]List of frames to process.booleanDetect markers on black background.doubleMaximum residual for non-coded targets in pixels.intMinimum distance between targets in pixels (CrossTarget type only).intMinimum target radius in pixels to be detected (CrossTarget type only).booleanDisable parity checking.Type of targets.intDetector tolerance (0 - 100).voidsetCameras(int[] value) List of cameras to process.voidsetFilterMask(boolean value) Ignore masked image regions.voidsetFrames(int[] value) List of frames to process.voidsetInverted(boolean value) Detect markers on black background.voidsetMaximumResidual(double value) Maximum residual for non-coded targets in pixels.voidsetMinimumDist(int value) Minimum distance between targets in pixels (CrossTarget type only).voidsetMinimumSize(int value) Minimum target radius in pixels to be detected (CrossTarget type only).voidsetNoparity(boolean value) Disable parity checking.voidsetTargetType(TargetType value) Type of targets.voidsetTolerance(int value) Detector tolerance (0 - 100).Methods inherited from class com.agisoft.metashape.tasks.Task
apply, apply, getCPtr, getName, getParameter, getParameterNames, getTarget, getWorkitemCount, isGPUSupported, setParameter, setWorkitemCount, toNetworkTask, toNetworkTask, toNetworkTask, toNetworkTask
-
Constructor Details
-
DetectMarkers
protected DetectMarkers(long cPtr, boolean cMemoryOwn) -
DetectMarkers
public DetectMarkers()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setCameras
public void setCameras(int[] value) List of cameras to process. -
getCameras
public int[] getCameras()List of cameras to process. -
setFilterMask
public void setFilterMask(boolean value) Ignore masked image regions. Default: false -
getFilterMask
public boolean getFilterMask()Ignore masked image regions. Default: false -
setFrames
public void setFrames(int[] value) List of frames to process. -
getFrames
public int[] getFrames()List of frames to process. -
setInverted
public void setInverted(boolean value) Detect markers on black background. Default: false -
getInverted
public boolean getInverted()Detect markers on black background. Default: false -
setMaximumResidual
public void setMaximumResidual(double value) Maximum residual for non-coded targets in pixels. Default: 5.0 -
getMaximumResidual
public double getMaximumResidual()Maximum residual for non-coded targets in pixels. Default: 5.0 -
setMinimumDist
public void setMinimumDist(int value) Minimum distance between targets in pixels (CrossTarget type only). Default: 5 -
getMinimumDist
public int getMinimumDist()Minimum distance between targets in pixels (CrossTarget type only). Default: 5 -
setMinimumSize
public void setMinimumSize(int value) Minimum target radius in pixels to be detected (CrossTarget type only). Default: 0 -
getMinimumSize
public int getMinimumSize()Minimum target radius in pixels to be detected (CrossTarget type only). Default: 0 -
setNoparity
public void setNoparity(boolean value) Disable parity checking. Default: false -
getNoparity
public boolean getNoparity()Disable parity checking. Default: false -
setTargetType
Type of targets. Default: TargetType.CircularTarget12bit -
getTargetType
Type of targets. Default: TargetType.CircularTarget12bit -
setTolerance
public void setTolerance(int value) Detector tolerance (0 - 100). Default: 50 -
getTolerance
public int getTolerance()Detector tolerance (0 - 100). Default: 50
-