Class DisplayImage
java.lang.Object
net.preibisch.mvrecon.process.export.DisplayImage
- All Implemented Interfaces:
Calibrateable,ImgExport
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic final ExecutorService -
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)static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
ij.ImagePlusgetImagePlusInstance(net.imglib2.algorithm.blocks.BlockSupplier<T> supplier, net.imglib2.Interval interval, int[] blockSize, boolean virtualDisplay, String title, double min, double max, ExecutorService service) double[]getUnit()booleanqueryParameters(FusionExportInterface fusion) voidsetCalibration(double[] pixelSize, String unit) static voidsetCalibration(ij.ImagePlus imp, net.imglib2.Interval bb, double downsampling, double anisoF, double[] cal, String unit)
-
Field Details
-
service
-
defaultChoice
public static int defaultChoice -
defaultBlocksizeVirtualX
public static int defaultBlocksizeVirtualX -
defaultBlocksizeVirtualY
public static int defaultBlocksizeVirtualY -
defaultBlocksizeVirtualZ
public static int defaultBlocksizeVirtualZ -
defaultBlocksizePrecomputeX
public static int defaultBlocksizePrecomputeX -
defaultBlocksizePrecomputeY
public static int defaultBlocksizePrecomputeY -
defaultBlocksizePrecomputeZ
public static int defaultBlocksizePrecomputeZ -
defaultMinIntensity
public static int defaultMinIntensity -
defaultMaxIntensity
public static int defaultMaxIntensity
-
-
Constructor Details
-
DisplayImage
public DisplayImage() -
DisplayImage
public DisplayImage(boolean virtualDisplay)
-
-
Method Details
-
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
-
setCalibration
public static void setCalibration(ij.ImagePlus imp, net.imglib2.Interval bb, double downsampling, double anisoF, double[] cal, String unit) -
getImagePlusInstance
public static <T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>> ij.ImagePlus getImagePlusInstance(net.imglib2.algorithm.blocks.BlockSupplier<T> supplier, net.imglib2.Interval interval, int[] blockSize, boolean virtualDisplay, String title, double min, double max, ExecutorService service) -
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
-