public class BoundingBoxGUI extends BoundingBox
| Modifier and Type | Class and Description |
|---|---|
class |
BoundingBoxGUI.ManageListeners |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
changedSpimDataObject |
static int |
defaultImgType |
static int[] |
defaultMax |
static int[] |
defaultMin |
static int |
defaultPixelType |
protected int |
downsampling |
protected int |
imgtype |
static String[] |
imgTypes |
protected int |
pixelType |
static String[] |
pixelTypes |
protected SpimData2 |
spimData |
static int |
staticDownsampling |
protected List<ViewId> |
viewIdsToProcess
which viewIds to process, set in queryParameters
|
max, min, title| Constructor and Description |
|---|
BoundingBoxGUI(SpimData2 spimData,
List<ViewId> viewIdsToProcess) |
BoundingBoxGUI(SpimData2 spimData,
List<ViewId> viewIdsToProcess,
BoundingBox bb) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cleanUp()
Called before the XML is potentially saved
|
static boolean |
computeMaxBoundingBoxDimensions(SpimData2 spimData,
List<ViewId> viewIdsToProcess,
double[] minBB,
double[] maxBB) |
String |
getDescription() |
long[] |
getDimensions() |
int |
getDownSampling() |
<T extends ComplexType<T> & NativeType<T>> |
getImgFactory(T type) |
int |
getImgType() |
int |
getPixelType() |
protected GenericDialog |
getSimpleDialog(boolean compress,
boolean allowModifyDimensions) |
BoundingBoxGUI |
newInstance(SpimData2 spimData,
List<ViewId> viewIdsToProcess) |
protected static long |
numPixels(long[] min,
long[] max,
int downsampling) |
boolean |
queryParameters(Fusion fusion,
ImgExport imgExport) |
boolean |
queryParameters(Fusion fusion,
ImgExport imgExport,
boolean allowModifyDimensions)
Query the necessary parameters for the bounding box
|
protected void |
setUpDefaultValues(int[] rangeMin,
int[] rangeMax)
populates this.min[] and this.max[] from the defaultMin and defaultMax
|
compareTo, dimension, dimensions, getMax, getMin, getTitle, max, max, max, min, min, min, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivepublic static int staticDownsampling
public static int[] defaultMin
public static int[] defaultMax
public static String[] pixelTypes
public static int defaultPixelType
protected int pixelType
public static String[] imgTypes
public static int defaultImgType
protected int imgtype
protected final List<ViewId> viewIdsToProcess
protected final SpimData2 spimData
protected int downsampling
protected boolean changedSpimDataObject
public BoundingBoxGUI(SpimData2 spimData, List<ViewId> viewIdsToProcess)
spimData - viewIdsToProcess - - which view ids to fusepublic BoundingBoxGUI(SpimData2 spimData, List<ViewId> viewIdsToProcess, BoundingBox bb)
public boolean queryParameters(Fusion fusion, ImgExport imgExport, boolean allowModifyDimensions)
fusion - - the fusion for which the bounding box is computed, can be nullimgExport - - the export module used, can be nullprotected GenericDialog getSimpleDialog(boolean compress, boolean allowModifyDimensions)
protected void setUpDefaultValues(int[] rangeMin,
int[] rangeMax)
rangeMin - - will be populated with the maximal dimension that all views spanrangeMax - - will be populated with the maximal dimension that all views spanpublic BoundingBoxGUI newInstance(SpimData2 spimData, List<ViewId> viewIdsToProcess)
spimData - viewIdsToProcess - - which view ids to fusepublic String getDescription()
public boolean cleanUp()
public int getDownSampling()
public int getPixelType()
public int getImgType()
public <T extends ComplexType<T> & NativeType<T>> ImgFactory<T> getImgFactory(T type)
public long[] getDimensions()
public static boolean computeMaxBoundingBoxDimensions(SpimData2 spimData, List<ViewId> viewIdsToProcess, double[] minBB, double[] maxBB)
spimData - viewIdsToProcess - minBB - maxBB - protected static long numPixels(long[] min,
long[] max,
int downsampling)
Copyright © 2015–2021 Fiji. All rights reserved.