Class ExportN5Api
java.lang.Object
net.preibisch.mvrecon.process.export.ExportN5Api
- All Implemented Interfaces:
Calibrateable,ImgExport
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic booleanstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic Stringstatic booleanstatic booleanstatic intstatic booleanstatic intstatic Stringstatic intstatic booleanstatic intstatic String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]specify the desired 3d blocksize used for the Lazy instancesint[]static int[][]estimateMultiResPyramid(net.imglib2.Dimensions dimensions, double aniso) <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
booleanexportImage(net.imglib2.algorithm.blocks.BlockSupplier<T> blockSupplierIn, net.imglib2.Interval bb, double downsamplingF, double anisoF, String title, Group<? extends mpicbg.spim.data.sequence.ViewDescription> fusionGroup) Exports the image using a predefined min/maxbooleanfinish()Called last when the fusion is finished (e.g. to write the XML)double[]getUnit()booleanqueryParameters(FusionExportInterface fusion) voidsetCalibration(double[] pixelSize, String unit)
-
Field Details
-
defaultPathURI
-
defaultOption
public static int defaultOption -
defaultDatasetName
-
defaultOmeZarrDim
public static int defaultOmeZarrDim -
defaultOmeZarrOneContainer
public static boolean defaultOmeZarrOneContainer -
defaultBDV
public static boolean defaultBDV -
defaultMultiRes
public static boolean defaultMultiRes -
defaultXMLOutURI
-
defaultManuallyAssignViewId
public static boolean defaultManuallyAssignViewId -
defaultTpId
public static int defaultTpId -
defaultVSId
public static int defaultVSId -
defaultBlocksizeX_N5
public static int defaultBlocksizeX_N5 -
defaultBlocksizeY_N5
public static int defaultBlocksizeY_N5 -
defaultBlocksizeZ_N5
public static int defaultBlocksizeZ_N5 -
defaultBlocksizeX_H5
public static int defaultBlocksizeX_H5 -
defaultBlocksizeY_H5
public static int defaultBlocksizeY_H5 -
defaultBlocksizeZ_H5
public static int defaultBlocksizeZ_H5 -
defaultAdvancedBlockSize
public static boolean defaultAdvancedBlockSize -
defaultBlocksizeFactorX_N5
public static int defaultBlocksizeFactorX_N5 -
defaultBlocksizeFactorY_N5
public static int defaultBlocksizeFactorY_N5 -
defaultBlocksizeFactorZ_N5
public static int defaultBlocksizeFactorZ_N5 -
defaultBlocksizeFactorX_H5
public static int defaultBlocksizeFactorX_H5 -
defaultBlocksizeFactorY_H5
public static int defaultBlocksizeFactorY_H5 -
defaultBlocksizeFactorZ_H5
public static int defaultBlocksizeFactorZ_H5 -
defaultUseSharding
public static boolean defaultUseSharding
-
-
Constructor Details
-
ExportN5Api
public ExportN5Api()
-
-
Method Details
-
finish
public boolean finish()Description copied from interface:ImgExportCalled last when the fusion is finished (e.g. to write the XML) -
blocksize
public int[] blocksize()Description copied from interface:ImgExportspecify the desired 3d blocksize used for the Lazy instances -
computeBlocksizeFactor
public int[] computeBlocksizeFactor() -
newInstance
- Specified by:
newInstancein interfaceImgExport
-
getDescription
- Specified by:
getDescriptionin interfaceImgExport- Returns:
- - to be displayed in the generic dialog
-
exportImage
public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> boolean exportImage(net.imglib2.algorithm.blocks.BlockSupplier<T> blockSupplierIn, net.imglib2.Interval bb, double downsamplingF, double anisoF, String title, Group<? extends mpicbg.spim.data.sequence.ViewDescription> fusionGroup) Description copied from interface:ImgExportExports the image using a predefined min/max- Specified by:
exportImagein interfaceImgExport- Type Parameters:
T- pixel type- Parameters:
blockSupplierIn- - Note, in rare cases this can be null (i.e. do nothing)bb- - the bounding box used to fuse this imagedownsamplingF- - how much it was downsampled (or NaN if not)anisoF- - how much the z-dimension was scaled (or NaN if not)title- - the name of the imagefusionGroup- - which views are part of this fusion- Returns:
- success? true or false
-
queryParameters
- Specified by:
queryParametersin interfaceImgExport
-
setCalibration
- Specified by:
setCalibrationin interfaceCalibrateable
-
getUnit
- Specified by:
getUnitin interfaceCalibrateable
-
getPixelSize
public double[] getPixelSize()- Specified by:
getPixelSizein interfaceCalibrateable
-
estimateMultiResPyramid
-