Package com.agisoft.metashape.tasks
Class DetectMarkers
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.DetectMarkers
public class DetectMarkers extends Task
Task class containing processing parameters.
-
Field Summary
Fields inherited from class com.agisoft.metashape.tasks.Task
swigCMemOwn -
Constructor Summary
Constructors Modifier Constructor Description DetectMarkers()protectedDetectMarkers(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()int[]getCameras()List of cameras to process.protected static longgetCPtr(DetectMarkers obj)booleangetFilterMask()Ignore masked image regions.int[]getFrames()List of frames to process.booleangetInverted()Detect markers on black background.doublegetMaximumResidual()Maximum residual for non-coded targets in pixels.intgetMinimumDist()Minimum distance between targets in pixels (CrossTarget type only).intgetMinimumSize()Minimum target radius in pixels to be detected (CrossTarget type only).booleangetNoparity()Disable parity checking.TargetTypegetTargetType()Type of targets.intgetTolerance()Detector 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, getWorkitemCount, setParameter, setWorkitemCount
-
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
-