Class BoundingBoxMaximalGroupOverlap<V extends mpicbg.spim.data.sequence.ViewId>
java.lang.Object
net.preibisch.mvrecon.process.boundingbox.BoundingBoxMaximalGroupOverlap<V>
- All Implemented Interfaces:
BoundingBoxEstimation
public class BoundingBoxMaximalGroupOverlap<V extends mpicbg.spim.data.sequence.ViewId>
extends Object
implements BoundingBoxEstimation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final mpicbg.spim.data.registration.ViewRegistrationsprotected final Map<Integer, ? extends mpicbg.spim.data.generic.sequence.BasicViewSetup> -
Constructor Summary
ConstructorsConstructorDescriptionBoundingBoxMaximalGroupOverlap(Collection<? extends Iterable<V>> viewGroups, mpicbg.spim.data.generic.AbstractSpimData<?> spimData) BoundingBoxMaximalGroupOverlap(Collection<? extends Iterable<V>> viewGroups, mpicbg.spim.data.generic.sequence.AbstractSequenceDescription<? extends mpicbg.spim.data.generic.sequence.BasicViewSetup, ?, ?> sd, mpicbg.spim.data.registration.ViewRegistrations vrs) -
Method Summary
Modifier and TypeMethodDescriptionestimateBounds(net.imglib2.RealInterval interval, net.imglib2.realtransform.AffineGet transform) Calculate the boundary interval of an interval after it has been transformed by transform.static net.imglib2.RealIntervalgetMinBoundingInterval(Collection<Collection<net.imglib2.util.Pair<net.imglib2.RealInterval, net.imglib2.realtransform.AffineGet>>> viewGroups) static net.imglib2.RealIntervalgetMinBoundingIntervalSingle(Collection<net.imglib2.util.Pair<net.imglib2.RealInterval, net.imglib2.realtransform.AffineGet>> views) static voidrealUnion(net.imglib2.RealInterval intervalA, net.imglib2.RealInterval intervalB) Compute the smallest interval that contains both input intervals.
-
Field Details
-
vrs
-
vss
-
-
Constructor Details
-
BoundingBoxMaximalGroupOverlap
public BoundingBoxMaximalGroupOverlap(Collection<? extends Iterable<V>> viewGroups, mpicbg.spim.data.generic.AbstractSpimData<?> spimData) -
BoundingBoxMaximalGroupOverlap
public BoundingBoxMaximalGroupOverlap(Collection<? extends Iterable<V>> viewGroups, mpicbg.spim.data.generic.sequence.AbstractSequenceDescription<? extends mpicbg.spim.data.generic.sequence.BasicViewSetup, ?, ?> sd, mpicbg.spim.data.registration.ViewRegistrations vrs)
-
-
Method Details
-
estimate
- Specified by:
estimatein interfaceBoundingBoxEstimation
-
getMinBoundingInterval
public static net.imglib2.RealInterval getMinBoundingInterval(Collection<Collection<net.imglib2.util.Pair<net.imglib2.RealInterval, net.imglib2.realtransform.AffineGet>>> viewGroups) -
realUnion
public static net.imglib2.FinalRealInterval realUnion(net.imglib2.RealInterval intervalA, net.imglib2.RealInterval intervalB) Compute the smallest interval that contains both input intervals. Create aFinalIntervalthat represents that interval.- Parameters:
intervalA- input intervalintervalB- input interval- Returns:
- union of input intervals
-
getMinBoundingIntervalSingle
public static net.imglib2.RealInterval getMinBoundingIntervalSingle(Collection<net.imglib2.util.Pair<net.imglib2.RealInterval, net.imglib2.realtransform.AffineGet>> views) -
estimateBounds
public static net.imglib2.FinalRealInterval estimateBounds(net.imglib2.RealInterval interval, net.imglib2.realtransform.AffineGet transform) Calculate the boundary interval of an interval after it has been transformed by transform. generalized version of code inAffineTransform3D- Parameters:
interval- - the intervaltransform- - the transform- Returns:
- - boundary of transformed interval
-
main
-