Package com.agisoft.metashape.tasks
Class MatchPhotos
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.MatchPhotos
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[]List of cameras to match.protected static longgetCPtr(MatchPhotos obj) intImage alignment accuracy.booleanFilter points by mask.booleanExclude tie points which are stationary across images.booleanEnable generic preselection.booleanEnable guided image matching.booleanStore keypoints in the project.intKey point limit.intKey point limit per megapixel.booleanApply mask filter to tie points.intMaximum workgroup size.Pair[]getPairs()User defined list of camera pairs to match.booleanEnable reference preselection.Reference preselection mode.booleanReset current matches.booleanEnable fine-level task subdivision.intTie point limit.intNumber of cameras in a workitem.intNumber of image pairs in a workitem.voidsetCameras(int[] value) List of cameras to match.voidsetDownscale(int value) Image alignment accuracy.voidsetFilterMask(boolean value) Filter points by mask.voidsetFilterStationaryPoints(boolean value) Exclude tie points which are stationary across images.voidsetGenericPreselection(boolean value) Enable generic preselection.voidsetGuidedMatching(boolean value) Enable guided image matching.voidsetKeepKeypoints(boolean value) Store keypoints in the project.voidsetKeypointLimit(int value) Key point limit.voidsetKeypointLimitPerMpx(int value) Key point limit per megapixel.voidsetMaskTiepoints(boolean value) Apply mask filter to tie points.voidsetMaxWorkgroupSize(int value) Maximum workgroup size.voidUser defined list of camera pairs to match.voidsetReferencePreselection(boolean value) Enable reference preselection.voidReference preselection mode.voidsetResetMatches(boolean value) Reset current matches.voidsetSubdivideTask(boolean value) Enable fine-level task subdivision.voidsetTiepointLimit(int value) Tie point limit.voidsetWorkitemSizeCameras(int value) Number of cameras in a workitem.voidsetWorkitemSizePairs(int value) Number of image pairs in a workitem.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
-
MatchPhotos
protected MatchPhotos(long cPtr, boolean cMemoryOwn) -
MatchPhotos
public MatchPhotos()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setCameras
public void setCameras(int[] value) List of cameras to match. -
getCameras
public int[] getCameras()List of cameras to match. -
setDownscale
public void setDownscale(int value) Image alignment accuracy. Default: 1 -
getDownscale
public int getDownscale()Image 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 -
setFilterStationaryPoints
public void setFilterStationaryPoints(boolean value) Exclude tie points which are stationary across images. Default: true -
getFilterStationaryPoints
public boolean getFilterStationaryPoints()Exclude tie points which are stationary across images. Default: true -
setGenericPreselection
public void setGenericPreselection(boolean value) Enable generic preselection. Default: true -
getGenericPreselection
public boolean getGenericPreselection()Enable generic preselection. Default: true -
setGuidedMatching
public void setGuidedMatching(boolean value) Enable guided image matching. Default: false -
getGuidedMatching
public boolean getGuidedMatching()Enable guided image matching. Default: false -
setKeepKeypoints
public void setKeepKeypoints(boolean value) Store keypoints in the project. Default: false -
getKeepKeypoints
public boolean getKeepKeypoints()Store keypoints in the project. Default: false -
setKeypointLimit
public void setKeypointLimit(int value) Key point limit. Default: 40000 -
getKeypointLimit
public int getKeypointLimit()Key point limit. Default: 40000 -
setKeypointLimitPerMpx
public void setKeypointLimitPerMpx(int value) Key point limit per megapixel. Default: 1000 -
getKeypointLimitPerMpx
public int getKeypointLimitPerMpx()Key point limit per megapixel. Default: 1000 -
setMaskTiepoints
public void setMaskTiepoints(boolean value) Apply mask filter to tie points. Default: true -
getMaskTiepoints
public boolean getMaskTiepoints()Apply mask filter to tie points. Default: true -
setMaxWorkgroupSize
public void setMaxWorkgroupSize(int value) Maximum workgroup size. Default: 100 -
getMaxWorkgroupSize
public int getMaxWorkgroupSize()Maximum workgroup size. Default: 100 -
setPairs
User defined list of camera pairs to match. -
getPairs
User defined list of camera pairs to match. -
setReferencePreselection
public void setReferencePreselection(boolean value) Enable reference preselection. Default: true -
getReferencePreselection
public boolean getReferencePreselection()Enable reference preselection. Default: true -
setReferencePreselectionMode
Reference preselection mode. Default: ReferencePreselectionMode.ReferencePreselectionSource -
getReferencePreselectionMode
Reference preselection mode. Default: ReferencePreselectionMode.ReferencePreselectionSource -
setResetMatches
public void setResetMatches(boolean value) Reset current matches. Default: false -
getResetMatches
public boolean getResetMatches()Reset current matches. Default: false -
setSubdivideTask
public void setSubdivideTask(boolean value) Enable fine-level task subdivision. Default: true -
getSubdivideTask
public boolean getSubdivideTask()Enable fine-level task subdivision. Default: true -
setTiepointLimit
public void setTiepointLimit(int value) Tie point limit. Default: 4000 -
getTiepointLimit
public int getTiepointLimit()Tie point limit. Default: 4000 -
setWorkitemSizeCameras
public void setWorkitemSizeCameras(int value) Number of cameras in a workitem. Default: 20 -
getWorkitemSizeCameras
public int getWorkitemSizeCameras()Number of cameras in a workitem. Default: 20 -
setWorkitemSizePairs
public void setWorkitemSizePairs(int value) Number of image pairs in a workitem. Default: 80 -
getWorkitemSizePairs
public int getWorkitemSizePairs()Number of image pairs in a workitem. Default: 80
-