public class GenerateMasks extends Task
Task.TaskTarget
swigCMemOwn
Constructor and Description |
---|
GenerateMasks() |
Modifier and Type | Method and Description |
---|---|
double |
getBlurThreshold()
Allowed blur radius on a photo in pix (only if mask_defocus=True).
|
int[] |
getCameras()
Optional list of cameras to be processed.
|
double |
getDepthThreshold()
Maximum depth of masked areas in meters (only if mask_defocus=False).
|
boolean |
getFixCoverage()
Extend masks to cover whole mesh (only if mask_defocus=True).
|
int[] |
getFrames()
List of frames to process.
|
boolean |
getMaskDefocus()
Mask defocus areas.
|
MaskingMode |
getMaskingMode()
Mask generation mode.
|
MaskOperation |
getMaskOperation()
Mask operation.
|
java.lang.String |
getPath()
Mask file name template.
|
boolean |
getReplaceAsset()
Update default set of masks with generated masks.
|
int |
getTolerance()
Background masking tolerance.
|
void |
setBlurThreshold(double value)
Allowed blur radius on a photo in pix (only if mask_defocus=True).
|
void |
setCameras(int[] value)
Optional list of cameras to be processed.
|
void |
setDepthThreshold(double value)
Maximum depth of masked areas in meters (only if mask_defocus=False).
|
void |
setFixCoverage(boolean value)
Extend masks to cover whole mesh (only if mask_defocus=True).
|
void |
setFrames(int[] value)
List of frames to process.
|
void |
setMaskDefocus(boolean value)
Mask defocus areas.
|
void |
setMaskingMode(MaskingMode value)
Mask generation mode.
|
void |
setMaskOperation(MaskOperation value)
Mask operation.
|
void |
setPath(java.lang.String value)
Mask file name template.
|
void |
setReplaceAsset(boolean value)
Update default set of masks with generated masks.
|
void |
setTolerance(int value)
Background masking tolerance.
|
apply, apply, close, delete, finalize, getCPtr, getGpuSupport, getName, getParameter, getParameterNames, getTarget, getWorkitemCount, setParameter, setWorkitemCount, toNetworkTask, toNetworkTask, toNetworkTask, toNetworkTask
public void setBlurThreshold(double value)
public double getBlurThreshold()
public void setCameras(int[] value)
public int[] getCameras()
public void setDepthThreshold(double value)
public double getDepthThreshold()
public void setFixCoverage(boolean value)
public boolean getFixCoverage()
public void setFrames(int[] value)
public int[] getFrames()
public void setMaskDefocus(boolean value)
public boolean getMaskDefocus()
public void setMaskOperation(MaskOperation value)
public MaskOperation getMaskOperation()
public void setMaskingMode(MaskingMode value)
public MaskingMode getMaskingMode()
public void setPath(java.lang.String value)
public java.lang.String getPath()
public void setReplaceAsset(boolean value)
public boolean getReplaceAsset()
public void setTolerance(int value)
public int getTolerance()