Package com.agisoft.metashape.tasks
Class ImportMasks
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.ImportMasks
public class ImportMasks 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 ImportMasks()protectedImportMasks(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()int[]getCameras()Optional list of cameras to be processed.protected static longgetCPtr(ImportMasks obj)MaskOperationgetOperation()Mask operation.StringgetPath()Mask file name template.MaskSourcegetSource()Mask source.intgetTolerance()Background masking tolerance.voidsetCameras(int[] value)Optional list of cameras to be processed.voidsetOperation(MaskOperation value)Mask operation.voidsetPath(String value)Mask 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, getWorkitemCount, setParameter, setWorkitemCount
-
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
-