Class InterestPointTools
java.lang.Object
net.preibisch.mvrecon.process.interestpointdetection.InterestPointTools
The type Interest point tools.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddInterestPoints(SpimData2 data, String label, HashMap<mpicbg.spim.data.sequence.ViewId, List<InterestPoint>> points) Add interest points.static booleanaddInterestPoints(SpimData2 data, String label, HashMap<mpicbg.spim.data.sequence.ViewId, List<InterestPoint>> points, String parameters) Add interest points.getAllCorrespondingInterestPointMap(ViewInterestPoints interestPoints, Collection<? extends mpicbg.spim.data.sequence.ViewId> views) static String[]getAllInterestPointLabels(HashMap<String, Integer> labels, List<? extends mpicbg.spim.data.sequence.ViewId> viewIdsToProcess) static String[]getAllInterestPointLabels(SpimData2 spimData, List<? extends mpicbg.spim.data.sequence.ViewId> viewIdsToProcess) Goes through all Views and checks all available labels for interest point detectiongetAllInterestPointMap(ViewInterestPoints interestPoints, Collection<? extends mpicbg.spim.data.sequence.ViewId> views) static StringgetSelectedLabel(String[] labels, int choice) static List<InterestPoint> limitList(int maxDetections, int maxDetectionsTypeIndex, List<InterestPoint> list)
-
Field Details
-
warningLabel
- See Also:
-
limitDetectionChoice
-
-
Constructor Details
-
InterestPointTools
public InterestPointTools()
-
-
Method Details
-
getSelectedLabel
-
getAllInterestPointLabels
public static String[] getAllInterestPointLabels(SpimData2 spimData, List<? extends mpicbg.spim.data.sequence.ViewId> viewIdsToProcess) Goes through all Views and checks all available labels for interest point detection- Parameters:
spimData- - the SpimData objectviewIdsToProcess- - for which viewIds- Returns:
- - labels of all interest points
-
getAllInterestPointLabels
-
getAllCorrespondingInterestPointMap
public static HashMap<String,Integer> getAllCorrespondingInterestPointMap(ViewInterestPoints interestPoints, Collection<? extends mpicbg.spim.data.sequence.ViewId> views) -
getAllInterestPointMap
public static HashMap<String,Integer> getAllInterestPointMap(ViewInterestPoints interestPoints, Collection<? extends mpicbg.spim.data.sequence.ViewId> views) -
addInterestPoints
public static boolean addInterestPoints(SpimData2 data, String label, HashMap<mpicbg.spim.data.sequence.ViewId, List<InterestPoint>> points) Add interest points. Does not save the InteresPoints- Parameters:
data- the datalabel- the labelpoints- the points- Returns:
- the true if successful
-
addInterestPoints
public static boolean addInterestPoints(SpimData2 data, String label, HashMap<mpicbg.spim.data.sequence.ViewId, List<InterestPoint>> points, String parameters) Add interest points.- Parameters:
data- the datalabel- the labelpoints- the pointsparameters- the parameters- Returns:
- the true if successful, false if interest points cannot be saved
-
limitList
public static List<InterestPoint> limitList(int maxDetections, int maxDetectionsTypeIndex, List<InterestPoint> list)
-