java.lang.Object
net.preibisch.mvrecon.fiji.spimdata.interestpoints.InterestPoints
Direct Known Subclasses:
InterestPointsN5

public abstract class InterestPoints extends Object
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 Details

    • InterestPoints

      protected InterestPoints(URI basePath)
  • Method Details

    • instantiatefromXML

      public static InterestPoints instantiatefromXML(URI baseDir, String fromXMLInfo)
    • newInstance

      public static InterestPoints newInstance(URI baseDir, mpicbg.spim.data.sequence.ViewId viewId, String label)
    • hasModifiedInterestPoints

      public boolean hasModifiedInterestPoints()
    • hasModifiedCorrespondingInterestPoints

      public boolean hasModifiedCorrespondingInterestPoints()
    • getBasePath

      public URI getBasePath()
    • setBasePath

      public void setBasePath(URI basePath)
    • deleteInterestPoints

      public abstract boolean deleteInterestPoints()
    • deleteCorrespondingInterestPoints

      public abstract boolean deleteCorrespondingInterestPoints()
    • getParameters

      public String getParameters()
      Returns:
      the parameters used for segmenting these points
    • setParameters

      public void setParameters(String parameters)
    • getXMLRepresentation

      public abstract String getXMLRepresentation()
      Returns:
      a string to be stored in the XML, also used to instantiate this object (e.g. file path)
    • getInterestPointsCopy

      public abstract Map<Integer,InterestPoint> getInterestPointsCopy()
      Returns:
      - a map from interest point ID to interest points (copied), tries to load from disc if null
    • getCorrespondingInterestPointsCopy

      public abstract Collection<CorrespondingInterestPoints> getCorrespondingInterestPointsCopy()
      Returns:
      - the collection of corresponding interest points (copied), tries to load from disc if null
    • setInterestPoints

      public void setInterestPoints(Collection<InterestPoint> list)
    • setCorrespondingInterestPoints

      public void setCorrespondingInterestPoints(Collection<CorrespondingInterestPoints> list)
    • setInterestPointsLocal

      protected abstract void setInterestPointsLocal(Collection<InterestPoint> list)
    • 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()