Package com.agisoft.metashape.tasks
Class AlignChunks
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.AlignChunks
public class AlignChunks 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 AlignChunks()protectedAlignChunks(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()int[]getChunks()List of chunks to be aligned.protected static longgetCPtr(AlignChunks obj)intgetDownscale()Alignment accuracy.booleangetFilterMask()Filter points by mask.booleangetFitScale()Fit chunk scale during alignment.booleangetGenericPreselection()Enables image pair preselection.intgetKeypointLimit()Maximum number of points for each photo.int[]getMarkers()List of markers to be used for marker based alignment.booleangetMaskTiepoints()Apply mask filter to tie points.intgetMethod()Alignment method.intgetReference()Chunk to be used as a reference.voidsetChunks(int[] value)List of chunks to be aligned.voidsetDownscale(int value)Alignment accuracy.voidsetFilterMask(boolean value)Filter points by mask.voidsetFitScale(boolean value)Fit chunk scale during alignment.voidsetGenericPreselection(boolean value)Enables image pair preselection.voidsetKeypointLimit(int value)Maximum number of points for each photo.voidsetMarkers(int[] value)List of markers to be used for marker based alignment.voidsetMaskTiepoints(boolean value)Apply mask filter to tie points.voidsetMethod(int value)Alignment method.voidsetReference(int value)Chunk to be used as a reference.Methods inherited from class com.agisoft.metashape.tasks.Task
apply, apply, getCPtr, getName, getParameter, getWorkitemCount, setParameter, setWorkitemCount
-
Constructor Details
-
AlignChunks
protected AlignChunks(long cPtr, boolean cMemoryOwn) -
AlignChunks
public AlignChunks()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setChunks
public void setChunks(int[] value)List of chunks to be aligned. -
getChunks
public int[] getChunks()List of chunks to be aligned. -
setDownscale
public void setDownscale(int value)Alignment accuracy. Default: 1 -
getDownscale
public int getDownscale()Alignment accuracy. Default: 1 -
setFilterMask
public void setFilterMask(boolean value)Filter points by mask. Default: false -
getFilterMask
public boolean getFilterMask()Filter points by mask. Default: false -
setFitScale
public void setFitScale(boolean value)Fit chunk scale during alignment. Default: true -
getFitScale
public boolean getFitScale()Fit chunk scale during alignment. Default: true -
setGenericPreselection
public void setGenericPreselection(boolean value)Enables image pair preselection. Default: false -
getGenericPreselection
public boolean getGenericPreselection()Enables image pair preselection. Default: false -
setKeypointLimit
public void setKeypointLimit(int value)Maximum number of points for each photo. Default: 40000 -
getKeypointLimit
public int getKeypointLimit()Maximum number of points for each photo. Default: 40000 -
setMarkers
public void setMarkers(int[] value)List of markers to be used for marker based alignment. -
getMarkers
public int[] getMarkers()List of markers to be used for marker based alignment. -
setMaskTiepoints
public void setMaskTiepoints(boolean value)Apply mask filter to tie points. Default: false -
getMaskTiepoints
public boolean getMaskTiepoints()Apply mask filter to tie points. Default: false -
setMethod
public void setMethod(int value)Alignment method. Default: 0 -
getMethod
public int getMethod()Alignment method. Default: 0 -
setReference
public void setReference(int value)Chunk to be used as a reference. Default: -1 -
getReference
public int getReference()Chunk to be used as a reference. Default: -1
-