Class IntensityAdjustmentTools
java.lang.Object
net.preibisch.mvrecon.process.fusion.intensityadjust.IntensityAdjustmentTools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <M extends mpicbg.models.Model<M> & mpicbg.models.Affine1D<M>>
HashMap<mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> computeIntensityAdjustment(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, List<? extends mpicbg.spim.data.sequence.ViewId> viewIds, M intensityModel, net.imglib2.Interval bb, double downsampling, int maxMatches, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> existingAdjustments) static booleancontainsAdjustments(IntensityAdjustments adjustments, Collection<? extends mpicbg.spim.data.sequence.ViewId> viewIds) static <M extends mpicbg.models.Model<M> & mpicbg.models.Affine1D<M>>
HashMap<mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> runGlobal(HashMap<net.imglib2.util.Pair<Integer, Integer>, ArrayList<mpicbg.models.PointMatch>> intensityMatches, HashMap<Integer, mpicbg.spim.data.sequence.ViewId> viewMap, M model)
-
Constructor Details
-
IntensityAdjustmentTools
public IntensityAdjustmentTools()
-
-
Method Details
-
containsAdjustments
public static boolean containsAdjustments(IntensityAdjustments adjustments, Collection<? extends mpicbg.spim.data.sequence.ViewId> viewIds) -
computeIntensityAdjustment
public static <M extends mpicbg.models.Model<M> & mpicbg.models.Affine1D<M>> HashMap<mpicbg.spim.data.sequence.ViewId,mpicbg.models.AffineModel1D> computeIntensityAdjustment(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, List<? extends mpicbg.spim.data.sequence.ViewId> viewIds, M intensityModel, net.imglib2.Interval bb, double downsampling, int maxMatches, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> existingAdjustments) -
runGlobal
public static <M extends mpicbg.models.Model<M> & mpicbg.models.Affine1D<M>> HashMap<mpicbg.spim.data.sequence.ViewId,mpicbg.models.AffineModel1D> runGlobal(HashMap<net.imglib2.util.Pair<Integer, Integer>, ArrayList<mpicbg.models.PointMatch>> intensityMatches, HashMap<Integer, mpicbg.spim.data.sequence.ViewId> viewMap, M model) - Type Parameters:
M- - which model type- Parameters:
intensityMatches- - all pointmatches for the pairs of imagesviewMap- - links images to ViewIds - integers need to be between 0 and viewMap.keySet().size() - 1model- - the model to use- Returns:
- the transformations for each image indexed by integer
-