Class ViewSetupUtils
java.lang.Object
net.preibisch.mvrecon.fiji.spimdata.ViewSetupUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.imglib2.Dimensionsstatic net.imglib2.DimensionsgetSizeOrLoad(mpicbg.spim.data.generic.sequence.BasicViewSetup setup, mpicbg.spim.data.sequence.TimePoint t, mpicbg.spim.data.sequence.ImgLoader loader) getVoxelSizeOrLoad(mpicbg.spim.data.generic.sequence.BasicViewSetup setup, mpicbg.spim.data.sequence.TimePoint t, mpicbg.spim.data.sequence.ImgLoader loader)
-
Constructor Details
-
ViewSetupUtils
public ViewSetupUtils()
-
-
Method Details
-
getVoxelSize
public static mpicbg.spim.data.sequence.VoxelDimensions getVoxelSize(mpicbg.spim.data.generic.sequence.BasicViewSetup setup) - Parameters:
setup- - theBasicViewSetup- Returns:
- - the Voxelsize for this
ViewSetupor null if it is not in the XML
-
getVoxelSizeOrLoad
public static mpicbg.spim.data.sequence.VoxelDimensions getVoxelSizeOrLoad(mpicbg.spim.data.generic.sequence.BasicViewSetup setup, mpicbg.spim.data.sequence.TimePoint t, mpicbg.spim.data.sequence.ImgLoader loader) - Parameters:
setup- - theBasicViewSetupfor which to get the Voxelsizet- - theTimePointfrom which to load the Voxelsizeloader- - theImgLoader- Returns:
- - the Voxelsize for this
ViewSetup
-
getSize
public static net.imglib2.Dimensions getSize(mpicbg.spim.data.generic.sequence.BasicViewSetup setup) - Parameters:
setup- - theBasicViewSetup- Returns:
- - the image size of this
ViewSetupor null if it is not in the XML
-
getSizeOrLoad
public static net.imglib2.Dimensions getSizeOrLoad(mpicbg.spim.data.generic.sequence.BasicViewSetup setup, mpicbg.spim.data.sequence.TimePoint t, mpicbg.spim.data.sequence.ImgLoader loader) - Parameters:
setup- - theBasicViewSetupfor which to get the image sizet- - theTimePointfrom which to load the image sizeloader- - theImgLoader- Returns:
- - the image size of this
ViewSetup
-