Package com.agisoft.metashape.tasks
Class ImportMasks
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.ImportMasks
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[]Optional list of cameras to be processed.protected static longgetCPtr(ImportMasks obj)Mask operation.getPath()Mask file name template.Mask source.intBackground masking tolerance.voidsetCameras(int[] value)Optional list of cameras to be processed.voidsetOperation(MaskOperation value)Mask operation.voidMask file name template.voidsetSource(MaskSource value)Mask source.voidsetTolerance(int value)Background masking tolerance.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
-
ImportMasks
protected ImportMasks(long cPtr, boolean cMemoryOwn) -
ImportMasks
public ImportMasks()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setCameras
public void setCameras(int[] value)Optional list of cameras to be processed. -
getCameras
public int[] getCameras()Optional list of cameras to be processed. -
setOperation
Mask operation. Default: MaskOperation.MaskOperationReplacement -
getOperation
Mask operation. Default: MaskOperation.MaskOperationReplacement -
setPath
Mask file name template. -
getPath
Mask file name template. -
setSource
Mask source. Default: MaskSource.MaskSourceAlpha -
getSource
Mask source. Default: MaskSource.MaskSourceAlpha -
setTolerance
public void setTolerance(int value)Background masking tolerance. Default: 10 -
getTolerance
public int getTolerance()Background masking tolerance. Default: 10
-