Class IntensityCorrection
java.lang.Object
net.preibisch.mvrecon.process.fusion.intensity.IntensityCorrection
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.imglib2.RealIntervalgetBounds(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId) getPotentialBleachers(List<mpicbg.spim.data.sequence.ViewId> views, Map<mpicbg.spim.data.sequence.ViewId, net.imglib2.RealInterval> viewBounds) Given a list ofViewIdsin the order they were acquired (such that views later in the list have been potentially bleached by earlier views), finds for eachViewIdthe potential "bleachers" (earlier views with overlapping bounds).static ViewPairCoefficientMatchesmatchHistograms(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId1, List<mpicbg.spim.data.sequence.ViewId> viewId1Bleachers, mpicbg.spim.data.sequence.ViewId viewId2, List<mpicbg.spim.data.sequence.ViewId> viewId2Bleachers, UnbleachFunction unbleachFunction, double renderScale, int[] coefficientsSize, double minIntensity, double maxIntensity, int minNumCandidates) static ViewPairCoefficientMatchesmatchHistograms(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId1, mpicbg.spim.data.sequence.ViewId viewId2, double renderScale, int[] coefficientsSize, double minIntensity, double maxIntensity, int minNumCandidates) static ViewPairCoefficientMatchesmatchRansac(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId1, List<mpicbg.spim.data.sequence.ViewId> viewId1Bleachers, mpicbg.spim.data.sequence.ViewId viewId2, List<mpicbg.spim.data.sequence.ViewId> viewId2Bleachers, UnbleachFunction unbleachFunction, double renderScale, int[] coefficientsSize, double minIntensity, double maxIntensity, int minNumCandidates, int iterations, double maxEpsilon, double minInlierRatio, int minNumInliers, double maxTrust) static ViewPairCoefficientMatchesmatchRansac(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId1, mpicbg.spim.data.sequence.ViewId viewId2, double renderScale, int[] coefficientsSize, double minIntensity, double maxIntensity, int minNumCandidates, int iterations, double maxEpsilon, double minInlierRatio, int minNumInliers, double maxTrust) static CoefficientsreadCoefficients(org.janelia.saalfeldlab.n5.N5Reader n5Reader, String group, String dataset, mpicbg.spim.data.sequence.ViewId viewId) solve(int[] coefficientsSize, Collection<ViewPairCoefficientMatches> pairwiseMatches, int iterations) static voidwriteCoefficients(org.janelia.saalfeldlab.n5.N5Writer n5Writer, String group, String dataset, Map<mpicbg.spim.data.sequence.ViewId, Coefficients> coefficients)
-
Constructor Details
-
IntensityCorrection
public IntensityCorrection()
-
-
Method Details
-
getBounds
public static net.imglib2.RealInterval getBounds(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId) -
getPotentialBleachers
public static Map<mpicbg.spim.data.sequence.ViewId,List<mpicbg.spim.data.sequence.ViewId>> getPotentialBleachers(List<mpicbg.spim.data.sequence.ViewId> views, Map<mpicbg.spim.data.sequence.ViewId, net.imglib2.RealInterval> viewBounds) Given a list ofViewIdsin the order they were acquired (such that views later in the list have been potentially bleached by earlier views), finds for eachViewIdthe potential "bleachers" (earlier views with overlapping bounds).- Parameters:
views- list of allViewIdsin the order they were acquiredviewBounds- mapsViewIdto bounding box in world coordinates- Returns:
- maps every ViewId to the ViewIds of potential bleachers
-
matchRansac
public static ViewPairCoefficientMatches matchRansac(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId1, mpicbg.spim.data.sequence.ViewId viewId2, double renderScale, int[] coefficientsSize, double minIntensity, double maxIntensity, int minNumCandidates, int iterations, double maxEpsilon, double minInlierRatio, int minNumInliers, double maxTrust) -
matchRansac
public static ViewPairCoefficientMatches matchRansac(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId1, List<mpicbg.spim.data.sequence.ViewId> viewId1Bleachers, mpicbg.spim.data.sequence.ViewId viewId2, List<mpicbg.spim.data.sequence.ViewId> viewId2Bleachers, UnbleachFunction unbleachFunction, double renderScale, int[] coefficientsSize, double minIntensity, double maxIntensity, int minNumCandidates, int iterations, double maxEpsilon, double minInlierRatio, int minNumInliers, double maxTrust) -
matchHistograms
public static ViewPairCoefficientMatches matchHistograms(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId1, mpicbg.spim.data.sequence.ViewId viewId2, double renderScale, int[] coefficientsSize, double minIntensity, double maxIntensity, int minNumCandidates) -
matchHistograms
public static ViewPairCoefficientMatches matchHistograms(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, mpicbg.spim.data.sequence.ViewId viewId1, List<mpicbg.spim.data.sequence.ViewId> viewId1Bleachers, mpicbg.spim.data.sequence.ViewId viewId2, List<mpicbg.spim.data.sequence.ViewId> viewId2Bleachers, UnbleachFunction unbleachFunction, double renderScale, int[] coefficientsSize, double minIntensity, double maxIntensity, int minNumCandidates) -
solve
public static Map<mpicbg.spim.data.sequence.ViewId,Coefficients> solve(int[] coefficientsSize, Collection<ViewPairCoefficientMatches> pairwiseMatches, int iterations) -
writeCoefficients
public static void writeCoefficients(org.janelia.saalfeldlab.n5.N5Writer n5Writer, String group, String dataset, Map<mpicbg.spim.data.sequence.ViewId, Coefficients> coefficients) -
readCoefficients
public static Coefficients readCoefficients(org.janelia.saalfeldlab.n5.N5Reader n5Reader, String group, String dataset, mpicbg.spim.data.sequence.ViewId viewId)
-