Class InterestPoints
java.lang.Object
net.preibisch.mvrecon.fiji.spimdata.interestpoints.InterestPoints
- Direct Known Subclasses:
InterestPointsN5
A list of interest points for a certain label, can save and load from textfile as specified in the XML
- Author:
- Stephan Preibisch (stephan.preibisch@gmx.de)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract booleanabstract Collection<CorrespondingInterestPoints> abstract Map<Integer, InterestPoint> abstract Stringbooleanbooleanstatic InterestPointsinstantiatefromXML(URI baseDir, String fromXMLInfo) protected abstract booleanprotected abstract booleanstatic InterestPointsnewInstance(URI baseDir, mpicbg.spim.data.sequence.ViewId viewId, String label) abstract booleansaveCorrespondingInterestPoints(boolean forceWrite) abstract booleansaveInterestPoints(boolean forceWrite) voidsetBasePath(URI basePath) voidprotected abstract voidvoidprotected abstract voidvoidsetParameters(String parameters)
-
Constructor Details
-
InterestPoints
-
-
Method Details
-
instantiatefromXML
-
newInstance
public static InterestPoints newInstance(URI baseDir, mpicbg.spim.data.sequence.ViewId viewId, String label) -
hasModifiedInterestPoints
public boolean hasModifiedInterestPoints() -
hasModifiedCorrespondingInterestPoints
public boolean hasModifiedCorrespondingInterestPoints() -
getBasePath
-
setBasePath
-
deleteInterestPoints
public abstract boolean deleteInterestPoints() -
deleteCorrespondingInterestPoints
public abstract boolean deleteCorrespondingInterestPoints() -
getParameters
- Returns:
- the parameters used for segmenting these points
-
setParameters
-
getXMLRepresentation
- Returns:
- a string to be stored in the XML, also used to instantiate this object (e.g. file path)
-
getInterestPointsCopy
- Returns:
- - a map from interest point ID to interest points (copied), tries to load from disc if null
-
getCorrespondingInterestPointsCopy
- Returns:
- - the collection of corresponding interest points (copied), tries to load from disc if null
-
setInterestPoints
-
setCorrespondingInterestPoints
-
setInterestPointsLocal
-
setCorrespondingInterestPointsLocal
protected abstract void setCorrespondingInterestPointsLocal(Collection<CorrespondingInterestPoints> list) -
saveInterestPoints
public abstract boolean saveInterestPoints(boolean forceWrite) -
saveCorrespondingInterestPoints
public abstract boolean saveCorrespondingInterestPoints(boolean forceWrite) -
loadCorrespondences
protected abstract boolean loadCorrespondences() -
loadInterestPoints
protected abstract boolean loadInterestPoints()
-