Class Save3dTIFF
java.lang.Object
net.preibisch.mvrecon.process.export.Save3dTIFF
- All Implemented Interfaces:
Calibrateable,ImgExport
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]specify the desired 3d blocksize used for the Lazy instances<T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
booleanexportImage(net.imglib2.algorithm.blocks.BlockSupplier<T> img, net.imglib2.Interval bb, double downsampling, 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)getFileName(String title) double[]getUnit()booleanqueryParameters(FusionExportInterface fusion) static booleansaveTiffStack(ij.ImagePlus imp, String path) voidsetCalibration(double[] pixelSize, String unit)
-
Field Details
-
defaultUseXMLPath
public static boolean defaultUseXMLPath -
defaultPath
-
defaultFN
-
-
Constructor Details
-
Save3dTIFF
-
Save3dTIFF
-
-
Method Details
-
getFileName
-
exportImage
public <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> boolean exportImage(net.imglib2.algorithm.blocks.BlockSupplier<T> img, net.imglib2.Interval bb, double downsampling, 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:
img- - Note, in rare cases this can be null (i.e. do nothing)bb- - the bounding box used to fuse this imagedownsampling- - 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
-
saveTiffStack
-
queryParameters
- Specified by:
queryParametersin interfaceImgExport
-
newInstance
- Specified by:
newInstancein interfaceImgExport
-
getDescription
- Specified by:
getDescriptionin interfaceImgExport- Returns:
- - to be displayed in the generic dialog
-
finish
public boolean finish()Description copied from interface:ImgExportCalled last when the fusion is finished (e.g. to write the XML) -
setCalibration
- Specified by:
setCalibrationin interfaceCalibrateable
-
getUnit
- Specified by:
getUnitin interfaceCalibrateable
-
getPixelSize
public double[] getPixelSize()- Specified by:
getPixelSizein interfaceCalibrateable
-
blocksize
public int[] blocksize()Description copied from interface:ImgExportspecify the desired 3d blocksize used for the Lazy instances
-